/* ==========================================================================
   Behtab Sazan Manzar – main stylesheet
   Brand colours derived from LOGO.jpeg: navy (#0b2a5e) + gold (#c9a050).
   RTL first: use logical properties (inline-start = right side in Persian).
   ========================================================================== */

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

:root {
  /* brand */
  --navy-950: #051634;
  --navy-900: #08204a;
  --navy-800: #0b2a5e;   /* primary – logo navy */
  --navy-700: #153a7a;
  --navy-600: #24508f;
  --navy-100: #e6ebf4;
  --navy-50:  #f2f5fa;
  --gold-700: #8a6528;   /* gold for text on light backgrounds (AA) */
  --gold-600: #a97c36;
  --gold-500: #c9a050;   /* logo gold */
  --gold-400: #e0b870;   /* light logo gold – text on navy */
  --gold-200: #f1e2c2;
  --gold-100: #f8f0de;

  /* neutrals */
  --ink:    #0f1d38;
  --text:   #2b3650;
  --muted:  #5a6479;
  --line:   #e3e1da;
  --sand-50:  #faf8f3;
  --sand-100: #f3efe5;
  --white:  #ffffff;
  --success: #1f7a4d;
  --danger:  #b42318;

  /* system */
  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 94, .06), 0 2px 8px rgba(11, 42, 94, .05);
  --shadow:    0 4px 14px rgba(11, 42, 94, .08), 0 14px 40px rgba(11, 42, 94, .08);
  --shadow-lg: 0 24px 60px rgba(5, 22, 52, .28);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.95;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--navy-700); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-800); }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--gold-200); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ltr-inline { direction: ltr; unicode-bidi: isolate; text-align: end; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100; padding: .6rem 1rem; background: var(--navy-800); color: var(--white); border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .65rem 1.35rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--sm { min-height: 42px; padding: .45rem 1.1rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .8rem 1.7rem; font-size: 1.05rem; }
.btn--primary { background: var(--navy-800); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-950); box-shadow: 0 8px 22px rgba(201, 160, 80, .35); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-800); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }

.chip { display: inline-block; padding: .05rem .55rem; border-radius: 6px; background: var(--navy-50); color: var(--navy-800); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; color: var(--gold-700); font-size: .92rem; font-weight: 700; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: var(--gold-400); }

/* ---------- top bar & header ---------- */

.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .88rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__slogan { margin: 0; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.topbar__links a:hover { color: var(--gold-400); }
.topbar .icon { width: 1rem; height: 1rem; color: var(--gold-400); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand__mark { width: auto; height: 50px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.brand__name { color: var(--navy-800); font-weight: 800; font-size: 1.28rem; }
.brand__tag { color: var(--gold-700); font-size: .8rem; font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; margin-inline-start: auto; }
.site-nav__list { display: flex; align-items: center; gap: .15rem; }
.site-nav__list a { position: relative; display: block; padding: .55rem .7rem; color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; border-radius: var(--radius-sm); }
.site-nav__list a:hover { color: var(--navy-700); background: var(--navy-50); }
.site-nav__list a[aria-current="page"] { color: var(--navy-800); font-weight: 700; }
.site-nav__list a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: .7rem; bottom: .2rem; height: 2px; background: var(--gold-500); border-radius: 2px; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin-inline-start: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy-800); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1140px) {
  .site-nav__list a { padding-inline: .5rem; font-size: .94rem; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset-inline: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { padding: .8rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--sand-100); border-radius: 0; }
  .site-nav__list a[aria-current="page"]::after { inset-inline: auto .5rem; inset-inline-start: 0; top: 25%; bottom: 25%; width: 3px; height: auto; }
  .site-nav__cta { align-self: stretch; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  :root { --header-h: 66px; }
  .brand__mark { height: 42px; }
  .brand__name { font-size: 1.1rem; }
  .brand__tag { font-size: .74rem; }
}

/* ---------- breadcrumbs ---------- */

.breadcrumbs { background: var(--sand-50); border-bottom: 1px solid var(--line); font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; padding-block: .7rem; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--gold-600); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy-800); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem) var(--section); }
.section--first { padding-top: clamp(2rem, 5vw, 3.5rem); }
.section--tint { background: var(--sand-50); }
.section--navy { position: relative; background: var(--navy-900); color: rgba(255, 255, 255, .82); overflow: hidden; }
.section--navy::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(224, 184, 112, .06) 0 1px, transparent 1px 46px); pointer-events: none; }
.section--navy > * { position: relative; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head__title { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); }
.section-head__text { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; max-width: none; }
.section-head--row .section-head__title { margin-bottom: 0; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(ellipse 60% 70% at 10% 10%, rgba(201, 160, 80, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(224, 184, 112, .07) 0 1px, transparent 1px 52px); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600)); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem); }
.hero__title { color: var(--white); font-size: clamp(1.9rem, 1.2rem + 2.9vw, 3.35rem); line-height: 1.4; margin-bottom: 1.25rem; }
.hero__title span { display: block; color: var(--gold-400); }
.hero__lead { max-width: 36em; font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 2; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .96rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__facts .icon { color: var(--gold-400); width: 1.35rem; height: 1.35rem; }

.hero__media { position: relative; padding-bottom: 3.5rem; }
.hero__img { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--navy-700); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { width: 68%; aspect-ratio: 4 / 5; margin-inline-start: auto; }
.hero__img--side { position: absolute; inset-inline-start: 0; bottom: 0; width: 60%; aspect-ratio: 16 / 10; border: 6px solid var(--white); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* ---------- page hero (inner pages) ---------- */

.page-hero { position: relative; overflow: hidden; color: rgba(255, 255, 255, .85); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(224, 184, 112, .07) 0 1px, transparent 1px 52px); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600)); }
.page-hero .container { position: relative; }
.page-hero__title { color: var(--white); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.7rem); margin-bottom: .6rem; }
.page-hero__lead { max-width: 46em; margin: 0; font-size: clamp(1rem, .96rem + .25vw, 1.15rem); }

