/* ==========================================================================
   Crane Sanat — main.css
   Design tokens, typography, layout, header, hero, sections, footer
   ========================================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-900: #071426;
  --navy-800: #0B1F35;
  --navy-700: #173B5E;
  --navy-600: #1E4B75;
  --blue: #2684FF;
  --blue-dark: #0F6BE0;
  --orange: #FF8A24;
  --orange-soft: #FFF1E3;
  --off-white: #F5F7FA;
  --white: #FFFFFF;
  --steel: #7B8794;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --green: #16865B;
  --green-soft: #E7F6EF;
  --violet: #6B5CE0;
  --violet-soft: #EFEDFC;
  --ink: #0A1A2B;
  --muted: #5B6B7C;
  --muted-dark: #9DB0C4;
  --line-dark: rgba(255, 255, 255, 0.14);
  --surface-dark: #0A1B2E;

  --font: 'Vazirmatn', Tahoma, Arial, sans-serif;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 78px;

  --shadow-sm: 0 1px 2px rgba(7, 20, 38, 0.06);
  --shadow-md: 0 14px 34px -18px rgba(7, 20, 38, 0.35);
  --shadow-lg: 0 30px 70px -30px rgba(7, 20, 38, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1280px;
  --section-y: clamp(64px, 8vw, 112px);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: anywhere;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

[hidden] { display: none !important; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: inherit;
}

h1, .hero h1, #heroTitle {
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-weight: 600;
  line-height: 1.35;
}

h3 {
  font-weight: 600;
  line-height: 1.45;
}

h4, h5, h6 {
  font-weight: 600;
  line-height: 1.5;
}

strong, b {
  font-weight: 600;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

::selection { background: var(--orange); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--orange);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- Typography helpers ---------- */
.display {
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.display--md { font-size: clamp(1.85rem, 3.6vw, 3rem); }
.accent { color: var(--orange); }
.accent-blue { color: var(--blue); }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.95;
  color: var(--muted);
  max-width: 62ch;
}
.on-dark .lead, .lead--on-dark { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--orange);
}
.eyebrow--on-dark { color: #B9C7D6; }

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.tech-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 980px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--off { background: var(--off-white); }
.section--dark {
  background: var(--navy-900);
  color: #EAF1F8;
}
.section--navy-800 { background: var(--navy-800); color: #EAF1F8; }
.section--line { border-top: 1px solid var(--border); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head__main { max-width: 720px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  margin-top: 14px;
  line-height: 1.3;
}
.section-head p { margin-top: 12px; }
.section-head__aside { flex-shrink: 0; padding-bottom: 6px; }

.section-head--stack { display: block; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Decorative technical grid */
.blueprint-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 24%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 24%, transparent 78%);
}
.corner-ticks::before,
.corner-ticks::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--orange);
  border-style: solid;
  opacity: 0.85;
}
.corner-ticks::before { top: 0; inset-inline-start: 0; border-width: 1px 0 0 1px; }
.corner-ticks::after { bottom: 0; inset-inline-end: 0; border-width: 0 1px 1px 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 20, 38, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header--overlay {
  background: linear-gradient(to bottom, rgba(7, 20, 38, 0.72), rgba(7, 20, 38, 0));
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--overlay.is-scrolled {
  background: rgba(7, 20, 38, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--orange);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: grid; gap: 1px; line-height: 1.25; }
.brand__name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.19em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__link {
  position: relative;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  inset-inline: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Mobile menu ---------- */
body.menu-open .site-header { z-index: 140; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  background: var(--navy-900);
  color: #fff;
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__nav { display: grid; padding-block: 12px; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-size: 1.12rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__link[aria-current="page"] { color: var(--orange); }
.mobile-menu__cta { margin-top: 24px; display: grid; gap: 12px; }
.mobile-menu__note {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--muted-dark);
  line-height: 1.8;
}

body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(880px, 100svh);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(80px, 12vw, 148px);
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
  filter: grayscale(0.18) contrast(1.06) brightness(0.8);
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(7, 20, 38, 0.97) 0%, rgba(7, 20, 38, 0.86) 34%, rgba(7, 20, 38, 0.38) 66%, rgba(7, 20, 38, 0.55) 100%),
    linear-gradient(to top, var(--navy-900) 2%, rgba(7, 20, 38, 0.1) 42%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to left, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 72%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  color: #C3D2E2;
  padding: 7px 14px 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 36, 0.22);
}
.hero h1 {
  font-size: clamp(2.35rem, 5.5vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero h1 .accent { position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0.06em;
  height: 0.06em;
  background: var(--orange);
  opacity: 0.5;
}
.hero__lead {
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.95;
  color: #B9C9DA;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 38px);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(34px, 4.5vw, 58px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__meta-item { display: grid; gap: 2px; }
.hero__meta-item strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}
.hero__meta-item span { font-size: 0.74rem; color: #93A7BB; letter-spacing: 0.04em; }

/* Floating technical panel */
.hero__panel {
  position: relative;
  padding: 22px;
  background: rgba(10, 27, 46, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  align-self: end;
  margin-bottom: 6px;
}
.hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: #9FB4C9;
  text-transform: uppercase;
}
.hero__panel-head .signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #58D3A6;
}
.hero__panel-head .signal i {
  width: 5px; height: 5px; border-radius: 50%;
  background: #58D3A6;
  box-shadow: 0 0 0 3px rgba(88, 211, 166, 0.18);
}
.hero__panel-rows { display: grid; gap: 0; margin-top: 4px; }
.hero__panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}
.hero__panel-row:last-child { border-bottom: 0; }
.hero__panel-row span { color: #A9BBCD; }
.hero__panel-row b { font-weight: 600; color: #fff; }
.hero__panel-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.hero__bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.hero__bars i {
  display: block;
  width: 5px;
  background: linear-gradient(to top, rgba(38, 132, 255, 0.4), var(--blue));
  border-radius: 1px;
}
.hero__panel-foot small { font-size: 0.64rem; color: #8DA1B6; letter-spacing: 0.1em; }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
}
.hero__scroll span { display: block; width: 1px; height: 38px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); }

/* ---------- Page masthead (inner pages) ---------- */
.masthead {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(38px, 5vw, 64px));
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.masthead--image { padding-bottom: clamp(56px, 8vw, 96px); }
.masthead__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.masthead__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(0.2) brightness(0.7) contrast(1.08);
  opacity: 0.28;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.masthead:hover .masthead__bg img {
  transform: scale(1.04);
}
.masthead__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(270deg, rgba(7,20,38,.97) 5%, rgba(7,20,38,.85) 45%, rgba(7,20,38,.62) 100%),
    linear-gradient(to top, var(--navy-900) 0%, rgba(7,20,38,.35) 60%, rgba(7,20,38,.75) 100%);
  pointer-events: none;
}
.masthead__inner { position: relative; z-index: 2; }
.masthead__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to left, #000, transparent 65%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 65%);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #93A7BB;
  margin-bottom: 22px;
}
.breadcrumb a { transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: '／';
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.7rem;
}
.breadcrumb [aria-current="page"] { color: #DCE6F0; }
.masthead h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.masthead__lead {
  margin-top: 16px;
  color: #AEbfd1;
  color: #AEBFD1;
  font-size: clamp(0.95rem, 1.2vw, 1.06rem);
  max-width: 62ch;
  line-height: 1.95;
}
.masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 24px;
  font-size: 0.8rem;
  color: #9FB2C5;
}
.masthead__meta li { display: inline-flex; align-items: center; gap: 8px; }
.masthead__meta svg { width: 15px; height: 15px; color: var(--orange); }
.masthead__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}
.masthead__aside {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
  padding-inline-start: 24px;
  display: grid;
  gap: 14px;
}
.masthead__aside-title {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #93A7BB;
  text-transform: uppercase;
}
.masthead__aside p { font-size: 0.86rem; color: #B8C8D9; line-height: 1.9; }
.masthead__aside ul { display: grid; gap: 9px; }
.masthead__aside li {
  display: flex;
  gap: 9px;
  font-size: 0.83rem;
  color: #C7D5E3;
  line-height: 1.7;
}
.masthead__aside li::before {
  content: '';
  flex: 0 0 auto;
  width: 5px; height: 5px;
  margin-top: 9px;
  background: var(--orange);
  border-radius: 50%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #C6D4E2;
  padding-top: clamp(52px, 6vw, 82px);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: clamp(26px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__about {
  font-size: 0.86rem;
  line-height: 1.95;
  color: #93A7BB;
  max-width: 34ch;
}
.footer__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a {
  font-size: 0.87rem;
  color: #98ABBE;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  display: inline-block;
}
.footer__links a:hover { color: #fff; transform: translateX(-3px); }
.footer__contact { display: grid; gap: 14px; }
.footer__contact-item {
  display: flex;
  gap: 11px;
  font-size: 0.84rem;
  color: #A9BBCD;
  line-height: 1.8;
}
.footer__contact-item svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; color: var(--orange); }
.footer__contact-item strong { display: block; color: #E4EDF6; font-size: 0.82rem; font-weight: 600; }
.footer__note {
  margin-top: 20px;
  font-size: 0.74rem;
  line-height: 1.85;
  color: #7C91A6;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.76rem;
  color: #7E93A8;
}
.footer__bottom a { color: #A9BBCD; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Misc utilities ---------- */
.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-sm > * + * { margin-top: 10px; }
.nowrap { white-space: nowrap; }

/* Trust / security note for live operational forms */
.trust-note {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius);
  font-size: 0.84rem;
  line-height: 1.8;
  color: #065f46;
}
.trust-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: #10b981; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Persian Variable Typography Normalization (IranYekanX / IRANSans / Vazirmatn)
   Prevents excessive bolding and upward-fallback to Black/900 weights.
   ========================================================================== */
body, input, select, textarea, button {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.product-card h3,
.product-card__title,
.service-row h3,
.filters__title,
.crane-blog-title,
.crane-post-card__title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1,
.hero h1,
#heroTitle,
.display,
.display--md,
.section-head h2,
.cta-band h2 {
  font-weight: 700;
  line-height: 1.25;
}

strong, b,
.hero__meta-item strong,
.hero__panel-row b,
.quickbar__text strong,
.price-box__value,
.price__value,
.stat b,
.spec-table td {
  font-weight: 600;
}

.nav__link,
.btn,
.chip,
.badge,
.tag-accent,
.filters__group-title,
.crane-badge-date,
.crane-blog-compact-link {
  font-weight: 500;
}

