/* =====================================================================
   Barekat landing page — plain CSS, mobile-first, RTL
   Breakpoints (Bootstrap 5): sm 576 · md 768 · lg 992 · xl 1200 · xxl 1400
   ===================================================================== */

/* ---------- Fonts ----------
   One variable file covers every weight (100–900) = a single request.
   To switch to Dana: add its @font-face rules and put "Dana" first in --font. */
@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;
}
/* Nastaliq is only used for the org links strip: load it only if installed locally (no 1MB download). */
@font-face {
  font-family: "Nastaliq";
  src: local("IranNastaliq"), local("IRANNastaliq");
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --font: "Vazirmatn", Tahoma, sans-serif;
  --c-primary: #016632;
  --c-accent: #fbbd4b;
  --c-text: #3d3d3d;
  --c-dark: #262626;
  --c-bg: #f5f5f5;
  --c-gray: #e3e3e3;
  --c-white: #fff;
  --c-navy: #09367c;
  --grad-gold: linear-gradient(179deg, rgba(255, 232, 190, 0) 18.52%, rgba(251, 189, 75, .42) 100.76%);
  --radius: 20px;
  --gutter: 12px;
  --container: 100vw; /* max width of .container incl. gutters (Bootstrap values) */
  --header-h: 72px;
}
@media (min-width: 576px)  { :root { --container: 540px; } }
@media (min-width: 768px)  { :root { --container: 720px; } }
@media (min-width: 992px)  { :root { --container: 960px; } }
@media (min-width: 1200px) { :root { --container: 1140px; } }
/* xxl: design width (1444 content + 2×12 gutters) */
@media (min-width: 1400px) { :root { --container: 1468px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-pinned, 110px) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.skip-link {
  position: absolute; top: -60px; right: 12px; z-index: 100;
  padding: 8px 16px; background: var(--c-primary); color: #fff; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.text-primary { color: var(--c-primary); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-accent { color: var(--c-accent); }

/* ---------- Shared UI ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 59px; padding: 0 19px 0 21px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 19px; letter-spacing: -.57px; line-height: 1;
  white-space: nowrap;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn img { flex: none; }
/* Bank buttons: icon on the right of the label (first in RTL) */
.btn--primary img, .btn--dark img, .btn--light img { order: -1; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--dark { background: var(--c-text); color: #fff; }
.btn--light { background: var(--c-gray); color: var(--c-text); }
.btn--lg { height: 60px; min-width: 206px; font-size: 20px; letter-spacing: -.6px; }
.btn--glass { background-image: var(--grad-gold); color: #fff; border-radius: 43px; font-family: var(--font); }

/* SVGs exported with drop shadows are larger than their visual box:
   negative margins bring the layout box back to the icon size. */
.i-globe { width: 42.14px; height: 42.2px; margin: -4.1px -9.07px -14.1px; }
.i-mobile-lg { width: 37.95px; height: 43.2px; margin: -2.6px -5.48px -12.6px; }
.i-mobile { width: 36.2px; height: 40.2px; margin: -3.1px -6.1px -13.1px; }
.i-caret-circle { width: 33.6px; height: 33.6px; margin: -.8px -4.8px -8.8px; }

.icon-circle {
  flex: none; display: inline-grid; place-items: center;
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--c-accent);
}
.icon-circle--sm { width: 35px; height: 35px; }
.glass-icon {
  display: grid; place-items: center;
  width: 45px; height: 45px; border-radius: 50%;
  background-image: var(--grad-gold);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chip {
  display: inline-block; padding: 5px 11px; border-radius: 12px;
  background-image: var(--grad-gold); font-size: 15px; line-height: 1.8;
}
.section-title {
  display: flex; align-items: center; gap: 25px;
  font-weight: 900; font-size: 24px; line-height: 1.6; color: var(--c-text);
}
.icon-btn { font-size: 30px; line-height: 1; width: 40px; height: 40px; }

/* =====================================================================
   HEADER
   ===================================================================== */
/* Sticky header: JS sets a negative `top` equal to the topbar height, so on scroll the
   topbar slides away and only the navbar stays pinned (no layout shift, no jump). */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: #fff; transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(20, 40, 25, .08); }
/* While the off-canvas menu is open, dim the header bar too (the drawer sits above this layer) */
body.nav-open .site-header::after {
  content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .4);
}

.topbar { display: none; }

.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h); padding-block: 8px;
}
.navbar__brand img { width: 40px; height: auto; }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
.navbar__actions .btn { height: 44px; padding: 0 12px; border-radius: 14px; font-size: 15px; min-width: 0; }
.navbar__actions .btn--lg { display: none; }

.nav-toggle {
  position: relative; width: 44px; height: 44px; border-radius: 14px; background: var(--c-bg);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; right: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--c-text);
  transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; right: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Off-canvas menu (< xl) */
.main-nav {
  position: fixed; inset: 0 0 0 auto; z-index: 50;
  width: min(320px, 86vw);
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 20px 24px;
  background: #fff; overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility 0s .3s;
}
.main-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
.main-nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--c-gray); }
.main-nav__phone { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 800; color: var(--c-primary); }
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .4); }
.nav-backdrop[hidden] { display: none; }
body.nav-open { overflow: hidden; }

.menu > .menu-item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--c-bg); }
.menu > .menu-item > a { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 16px; }
.menu-item__icon { width: auto; height: 15px; }
.submenu-toggle { display: grid; place-items: center; width: 40px; height: 40px; }
.submenu-toggle img { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] img { transform: rotate(180deg); }
.sub-menu { display: none; width: 100%; padding: 0 16px 8px 0; }
.sub-menu.is-open { display: block; }
.sub-menu a { display: block; padding: 6px 0; font-size: 14px; }
.sub-menu a:hover, .menu > .menu-item > a:hover { color: var(--c-primary); }

/* =====================================================================
   TICKER
   ===================================================================== */
.ticker {
  display: flex; align-items: center; gap: 12px;
  height: 39.4px; margin-top: 16px; padding-inline: 10px 16px;
  border-radius: 12px; background: var(--c-gray);
  font-size: 13px; letter-spacing: -.6px; overflow: hidden;
}
.ticker__title {
  flex: none; display: flex; align-items: center; gap: 6px; font-weight: 700;
  padding-left: 12px; border-left: 1px solid rgba(61, 61, 61, .4); line-height: 24px;
}
.ticker__viewport {
  flex: 1; min-width: 0; height: 24px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.ticker__track { display: flex; gap: 40px; width: max-content; }
.ticker__track li { position: relative; line-height: 24px; font-weight: 600; white-space: nowrap; }
.ticker__track li + li::before {
  content: ""; position: absolute; right: -23px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--c-accent);
}
.ticker__track a:hover { color: var(--c-primary); }
/* Continuous loop: JS doubles the items and sets --shift (one set width) & --duration */
.ticker__track.is-running { animation: ticker var(--duration, 30s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(var(--shift, 50%)); } }

/* =====================================================================
   HERO SLIDER
   ===================================================================== */