/* ---------- category cards ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.cat-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.cat-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand-100); }
.cat-card__media picture, .hero__img picture { height: 100%; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem 1.15rem; border-top: 3px solid var(--gold-500); }
.cat-card__title { color: var(--ink); font-weight: 700; line-height: 1.55; }
.cat-card__count { color: var(--muted); font-size: .88rem; }

@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .cat-card__body { padding: .8rem .85rem .9rem; } .cat-card__title { font-size: .95rem; } }

/* low-resolution images (cut from the catalogue): show whole picture, do not upscale aggressively */
.is-lowres { background: var(--white); }
.is-lowres img { object-fit: contain !important; padding: 6%; }

/* ---------- split layout ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.split--reverse .split__content { order: 0; }
.split__content > p { font-size: 1.06rem; }
.framed { position: relative; margin: 0; }
.framed::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 2px solid var(--gold-500); border-radius: var(--radius-lg); }
.framed picture, .framed img { position: relative; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .framed { margin-inline-end: 1.25rem; }
}

.prose p { max-width: 68ch; }

/* ---------- product grid & cards ---------- */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card { height: 100%; }
.product-card[hidden] { display: none; }
.product-card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.product-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); color: inherit; }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-100); }
.product-card__media picture { height: 100%; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card__link:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.35rem 1.35rem; }
.product-card__cat { margin: 0 0 .25rem; color: var(--gold-700); font-size: .85rem; font-weight: 700; }
.product-card__title { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.6; }
.product-card__text { margin: 0 0 1rem; color: var(--muted); font-size: .96rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__more { display: flex; align-items: center; gap: .45rem; margin-top: auto; color: var(--navy-800); font-weight: 700; font-size: .95rem; }
.product-card__more .chip { margin-inline-end: auto; order: 2; }
.product-card__more .icon { transition: transform .2s var(--ease); }
.product-card__link:hover .product-card__more .icon { transform: translateX(-4px); }

/* ---------- filter ---------- */

.filter { margin-bottom: 2rem; }
.filter__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter__chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 500; text-decoration: none; transition: all .2s var(--ease); }
.filter__chip span { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding-inline: .3em; border-radius: 999px; background: var(--sand-100); color: var(--muted); font-size: .8rem; }
.filter__chip:hover { border-color: var(--navy-600); color: var(--navy-800); }
.filter__chip[aria-current="page"], .filter__chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.filter__chip[aria-current="page"] span, .filter__chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .16); color: var(--white); }
@media (max-width: 620px) {
  .filter__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: thin; }
  .filter__chip { white-space: nowrap; }
}

/* ---------- features (navy) ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { padding: 1.75rem 1.6rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .035); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.feature:hover { background: rgba(255, 255, 255, .06); border-color: rgba(224, 184, 112, .35); }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 14px; background: rgba(224, 184, 112, .14); color: var(--gold-400); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: 1.12rem; margin-bottom: .35rem; }
.feature__text { margin: 0; font-size: .97rem; color: rgba(255, 255, 255, .72); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- audiences ---------- */

.audience-list { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.audience-list li { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font-weight: 500; line-height: 1.6; box-shadow: var(--shadow-sm); }
.audience-list__icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-50); color: var(--navy-800); }
.audience-list__icon .icon { width: 22px; height: 22px; }
@media (max-width: 560px) { .audience-list { grid-template-columns: 1fr; } }

/* ---------- scope cards / check grid / steps ---------- */

.scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.scope-grid--3 { grid-template-columns: repeat(3, 1fr); }
.scope-card { padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.scope-card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1rem; border-radius: 14px; background: var(--gold-100); color: var(--gold-700); }
.scope-card__icon .icon { width: 25px; height: 25px; }
.scope-card__title { font-size: 1.1rem; margin-bottom: .4rem; }
.scope-card p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 1000px) { .scope-grid, .scope-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .scope-grid, .scope-grid--3 { grid-template-columns: 1fr; } }

.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.check-grid li { display: flex; gap: .85rem; align-items: flex-start; }
.check-grid .icon { margin-top: .3rem; padding: .2rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); stroke-width: 2.4; }
.check-grid div { display: flex; flex-direction: column; }
.check-grid span { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps__item { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps__num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: .9rem; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); font-weight: 800; font-size: 1.15rem; }
.steps__title { font-size: 1.08rem; margin-bottom: .35rem; }
.steps__item p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* ---------- catalogue ---------- */