.hero { position: relative; margin-top: 16px; container-type: inline-size; overflow-x: clip; }
.hero__track {
  --slide: calc(min(var(--container), 100cqw) - 2 * var(--gutter));
  --side: calc((100cqw - var(--slide)) / 2);
  display: flex; gap: 12px;
  padding-inline: var(--side);
  scroll-padding-inline: var(--side);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hero__track::-webkit-scrollbar { display: none; }
/* Mouse-drag state for both carousels */
[data-carousel] { cursor: grab; }
[data-carousel] img { -webkit-user-drag: none; user-select: none; }
[data-carousel].no-snap { scroll-snap-type: none; scroll-behavior: auto; }
[data-carousel].no-fade > * { transition: none !important; }
[data-carousel].is-dragging { cursor: grabbing; user-select: none; }
[data-carousel].is-dragging a { pointer-events: none; }
.hero__slide {
  position: relative; flex: 0 0 var(--slide);
  display: flex; align-items: flex-end;
  min-height: 420px; border-radius: 25px; overflow: hidden;
  scroll-snap-align: center;
  background: #0f3a1f;
  transition: opacity .3s ease;
}
.hero__track.is-ready .hero__slide:not(.is-active) { opacity: .2; }
/* Before the script runs, show the same state it will set (first slide sharp, the rest faded) so nothing blinks on load */
.hero__track:not(.is-ready) > .hero__slide:not(:first-child) { opacity: .2; transition: none; }
.hero:not(.arrows-inside) .hero__arrow { visibility: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 74%; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(2, 49, 25, .9) 10%, rgba(2, 49, 25, .25) 75%);
}
.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 24px 20px 56px; color: #fff;
}
.hero__title { font-weight: 700; font-size: 26px; line-height: 1.4; letter-spacing: -1px; }
.hero__text { font-size: 14px; line-height: 1.75; letter-spacing: -.4px; max-width: 337px; text-align: justify; }
.hero__content .btn { height: 52px; font-size: 16px; }

.hero__arrow { display: none; }
@media (min-width: 992px) {
  /* --arrow-x is set by JS: centre of the visible peek, or 16px inside the slide when the peek is narrow */
  .hero__arrow {
    position: absolute; top: 50%; z-index: 3;
    display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
    border-radius: 50%; opacity: .85; transition: opacity .2s, background-color .2s;
  }
  .hero__arrow:hover { opacity: 1; }
  /* the SVG carries a 33px shadow margin: centre the whole image on the button so the arrow sits in the circle */
  .hero__arrow img {
    position: absolute; left: 50%; top: 50%;
    width: 96.4px; height: 97.4px; max-width: none;
    transform: translate(-50%, -50%);
  }
  .hero__arrow--prev { right: var(--arrow-x, 12px); }
  .hero__arrow--next { left: var(--arrow-x, 12px); }
  /* over the image: a soft glass circle keeps the arrow readable */
  .arrows-inside .hero__arrow {
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .arrows-inside .hero__arrow:hover { background: rgba(255, 255, 255, .26); }
  /* keep the slide text clear of the inner arrow */
  .arrows-inside .hero__content { padding-right: max(84px, 5.9%); }
}
.hero__notch {
  position: absolute; left: 50%; bottom: -35.5px; z-index: 2;
  width: 248.5px; height: 69.5px; transform: translateX(-50%);
}
/* The asset is drawn vertically (as in Figma, rotated 90°). */
.hero__notch img {
  position: absolute; left: 50%; top: 50%;
  width: 69.54px; height: 248.54px; max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
}

/* =====================================================================
   FACILITIES MAP
   ===================================================================== */
.facilities {
  display: flex; flex-direction: column; gap: 28px;
  margin-top: 72px;
}
/* Small screens: heading, text & stats first, then the interactive map */
.facilities__body { order: -1; }
.facilities__map {
  position: relative; width: 100%; max-width: 560px; margin-inline: auto;
  display: grid; gap: 14px; grid-template-areas: "picker" "canvas" "card";
}
.facilities__canvas { grid-area: canvas; position: relative; }
.facilities__svg { aspect-ratio: 644.478 / 583.931; }

/* Province picker: shown on small / touch screens where tapping tiny provinces is hard */
.province-picker { grid-area: picker; display: none; position: relative; }
.facilities__map.is-ready .province-picker { display: block; }
.province-picker select {
  width: 100%; height: 52px; padding: 0 18px 0 44px;
  border: 0; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(54, 54, 54, .06);
  font: inherit; font-weight: 700; font-size: 15px; color: var(--c-primary);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.province-picker::after {
  content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 6px; margin-top: -3px;
  background: url("../icons/angle-down.svg") no-repeat center / contain; pointer-events: none;
}
.province-picker select:focus-visible { outline: 2px solid var(--c-accent); }

/* md: map and card side by side under the picker */
@media (min-width: 768px) and (max-width: 991.98px) {
  .facilities__map {
    max-width: none; align-items: center; column-gap: 24px;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-areas: "picker picker" "canvas card";
  }
}
/* touch-only devices keep the picker even on large screens */
@media (min-width: 1200px) and (hover: none) {
  .facilities .facilities__map.is-ready .province-picker { display: block; margin-bottom: 14px; }
}
.facilities__svg > svg, .facilities__svg img { display: block; width: 100%; height: 100%; overflow: visible; }
.iran path {
  fill: #eaeaea; stroke: #fff; stroke-width: .93; stroke-linejoin: round;
  cursor: pointer; outline: none; transition: fill .2s;
}
.iran path:hover, .iran path:focus-visible { fill: #f6dca8; }
.iran path.is-active { fill: var(--c-accent); filter: drop-shadow(0 0 22px rgba(251, 189, 75, .9)); }
.facilities__dot {
  position: absolute; width: 25px; height: 25px; pointer-events: none;
  left: calc(40.79% - 12.5px); top: calc(34.22% - 12.5px);
}
/* movement is animated only after the first placement (no slide-in on page load) */
.facilities__map.is-animated .facilities__dot,
.facilities__map.is-animated .province-card { transition: left .35s ease, top .35s ease; }
.facilities__map:not(.is-ready) .facilities__dot { visibility: hidden; }
.province-card {
  grid-area: card; position: relative; z-index: 1;
  width: 100%; margin: 0;
  padding: 20px 19px 21px 22px;
  border-radius: 19.6px; background: #fff;
  box-shadow: 0 28.7px 39px rgba(54, 54, 54, .1);
}
.province-card__head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--c-primary); }
.province-card__pin { display: grid; place-items: center; width: 27.4px; height: 27.4px; border-radius: 50%; background: var(--c-primary); }
.province-card__list { display: grid; gap: 13px; margin-top: 10px; padding-right: 16px; }
.province-card__list div { position: relative; display: flex; justify-content: space-between; gap: 16px; line-height: 1.6; }
.province-card__list div::before {
  content: ""; position: absolute; right: -16px; top: 50%;
  width: 5.2px; height: 5.2px; margin-top: -2.6px; border-radius: 50%; background: #f2b94f;
}
.province-card__list dd { font-weight: 700; }

.facilities__body { display: flex; flex-direction: column; align-items: flex-start; }
.facilities__body .section-title { margin-top: 20px; }
.facilities__text { margin-top: 24px; text-align: justify; line-height: 1.91; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; width: 100%; margin-top: 30px; }
.stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 17px 18px 16px; border-radius: 14px; background: #fff; line-height: 1.91;
}
.stat__label { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.stat__label img { order: -1; }
.stat__value { font-weight: 700; font-size: 25px; line-height: 34px; color: var(--c-primary); }
.stat__unit { font-size: 12px; }

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.newsletter-row { display: flex; flex-direction: column; gap: 12px; margin-top: 72px; }
.newsletter {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 24px 16px; border-radius: var(--radius);
  background: rgba(1, 102, 50, .1);
  text-align: center;
}
.newsletter__phone {
  width: 120px; height: auto;
  filter: drop-shadow(0 4px 26px rgba(1, 102, 50, .22));
}
.newsletter__text { font-weight: 600; font-size: 18px; line-height: 1.5; }
.newsletter__text strong { font-weight: 900; }
.newsletter__form {
  display: flex; align-items: center; gap: 6px;
  width: 100%; max-width: 360px; height: 56px; padding-inline: 16px 8px;
  border-radius: 14px; background: #fff;
}
.newsletter__form label { flex: none; font-weight: 800; font-size: 16.5px; }
.newsletter__form input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none;
  font-size: 12px;
}
.newsletter__form input::placeholder { color: var(--c-text); opacity: 1; }
.newsletter__form:focus-within { box-shadow: 0 0 0 2px var(--c-accent); }
.newsletter__form button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; transform: scaleX(-1); }
.newsletter__form button:hover { background: var(--c-bg); }