.catalog-band { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.catalog-band__preview { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.catalog-band__preview:hover { transform: translateY(-3px) rotate(-.3deg); }
.catalog-view { margin: 0 auto; max-width: 1080px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 900px) { .catalog-band { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: rgba(255, 255, 255, .82); border-top: 3px solid var(--gold-500); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band__title { color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); margin-bottom: .4rem; }
.cta-band__text { max-width: 44em; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- product detail ---------- */

.product__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.gallery__main { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--sand-100); aspect-ratio: 4 / 3; }
.gallery__main picture { height: 100%; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main.is-lowres img { padding: 8%; }
.gallery__zoom { position: absolute; inset-inline-end: 1rem; bottom: 1rem; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
.gallery__thumb { display: block; width: 92px; aspect-ratio: 1; overflow: hidden; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--sand-100); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--gold-500); }

.product__title { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem); margin-bottom: .5rem; }
.product__model { margin: 0 0 1rem; color: var(--muted); font-weight: 500; }
.product__model .ltr { color: var(--navy-800); font-weight: 800; letter-spacing: .03em; }
.product__summary { font-size: 1.12rem; color: var(--ink); }
.product__h2 { font-size: 1.2rem; margin: 2rem 0 .9rem; }
.spec-table { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table div { display: grid; grid-template-columns: 38% 1fr; }
.spec-table div:nth-child(odd) { background: var(--sand-50); }
.spec-table div + div { border-top: 1px solid var(--line); }
.spec-table dt, .spec-table dd { margin: 0; padding: .75rem 1rem; }
.spec-table dt { color: var(--muted); font-weight: 500; }
.spec-table dd { color: var(--ink); font-weight: 700; }
.spec-table .ltr-inline { text-align: start; }
.product__source { margin: .6rem 0 0; font-size: .9rem; color: var(--muted); }
.product__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.product__contact-note { margin: .75rem 0 0; color: var(--muted); font-size: .92rem; }
.product__body { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1rem; border-top: 1px solid var(--line); }
.product__body .prose p { font-size: 1.06rem; }
@media (max-width: 900px) {
  .product__grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

.lightbox { padding: 0; border: 0; border-radius: var(--radius); background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 22, 52, .88); }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: -1rem; inset-inline-end: -1rem; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--white); color: var(--navy-800); cursor: pointer; box-shadow: var(--shadow); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-card--primary { background: var(--navy-800); border-color: var(--navy-800); color: rgba(255, 255, 255, .8); }
.contact-card--primary .contact-card__title { color: var(--white); }
.contact-card--primary .contact-card__icon { background: rgba(224, 184, 112, .16); color: var(--gold-400); }
.contact-card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1rem; border-radius: 14px; background: var(--navy-50); color: var(--navy-800); }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__title { font-size: 1.08rem; margin-bottom: .5rem; }
.contact-card__person { margin: 0; font-weight: 700; color: var(--gold-400); }
.contact-card__big { margin-top: .4rem; color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.contact-card__big:hover { color: var(--gold-400); }
.contact-card__link { font-weight: 700; font-size: 1.08rem; text-decoration: none; word-break: break-all; }
.contact-card__hint { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); }
.contact-card--primary .contact-card__hint { color: rgba(255, 255, 255, .65); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-mini { display: flex; flex-direction: column; gap: .5rem; margin: 1.25rem 0; }
.contact-mini li { display: flex; align-items: center; gap: .6rem; }
.contact-mini .icon { color: var(--gold-600); }
.contact-mini a { font-weight: 700; text-decoration: none; }

/* ---------- forms ---------- */

.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-layout__intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .form-layout__intro { position: static; } }

.card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-weight: 500; font-size: .96rem; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .95rem;
  border: 1.5px solid #cfd4de; border-radius: 10px; background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.9; }
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: #8a92a3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(36, 80, 143, .15); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field__error { margin: 0; color: var(--danger); font-size: .9rem; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form__note { margin: 0; max-width: 30em; font-size: .88rem; color: var(--muted); }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } .form__footer .btn { width: 100%; } }

.notice { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius); border: 1px solid; }
.notice:focus { outline: none; }
.notice p { margin: 0; }
.notice__title { font-weight: 700; color: var(--ink); }
.notice .icon { margin-top: .3rem; }
.notice--success { background: #eef8f2; border-color: #b7e0c8; color: #1d4d35; }
.notice--success .icon { color: var(--success); }
.notice--error { background: #fdf1f0; border-color: #f2c4bf; color: #6b1d16; }
.notice--info { margin-bottom: 0; background: var(--navy-50); border-color: var(--navy-100); color: var(--text); }
.notice--info .icon { color: var(--navy-800); }

/* ---------- empty state / projects ---------- */

.empty-state { max-width: 640px; margin-inline: auto; text-align: center; }
.empty-state__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 1.25rem; border-radius: 22px; background: var(--gold-100); color: var(--gold-700); }
.empty-state__icon .icon { width: 36px; height: 36px; }
.empty-state__code { margin: 0; color: var(--gold-500); font-size: clamp(4rem, 3rem + 5vw, 7rem); font-weight: 800; line-height: 1.1; }
.empty-state__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.empty-state p { color: var(--muted); }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.project-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-card__body { padding: 1.4rem 1.5rem; }
.project-card__title { font-size: 1.2rem; margin-bottom: .25rem; }
.project-card__meta { color: var(--gold-700); font-size: .92rem; font-weight: 500; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list a { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--navy-50); font-size: .88rem; text-decoration: none; }
@media (max-width: 760px) { .project-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .96rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.site-footer__logo { display: inline-block; margin-bottom: 1.25rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--white); }
.site-footer__logo img { width: 170px; }
.site-footer__brand p { max-width: 32em; margin: 0; line-height: 2; }
.site-footer__title { margin-bottom: 1rem; color: var(--white); font-size: 1.02rem; }
.site-footer__title::after { content: ""; display: block; width: 32px; height: 2px; margin-top: .55rem; background: var(--gold-500); }
.site-footer__links { display: flex; flex-direction: column; gap: .4rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer__contact { display: flex; flex-direction: column; gap: .85rem; }
.site-footer__contact li { display: flex; gap: .65rem; align-items: flex-start; }
.site-footer__contact .icon { margin-top: .35rem; color: var(--gold-400); }
.site-footer__contact span { display: flex; flex-direction: column; }
.site-footer__contact span > a { align-self: flex-start; }
.site-footer__contact small { color: rgba(255, 255, 255, .55); font-size: .84rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom p { margin: 0; padding-block: 1.25rem; font-size: .88rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .cat-card:hover, .product-card__link:hover, .catalog-band__preview:hover { transform: none; }
  .cat-card:hover .cat-card__media img, .product-card__link:hover .product-card__media img { transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .cta-band, .btn, .filter, .lightbox { display: none !important; }
  body { color: #000; }
  .hero, .page-hero { background: none; color: #000; }
  .hero__title, .page-hero__title { color: #000; }
}