.social-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.social-tiles a {
  display: grid; place-items: center;
  height: 64px; border-radius: var(--radius); background: #fff;
  transition: transform .2s;
}
.social-tiles a:hover { transform: translateY(-3px); }
.social-tiles img { max-width: 30px; height: auto; }

/* =====================================================================
   MULTIMEDIA
   ===================================================================== */
.media { margin-top: 72px; container-type: inline-size; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-head .section-title { font-weight: 800; }
.more-link { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.more-link img { transform: scaleX(-1); }
.more-link:hover { color: var(--c-primary); }

.media__viewport { position: relative; margin-top: 32px; }
.media__track {
  --wrap: calc(min(var(--container), 100cqw) - 2 * var(--gutter));
  --side: calc((100cqw - var(--wrap)) / 2);
  --per: 1.15;
  --gap: 12px;
  display: flex; gap: var(--gap);
  padding-inline: var(--side);
  scroll-padding-inline: var(--side);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.media__track::-webkit-scrollbar { display: none; }
.media-card {
  flex: 0 0 calc((var(--wrap) - (var(--per) - 1) * var(--gap)) / var(--per));
  min-width: 0; /* stop content from stretching the flex item past its basis */
  scroll-snap-align: start;
  transition: filter .45s ease, opacity .45s ease;
}
/* Cards peeking outside the container are blurred as a whole (as in the design) —
   JS marks the ones inside the container with .is-active */
.media__track.is-ready .media-card:not(.is-active) { filter: blur(9px); opacity: .8; }
.media-card a {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  aspect-ratio: 468 / 370; /* no min-height: it would widen the card through the ratio */
  padding: 26px 27px 26px 26px; border-radius: var(--radius); overflow: hidden;
  background: #d9d9d9; color: #fff;
}
.media-card__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-card a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(61, 61, 61, .02) 19.4%, rgba(43, 43, 43, .91) 100%);
}
.media-card a:hover .media-card__bg { transform: scale(1.04); }
.media-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.media-card__play { width: 56px; height: 56px; order: 2; }
.media-card__date {
  display: flex; align-items: center; gap: 7px;
  height: 48.5px; padding: 0 17px; border-radius: 12px;
  background: rgba(251, 189, 75, .38);
  -webkit-backdrop-filter: blur(10.5px); backdrop-filter: blur(10.5px);
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
.media-card__date img { order: -1; }
.media-card__title {
  padding-top: 15px; border-top: 1px solid var(--c-accent);
  font-weight: 600; font-size: 16px; line-height: 1.6; text-align: justify;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  margin-top: 80px; padding: 80px 0 66px;
  background: radial-gradient(50% 80px at 50% 0, rgba(1, 102, 50, .077), rgba(1, 102, 50, 0));
}
.footer-title { display: flex; align-items: center; gap: 13px; font-weight: 700; font-size: 20px; line-height: 2.02; }
.footer-title--sm { gap: 12px; }

.footer-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px;
  padding-bottom: 30px; border-bottom: 1px solid #dcdcdc;
}
.footer-about { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 18px; }
.footer-about p { line-height: 2.02; text-align: justify; }
.footer-about__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-logo { display: none; }
.footer-links ul { margin-top: 16px; }
.footer-links li { display: flex; align-items: center; gap: 12px; line-height: 2.34; }
.footer-links li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 6px; background: #c8c8c8; }
.footer-links li::after {
  content: ""; flex: none; order: 2; margin-right: auto;
  width: 6.66px; height: 10px; background: url("../icons/caret-small.svg") no-repeat center / contain;
}
.footer-links a:hover { color: var(--c-primary); }

.footer-bottom { display: grid; gap: 32px; padding-top: 30px; }
.footer-map__img { display: block; height: 131px; border-radius: 18px; overflow: hidden; background: #d9d9d9; }
.footer-map__img img { width: 100%; height: 100%; object-fit: cover; }
.footer-credit {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 14px; font-size: 15px; line-height: 2; color: var(--c-dark);
}
.footer-address address { margin-top: 4px; font-size: 18px; line-height: 1.93; }
.footer-socials { display: flex; gap: 17.78px; margin-top: 13px; direction: ltr; justify-content: flex-end; }
/* Footer social icons: one sprite (single request) sliced per icon */
.footer-socials a {
  display: block; width: 37.27px; height: 37.27px;
  background: url("../icons/f-socials.svg") no-repeat 0 0 / 294px 37.27px;
  transition: transform .2s;
}
.footer-socials a:hover { transform: translateY(-3px); }
.footer-socials .fs-linkedin { background-position: -55.06px 0; }
.footer-socials .fs-whatsapp { background-position: -110.11px 0; }
.footer-socials .fs-instagram { background-position: -165.17px 0; }
.footer-socials .fs-aparat { width: 30px; background-position: -220.22px 0; }
.footer-socials .fs-soroush { width: 26px; background-position: -268px 0; }

/* Design: icons in one straight column on the left, text starting right next to them */
.footer-contacts { display: grid; gap: 14px; justify-content: end; }
.footer-contacts li { display: grid; grid-template-columns: auto 47px; align-items: center; column-gap: 25px; }
.footer-contacts li > span:last-child {
  order: 1; display: flex; flex-direction: column; align-items: flex-end; /* = left edge in RTL */
  font-weight: 500; font-size: 15px; line-height: 1.75;
}
.footer-contacts a, .footer-contacts b { font-weight: 700; font-size: 18px; direction: ltr; unicode-bidi: isolate; }
.footer-contacts .contact-icon { order: 2; }
.contact-icon {
  order: 2; flex: none; display: grid; place-items: center;
  width: 47px; height: 47px; border-radius: 50%;
  background: rgba(251, 189, 75, .2);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}

.org-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px;
  margin-top: 40px; padding: 20px; border-radius: 28px; background: #eee;
  font-family: "Nastaliq", var(--font); font-weight: 700; font-size: 16px; line-height: 20px;
  color: var(--c-navy);
}
.org-links a:hover { text-decoration: underline; }

/* =====================================================================
   sm ≥ 576
   ===================================================================== */
@media (min-width: 576px) {
  .navbar__actions .btn--lg { display: inline-flex; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding-inline: 14px; }
  .stat__label { font-size: 11px; }
  .stat__value { font-size: 22px; }
  .media__track { --per: 2; --gap: 16px; }
  .hero__slide { min-height: 400px; }
  .hero__title { font-size: 30px; }
}

/* =====================================================================
   md ≥ 768
   ===================================================================== */
@media (min-width: 768px) {
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding-top: 16px;
  }
  .topbar__slogan { display: flex; align-items: center; gap: 8px; }
  .topbar__slogan strong { font-weight: 900; font-size: 15px; white-space: nowrap; }
  .topbar__welcome { display: none; margin-right: 19px; font-weight: 700; font-size: 12px; opacity: .45; white-space: nowrap; }
  .topbar__contact { display: flex; align-items: center; gap: 29px; }
  .topbar__support { display: flex; align-items: center; gap: 6px; font-size: 11.5px; white-space: nowrap; }
  .topbar__support img { order: -1; transform: rotate(-90deg); }
  .topbar__sep { width: 1px; height: 18px; background: #d9d9d9; }
  .topbar__phone { display: flex; align-items: center; gap: 7px; font-weight: 900; font-size: 16.5px; color: var(--c-primary); }
  .topbar__phone span { direction: ltr; unicode-bidi: isolate; }

  .hero__track { gap: 24px; }
  .hero__slide { align-items: center; min-height: 380px; }
  .hero__slide::after { background: linear-gradient(90deg, rgba(0, 56, 27, 0), rgba(2, 49, 25, .75)); }
  .hero__content { width: 70%; padding: 48px 48px 64px; gap: 20px; }
  .hero__title { font-size: 32px; }

  .newsletter {
    flex-direction: row; justify-content: space-between; gap: 24px;
    min-height: 138px; padding: 20px 28px 20px 32px; text-align: right;
  }
  .newsletter__phone { flex: none; width: 130px; margin-block: -45px; }
  .newsletter { flex-wrap: wrap; }
  .newsletter__text { flex: 1 1 260px; font-size: 17px; }
  .newsletter__form { flex: 1 1 280px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-map { grid-column: 1 / -1; }
  .org-links { padding: 24px 32px; font-size: 17px; }
}

/* =====================================================================
   lg ≥ 992
   ===================================================================== */
@media (min-width: 992px) {
  body { font-size: 15px; }
  .section-title { font-size: 28px; }
  .topbar__welcome { display: inline; }

  .hero__slide { min-height: 400px; }
  .hero__content { width: 60%; padding: 64px 64px 72px; }
  .hero__title { font-size: 36px; letter-spacing: -1.4px; }

  /* lg: text beside map; the card stays under the map (map is too small for an overlay) */
  .facilities { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; margin-top: 80px; }
  .facilities__body { order: 0; flex: 1 1 0; min-width: 0; }
  .facilities__map { flex: 0 0 48%; max-width: none; margin: 0; grid-template-areas: "picker" "canvas" "card"; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  /* lg–xl: tiles stay in a row under the box so the text keeps enough width */
  .newsletter-row { margin-top: 80px; }
  .newsletter__phone { width: 150px; }
  .social-tiles a { height: 72px; }

  .media { margin-top: 80px; }
  .media__track { --per: 3; --gap: 20px; }

  .footer-top { grid-template-columns: 1.4fr auto 1fr 1fr; align-items: start; gap: 48px; }
  .footer-about { grid-column: auto; }
  .footer-logo { display: block; width: 110px; }
  .footer-bottom { grid-template-columns: 1.2fr 1fr auto; gap: 48px; }
  .footer-map { grid-column: auto; }
}

/* =====================================================================
   xl ≥ 1200 — full desktop navigation
   ===================================================================== */
@media (min-width: 1200px) {
  :root { --header-h: 70px; }
  .site-header { padding-bottom: 24px; } /* design: 45px — the 21px moved to the ticker so the pinned bar stays slim */
  .topbar { padding-top: 45px; }
  .topbar__slogan strong { font-size: 16.5px; }
  .navbar { margin-top: 15px; padding: 0; gap: 24px; }
  .navbar__brand img { width: 50px; }
  .navbar__brand { order: 0; margin-left: 30px; }
  .main-nav { order: 1; margin-left: auto; }
  .navbar__actions { order: 2; }
  .navbar__actions .btn { height: 59px; padding: 0 19px 0 21px; border-radius: var(--radius); font-size: 19px; }
  .navbar__actions .btn--lg { height: 60px; min-width: 206px; font-size: 20px; }
  .nav-toggle, .main-nav__head, .main-nav__phone, .nav-backdrop { display: none !important; }

  .main-nav {
    position: static; width: auto; padding: 0; overflow: visible; background: none;
    transform: none; visibility: visible; transition: none;
  }
  .menu { display: flex; align-items: center; }
  .menu > .menu-item {
    flex-wrap: nowrap; border: 0; padding-inline: 20px;
    height: 50px; align-items: flex-end;
  }
  .menu > .menu-item + .menu-item::before {
    content: ""; position: absolute; right: 0; top: 2px; width: 1px; height: 46px; background: #e6e6e6;
  }
  .menu > .menu-item > a { position: static; padding: 0; font-size: 16.5px; line-height: 25px; white-space: nowrap; }
  .menu > .menu-item:first-child { padding-right: 0; }
  .menu > .menu-item:last-child { padding-left: 0; }
  .menu-item__icon { position: absolute; top: 2px; right: 20px; }
  .menu > .menu-item:first-child .menu-item__icon { right: auto; left: 50%; transform: translateX(-50%); top: 0; height: 19px; }
  .submenu-toggle { position: absolute; top: 0; left: 20px; width: 10px; height: 16px; place-items: start; pointer-events: none; }
  .menu > .menu-item:last-child .submenu-toggle { left: 0; }
  .menu > .menu-item > a:hover, .current-menu-item > a { color: var(--c-primary); }

  .sub-menu {
    position: absolute; top: calc(100% + 12px); right: 8px; z-index: 10;
    display: block; width: max-content; min-width: 190px; padding: 10px;
    border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s;
  }
  .sub-menu a { padding: 8px 12px; border-radius: 10px; font-size: 15px; }
  .sub-menu a:hover { background: var(--c-bg); }

  .ticker { margin-top: 38px; padding-inline: 10px 9px; font-size: 15px; }
  .ticker__title { padding-left: 18px; }

  .hero { margin-top: 24px; }
  .hero__track { gap: 36px; }
  .hero__slide { min-height: 429px; height: 429px; }
  .hero__content { width: auto; max-width: 820px; padding: 83px 85px; gap: 27px; }
  .hero__text { max-width: 337px; }
  .hero__title { font-size: 40px; letter-spacing: -1.6px; }
  .hero__text { font-size: 15px; letter-spacing: -.6px; }
  .hero__title + .hero__text { margin-top: -27px; }
  .hero__content .btn { height: 59.2px; font-size: 18.9px; }


  .section-title { font-size: 30px; }
  .stat { padding: 17px 18px 16px; }
  .stat__label { font-size: 12px; }
  .stat__value { font-size: 25px; }

  /* xl+: the card floats on the map next to the selected province (positioned by JS) */
  .facilities__map { flex: 0 1 600px; display: block; }
  .facilities__map.is-ready .province-picker { display: none; }
  .province-card {
    position: absolute; left: 15.54%; top: 37.43%; width: 325px;
    pointer-events: none; /* never blocks hovering the provinces underneath */
  }

  .newsletter__text { font-size: 20px; line-height: 1.145; }
  .newsletter { flex-wrap: nowrap; }
  .newsletter__form { flex: 0 0 331px; }
  .newsletter__phone { width: 172px; margin-block: -33px; }

  .media-card__play { width: 71px; height: 71px; }
  .media-card__title { font-size: 18px; }

  .org-links { justify-content: space-between; flex-wrap: nowrap; height: 91px; align-items: center; padding: 0 21px 0 16px; font-size: 15px; white-space: nowrap; }
}

/* =====================================================================
   xxl ≥ 1400 — design size (1444px content)
   ===================================================================== */
@media (min-width: 1400px) {
  .navbar__brand { margin-left: 43px; }
  .menu > .menu-item { padding-inline: 26px; }
  .menu-item__icon { right: 26px; }
  .submenu-toggle { left: 26px; }

  .facilities { margin-top: 115px; gap: 95px; justify-content: flex-start; }
  .facilities__map { flex: 0 0 644px; }
  .facilities__body { flex: 0 0 590px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .facilities__text { margin-top: 30px; }

  /* xxl: design layout — box and the six tall tiles side by side */
  .newsletter-row { flex-direction: row; align-items: stretch; margin-top: 80px; gap: 9.6px; }
  .newsletter { flex: 1; }
  .social-tiles { grid-template-columns: repeat(6, 65px); gap: 8.3px; }
  .social-tiles a { height: 100%; min-height: 138px; }
  .newsletter { padding-right: 200px; padding-left: 45px; }
  .newsletter__phone { position: absolute; right: 28px; top: -33px; margin: 0; }
  .newsletter__text { text-align: center; }
  .media__track { --gap: 20px; }

  .footer-top { grid-template-columns: 526px 136px 192px 192px; justify-content: space-between; gap: 0; }
  .footer-logo { width: 136px; }
  .footer-bottom { grid-template-columns: 546px 217px 262px; justify-content: space-between; gap: 0; }
  .footer-credit { justify-content: flex-start; gap: 126px; }
  .org-links { margin-top: 50px; font-size: 18px; }
}

/* =====================================================================
   INNER PAGES — shared components
   (page hero, cards, news, article, gallery, services, tenders, contact, FAQ)
   ===================================================================== */

/* ---------- Page hero (banner + breadcrumb) ---------- */
.page-hero { margin-top: 16px; }
.page-hero__box {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  min-height: 220px; padding: 36px 22px 52px;
  border-radius: 25px; color: #fff;
  background: #0f3a1f url("../img/hero-800.jpg") no-repeat 22% 70% / cover;
}
.page-hero__box::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(251, 189, 75, .22), transparent 60%),
    linear-gradient(270deg, rgba(2, 49, 25, .96) 0%, rgba(2, 49, 25, .86) 45%, rgba(0, 56, 27, .45) 100%);
}
.page-hero__title { font-weight: 800; font-size: 26px; line-height: 1.45; letter-spacing: -.6px; }
.page-hero__title span { color: var(--c-accent); }
.page-hero__lead { max-width: 560px; font-size: 14px; line-height: 1.9; opacity: .9; }
.page-hero__notch {
  position: absolute; left: 50%; bottom: -35.5px; width: 248.5px; height: 69.5px; transform: translateX(-50%);
}
.page-hero__notch img {
  position: absolute; left: 50%; top: 50%; width: 69.54px; height: 248.54px; max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); }
.breadcrumb a { opacity: .8; transition: opacity .2s; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb [aria-current] { color: var(--c-accent); font-weight: 700; }

/* ---------- Generic blocks ---------- */
.page-body { margin-top: 56px; }
.section { margin-top: 64px; }
.section-head--center { flex-direction: column; text-align: center; }
.section-head--center .section-title { justify-content: center; }
.section-sub { max-width: 640px; margin: 8px auto 0; font-size: 14px; opacity: .8; text-align: center; }
.card { padding: 24px 20px; border-radius: var(--radius); background: #fff; }
.prose { line-height: 2.15; text-align: justify; }
.prose p + p { margin-top: 14px; }
.prose h2 { margin: 28px 0 10px; font-weight: 800; font-size: 20px; }
.prose strong { color: var(--c-primary); }
.lead-text { font-weight: 600; font-size: 17px; line-height: 2; color: var(--c-primary); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 10px;
  background-image: var(--grad-gold); font-size: 13px; font-weight: 600; line-height: 1.8; color: var(--c-text);
}
.btn--outline { border: 1.5px solid var(--c-primary); color: var(--c-primary); background: #fff; }
.btn--sm { height: 46px; padding: 0 18px; border-radius: 14px; font-size: 15px; letter-spacing: 0; }
.btn--gold { background: var(--c-accent); color: var(--c-dark); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-primary); }
.link-arrow::after {
  content: ""; width: 7px; height: 10px; transform: scaleX(-1);
  background: url("../icons/caret-small.svg") no-repeat center / contain; transition: transform .2s;
}
.link-arrow:hover::after { transform: scaleX(-1) translateX(3px); }

/* ---------- About ---------- */
.about-intro { display: grid; gap: 20px; }
.facts {
  display: grid; gap: 16px; align-content: start; padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, #016632, #014a25); color: #fff;
}
.facts__logo { width: 72px; margin-bottom: 4px; filter: brightness(0) invert(1); opacity: .95; }
.facts dl { display: grid; gap: 14px; }
.facts dl div { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.facts dl div:last-child { padding-bottom: 0; border: 0; }
.facts dt { font-size: 13px; opacity: .75; }
.facts dd { font-weight: 700; font-size: 16px; color: var(--c-accent); }

.feature-grid { display: grid; gap: 14px; margin-top: 28px; }
.feature {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px; border-radius: var(--radius); background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(1, 102, 50, .08); }
.feature h3 { font-weight: 800; font-size: 17px; }
.feature p { font-size: 14px; line-height: 1.9; opacity: .85; }
.feature__num { position: absolute; left: 20px; top: 16px; font-weight: 900; font-size: 34px; color: rgba(1, 102, 50, .07); }

.steps { display: grid; gap: 14px; margin-top: 28px; counter-reset: step; }
.step {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 18px; border-radius: var(--radius); background: #fff;
}
.step__no {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: rgba(1, 102, 50, .08); font-weight: 900; font-size: 20px; color: var(--c-primary);
}
.step h3 { font-weight: 800; font-size: 16px; }
.step p { font-size: 13px; opacity: .75; line-height: 1.8; }

.quote {
  position: relative; overflow: hidden; padding: 32px 24px; border-radius: 25px;
  background: linear-gradient(135deg, #016632 0%, #01451f 100%); color: #fff;
}
.quote::before {
  content: "”"; position: absolute; left: 24px; top: -10px; font-size: 160px; line-height: 1; font-family: Georgia, serif;
  color: rgba(251, 189, 75, .18); font-weight: 900;
}
.quote p { position: relative; font-weight: 600; font-size: 17px; line-height: 2.1; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; color: var(--c-accent); }

.cta-band {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 28px 24px; border-radius: var(--radius); background: rgba(1, 102, 50, .1);
}
.cta-band h2 { font-weight: 900; font-size: 20px; line-height: 1.6; }
.cta-band p { font-size: 14px; opacity: .8; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Toolbar / search ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.search {
  position: relative; display: flex; align-items: center; width: 100%; max-width: 380px; height: 52px;
  border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(54, 54, 54, .05);
}
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 18px 0 48px; border: 0; outline: 0; background: none; font-size: 14px; }
.search::after {
  content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 2px solid var(--c-primary); box-shadow: 6px 6px 0 -4px var(--c-primary);
}
.search:focus-within { box-shadow: 0 0 0 2px var(--c-accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  height: 40px; padding: 0 16px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600;
  transition: background-color .2s, color .2s;
}
.chip-btn:hover { color: var(--c-primary); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-selected="true"] { background: var(--c-primary); color: #fff; }
.no-results { display: none; padding: 40px 0; text-align: center; opacity: .7; }
.no-results.is-visible { display: block; }

/* ---------- News list ---------- */
.news-grid { display: grid; gap: 20px; margin-top: 24px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(54, 54, 54, .08); }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e9e9; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__date {
  position: absolute; right: 14px; top: 14px; display: flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 600;
  background: rgba(251, 189, 75, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.news-card__date img { width: 18px; height: 18px; }
.news-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.news-card__kicker { font-size: 12px; font-weight: 700; color: var(--c-primary); }
.news-card__title { font-weight: 800; font-size: 17px; line-height: 1.7; }
.news-card__title a:hover { color: var(--c-primary); }
.news-card__excerpt { font-size: 14px; line-height: 1.9; opacity: .8; }
.news-card .link-arrow { margin-top: auto; padding-top: 6px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  border-radius: 12px; background: #fff; font-weight: 700;
}
.pagination [aria-current] { background: var(--c-primary); color: #fff; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- Article (single news) ---------- */
.article-layout { display: grid; gap: 24px; }
.article { padding: 22px 18px; border-radius: var(--radius); background: #fff; }
.article__kicker { font-weight: 700; font-size: 14px; color: var(--c-primary); }
.article__title { margin-top: 6px; font-weight: 900; font-size: 24px; line-height: 1.6; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; opacity: .75; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.article__figure { margin: 20px 0 0; overflow: hidden; border-radius: 16px; background: #eee; }
.article__figure img { width: 100%; max-height: 480px; object-fit: cover; }
.article__lead {
  margin-top: 20px; padding: 14px 18px; border-right: 4px solid var(--c-accent); border-radius: 12px;
  background: rgba(251, 189, 75, .1); font-weight: 600; line-height: 2;
}
.article .prose { margin-top: 18px; }
.article__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid #eee;
}
.share { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.share a, .share button {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-bg);
  transition: background-color .2s;
}
.share a:hover, .share button:hover { background: rgba(251, 189, 75, .3); }
.share img { width: 22px; height: 22px; }
.share .copy-done { background: rgba(1, 102, 50, .15); }
.post-nav { display: grid; gap: 12px; margin-top: 20px; }
.post-nav a { display: block; padding: 16px 18px; border-radius: 16px; background: #fff; transition: box-shadow .2s; }
.post-nav a:hover { box-shadow: 0 10px 30px rgba(54, 54, 54, .08); }
.post-nav small { display: block; font-size: 12px; opacity: .6; }
.post-nav strong { font-weight: 700; font-size: 15px; }

.sidebar { display: grid; gap: 20px; align-content: start; }
.widget { padding: 20px; border-radius: var(--radius); background: #fff; }
.widget__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 800; font-size: 17px; }
.widget__title::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--c-accent); }
.side-news { display: grid; gap: 14px; }
.side-news a { display: flex; align-items: center; gap: 12px; }
.side-news img { flex: none; width: 76px; height: 60px; border-radius: 12px; object-fit: cover; }
.side-news strong { display: block; font-weight: 700; font-size: 14px; line-height: 1.7; }
.side-news small { font-size: 12px; opacity: .6; }
.side-news a:hover strong { color: var(--c-primary); }
.widget--cta { background: linear-gradient(160deg, #016632, #014a25); color: #fff; }
.widget--cta p { font-size: 14px; line-height: 1.9; opacity: .9; }
.widget--cta .btn { margin-top: 14px; width: 100%; }

/* ---------- Gallery + lightbox ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.gallery-item {
  position: relative; overflow: hidden; display: block; width: 100%; margin: 0; aspect-ratio: 4 / 3;
  border-radius: 18px; background: #e5e5e5; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 30, 20, .75)); opacity: .9; transition: opacity .3s;
}
.gallery-item figcaption {
  position: absolute; right: 14px; left: 14px; bottom: 12px; z-index: 1;
  font-weight: 700; font-size: 13px; line-height: 1.7; color: #fff; text-align: right;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 60px 12px;
  background: rgba(10, 18, 12, .92); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: 14px; }
.lightbox figcaption { margin-top: 14px; color: #fff; font-size: 14px; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; transition: background-color .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox [data-lb-close] { top: 16px; left: 16px; }
.lightbox [data-lb-prev] { right: 16px; top: 50%; margin-top: -24px; }
.lightbox [data-lb-next] { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; top: 26px; right: 24px; color: #fff; font-size: 13px; opacity: .7; }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 16px; margin-top: 28px; }
.service-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px; border-radius: 22px; background: #fff; transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(1, 102, 50, .1); }
.service-card::after {
  content: ""; position: absolute; left: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: rgba(251, 189, 75, .12);
}
.service-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgba(1, 102, 50, .08); }
.service-card h3 { font-weight: 900; font-size: 19px; }
.service-card p { font-size: 14px; line-height: 1.95; opacity: .85; }
.service-card .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }
.service-card--featured { background: linear-gradient(160deg, #016632, #014a25); color: #fff; }
.service-card--featured .service-card__icon { background: rgba(255, 255, 255, .12); }
.service-card--featured::after { background: rgba(251, 189, 75, .18); }

.split { display: grid; gap: 20px; }
.checklist { display: grid; gap: 12px; margin-top: 16px; }
.checklist li { position: relative; padding: 12px 46px 12px 14px; border-radius: 14px; background: var(--c-bg); line-height: 1.8; }
.checklist li::before {
  content: ""; position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%;
}
.note {
  display: flex; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  background: rgba(251, 189, 75, .14); font-size: 14px; line-height: 1.9;
}
.note strong { flex: none; color: #b07a12; }
.platforms { display: grid; gap: 12px; margin-top: 16px; }
.platform { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: var(--c-bg); }
.platform__tag {
  flex: none; display: grid; place-items: center; height: 32px; padding: 0 12px; border-radius: 10px;
  background: var(--c-dark); color: #fff; font-size: 12px; font-weight: 700; direction: ltr;
}
.platform p { font-size: 14px; line-height: 1.9; }

/* ---------- Tabs + empty state (tenders) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 16px; background: #fff; width: fit-content; max-width: 100%; }
.tabs .chip-btn { background: transparent; }
.tabs .chip-btn[aria-selected="true"] { background: var(--c-primary); color: #fff; }
.tab-panel[hidden] { display: none; }
.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px;
  padding: 48px 20px; border: 2px dashed #dcdcdc; border-radius: 22px; background: #fff; text-align: center;
}
.empty-state__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: rgba(251, 189, 75, .18); }
.empty-state h3 { font-weight: 800; font-size: 18px; }
.empty-state p { max-width: 460px; font-size: 14px; line-height: 1.9; opacity: .75; }
.tender-row {
  display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px; background: #fff;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; border-radius: 20px; background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(54, 54, 54, .07); }
.contact-card .contact-icon { order: 0; }
.contact-card small { font-size: 13px; opacity: .7; }
.contact-card strong { font-weight: 800; font-size: 16px; line-height: 1.7; }
.contact-card--wide { grid-column: 1 / -1; }
.map-box { position: relative; overflow: hidden; border-radius: 22px; background: #ddd; min-height: 240px; }
.map-box img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.map-box__frame { display: block; width: 100%; height: 320px; border: 0; }
.map-box__actions { position: absolute; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.map-box__actions .btn { box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }

.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid #e6e6e6; border-radius: 14px;
  background: #fff; font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.9; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("../icons/angle-down.svg") no-repeat 16px center / 10px 6px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(1, 102, 50, .12); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d64545; }
.field__error { display: none; font-size: 12px; color: #d64545; }
.field.has-error .field__error { display: block; }
.form-success {
  display: none; padding: 14px 16px; border-radius: 14px; background: rgba(1, 102, 50, .1);
  color: var(--c-primary); font-weight: 700;
}
.form-success.is-visible { display: block; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 22px; }
.faq-item { border-radius: 18px; background: #fff; transition: box-shadow .25s; }
.faq-item[open] { box-shadow: 0 16px 40px rgba(1, 102, 50, .08); }
.faq-item summary {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 56px;
  font-weight: 800; font-size: 15px; line-height: 1.8; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "؟"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: rgba(251, 189, 75, .25); color: #b07a12; font-weight: 900;
}
.faq-item summary::after {
  content: ""; position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--c-bg) url("../icons/angle-down.svg") no-repeat center / 10px 6px; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--c-primary); }
.faq-item__body { padding: 0 66px 20px 20px; line-height: 2.1; font-size: 14px; }
.faq-item__body ol { padding-right: 18px; list-style: persian; }
.faq-item__body li + li { margin-top: 4px; }
.faq-item__body .note { margin-top: 10px; }
.faq-item[hidden] { display: none; }

.video-grid { display: grid; gap: 16px; margin-top: 24px; }
.video-card { overflow: hidden; border-radius: 22px; background: #fff; }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; background: #0c2416; }
.video-card__frame video { width: 100%; height: 100%; object-fit: cover; }
.video-card__poster {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%; color: #fff;
  background: linear-gradient(160deg, rgba(1, 102, 50, .55), rgba(10, 30, 18, .85)), url("../img/media-480.jpg") center / cover;
}
.video-card__poster img { width: 71px; height: 71px; transition: transform .25s; }
.video-card__poster:hover img { transform: scale(1.08); }
.video-card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.video-card h3 { font-weight: 800; font-size: 16px; }
.video-card small { font-size: 12px; opacity: .65; }

.download-card {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 22px;
  background: linear-gradient(160deg, #fff7e6, #fff); border: 1.5px solid rgba(251, 189, 75, .45);
}
.download-card__icon {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--c-accent); font-weight: 900; font-size: 13px; color: var(--c-dark); direction: ltr;
}
.download-card h3 { font-weight: 800; font-size: 16px; }
.download-card p { font-size: 13px; opacity: .75; }
.download-card .btn { margin-right: auto; flex: none; }

/* ---------- Inner pages: sm ≥ 576 ---------- */
@media (min-width: 576px) {
  .page-hero__box { padding: 40px 32px 56px; }
  .page-hero__title { font-size: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 30px 28px; }
  .article { padding: 30px 28px; }
}

/* ---------- md ≥ 768 ---------- */
@media (min-width: 768px) {
  .page-hero__box { min-height: 260px; padding: 48px 48px 64px; }
  .page-hero__title { font-size: 34px; }
  .page-hero__lead { font-size: 15px; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 36px; }
  .quote { padding: 44px 48px; }
  .quote p { font-size: 20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .post-nav { grid-template-columns: repeat(2, 1fr); }
  .post-nav a:last-child { text-align: left; }
  .news-card--featured { grid-column: 1 / -1; flex-direction: row; }
  .news-card--featured .news-card__media { flex: 0 0 52%; aspect-ratio: auto; min-height: 320px; }
  .news-card--featured .news-card__body { justify-content: center; padding: 32px; }
  .news-card--featured .news-card__title { font-size: 22px; }
  .news-card--featured .news-card__excerpt { font-size: 15px; }
  .news-card--featured .link-arrow { margin-top: 10px; }
}

/* ---------- lg ≥ 992 ---------- */
@media (min-width: 992px) {
  .page-hero__box { min-height: 300px; padding: 56px 64px 72px; background-image: url("../img/hero-1600.jpg"); }
  .page-hero__title { font-size: 40px; letter-spacing: -1.2px; }
  .page-body { margin-top: 72px; }
  .section { margin-top: 88px; }
  .about-intro { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 24px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: -14px; top: 48px; width: 14px; height: 2px; background: var(--c-accent);
  }
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 28px; }
  .article { padding: 40px 44px; }
  .article__title { font-size: 30px; }
  .sidebar { position: sticky; top: calc(var(--header-pinned, 110px) + 20px); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
  .faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  .faq-layout .sidebar { position: sticky; top: calc(var(--header-pinned, 110px) + 20px); }
}
@media (max-width: 991.98px) {
  .contact-layout > * + * { margin-top: 20px; }
  .faq-layout .sidebar { margin-top: 24px; }
}

/* ---------- Multimedia: archive grid, album badge, single video ---------- */
.media-grid { display: grid; gap: 20px; margin-top: 24px; }
.media-grid .media-card[hidden] { display: none; }
.media-card__album {
  order: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 71px; height: 71px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.media-card__album img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.media-card__album small { font-size: 10px; font-weight: 700; line-height: 1.2; }
span.media-card__date { padding-inline: 14px; }
.media-single__body { margin-top: 20px; }
.video-player { overflow: hidden; border-radius: 18px; }
.gallery-grid--album { margin-top: 0; grid-template-columns: repeat(2, 1fr); }
.gallery-grid--album .gallery-item--wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
@media (min-width: 576px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .media-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Mobile bottom bar (< 992px) ---------- */
.mobile-nav {
  position: fixed; right: 10px; left: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: flex; align-items: flex-end; height: 66px; padding: 0 6px 9px;
  border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(20, 40, 25, .14);
}
.mobile-nav a {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600; line-height: 1.2; color: var(--c-text); white-space: nowrap;
  -webkit-tap-highlight-color: transparent; transition: color .2s;
}
.mobile-nav a:active, .mobile-nav a:hover { color: var(--c-primary); }
.mobile-nav svg { width: 23px; height: 23px; }
.mobile-nav__home { flex: 0 0 74px !important; color: var(--c-primary) !important; font-weight: 800 !important; }
.mobile-nav__bubble {
  display: grid; place-items: center; width: 58px; height: 58px; margin-top: -34px; border-radius: 50%;
  background: var(--c-primary); color: #fff; border: 5px solid var(--c-bg);
  box-shadow: 0 10px 22px rgba(1, 102, 50, .35);
}
.mobile-nav__bubble svg { width: 24px; height: 24px; }
body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 992px) {
  .mobile-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Comments (single article) ---------- */
.comments { margin-top: 24px; padding: 24px 20px; border-radius: var(--radius); background: #fff; }
.comments__title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.comments__empty {
  margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--c-bg);
  font-size: 14px; opacity: .8;
}
.comments__empty[hidden] { display: none; }
.comment-list { display: grid; gap: 14px; margin-top: 18px; padding: 0; list-style: none; }
.comment-list .children { margin: 14px 28px 0 0; display: grid; gap: 14px; } /* WP nested replies */
.comment-body { padding: 16px 18px; border-radius: 16px; background: var(--c-bg); }
.comment-meta { display: flex; align-items: center; gap: 12px; }
.comment-meta > div { display: flex; flex-direction: column; flex: 1; }
.comment-avatar {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: rgba(1, 102, 50, .12); color: var(--c-primary); font-weight: 900; font-size: 17px;
}
.comment-author { font-weight: 800; font-size: 15px; }
.comment-date { font-size: 12px; opacity: .6; }
.comment-content { margin-top: 10px; font-size: 14px; line-height: 2; }
.comment.is-pending .comment-body { border: 1.5px dashed rgba(251, 189, 75, .8); background: #fffaf0; }
.comment-form { margin-top: 24px; padding-top: 22px; border-top: 1px solid #eee; }
.comment-form__title { font-weight: 800; font-size: 17px; }
.comment-form__note { margin-top: 4px; font-size: 13px; opacity: .7; }
.comment-form__actions { display: flex; justify-content: flex-end; }
@media (min-width: 992px) { .comments { padding: 32px 36px; } }

/* ---------- Bank button icon animations ---------- */
/* Internet bank: the globe turns on its vertical axis (rotateY keeps the drop shadow underneath) */
.i-globe { animation: globe-turn 4.5s linear infinite; transform-origin: 50% 16px; }
.btn:hover .i-globe { animation-duration: 1.4s; }
@keyframes globe-turn { to { transform: rotateY(360deg); } }
/* Mobile bank: the phone "rings" with a short shake every few seconds */
.i-mobile-lg, .i-mobile { animation: phone-ring 3.2s ease-in-out infinite; transform-origin: 50% 16px; }
.btn:hover .i-mobile-lg, .btn:hover .i-mobile { animation-duration: 1.1s; }
@keyframes phone-ring {
  0%, 68%, 100% { transform: rotate(0); }
  72% { transform: rotate(-14deg); }
  76% { transform: rotate(13deg); }
  80% { transform: rotate(-10deg); }
  84% { transform: rotate(8deg); }
  88% { transform: rotate(-4deg); }
  92% { transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .i-globe, .i-mobile-lg, .i-mobile { animation: none; }
}

/* ---------- WordPress content & core classes ---------- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.about-content > p:first-of-type { font-weight: 600; font-size: 17px; line-height: 2; color: var(--c-primary); }
.prose img, .prose figure { max-width: 100%; height: auto; border-radius: 14px; }
.prose figure { margin: 18px 0; }
.prose figcaption, .wp-caption-text { margin-top: 6px; font-size: 13px; opacity: .7; text-align: center; }
.prose ul, .prose ol { padding-right: 22px; }
.prose ul { list-style: disc; }
.prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 18px 0; padding: 14px 18px; border-right: 4px solid var(--c-accent); border-radius: 12px; background: rgba(251, 189, 75, .1); }
.alignright { float: right; margin: 0 0 12px 18px; }
.alignleft { float: left; margin: 0 18px 12px 0; }
.aligncenter { display: block; margin-inline: auto; }
.newsletter .form-success { flex-basis: 100%; text-align: center; }
.comment-reply a { color: var(--c-primary); }
.comment-respond { margin-top: 24px; padding-top: 22px; border-top: 1px solid #eee; }
.comment-respond .comment-form { margin-top: 14px; padding-top: 0; border-top: 0; }
.comment-reply-title small { margin-right: 10px; font-size: 13px; }
.comment-reply-title small a { color: #d64545; }
.comment-list .comment-respond { margin-right: 28px; }
.pagination .page-numbers.dots { background: none; }
.wp-block-image img { height: auto; }

/* Hero: image-only banners («فقط تصویر») — the whole banner, text included, is the picture, never cropped */
.hero__slide--image { display: block; min-height: 0; height: auto; aspect-ratio: var(--ar-m); background: #e9efe9; }
.hero__slide--image::after { display: none; }
.hero__slide--image picture { display: contents; }
.hero__slide--image .hero__bg { object-fit: cover; } /* the box already has the image ratio, so nothing is cut */
@media (min-width: 768px) {
  .hero__slide--image { aspect-ratio: var(--ar); }
}
@media (min-width: 1400px) {
  .hero__slide--image { min-height: 0; height: auto; }
}
.menu-item__icon--custom { width: 18px; height: 18px; object-fit: contain; }
body.no-mobile-nav { padding-bottom: 0; }
/* Footer placeholders for switched-off blocks keep the desktop grid columns in place */
.footer-top > div[aria-hidden="true"]:empty, .footer-bottom > div[aria-hidden="true"]:empty { display: none; }
@media (min-width: 992px) {
  .footer-top > div[aria-hidden="true"]:empty, .footer-bottom > div[aria-hidden="true"]:empty { display: block; }
}
.footer-map__embed iframe { display: block; width: 100%; height: 100%; border: 0; }
