/* ─────────────────────────────────────────────────────────────────
   Kilos Industrial Foods — Premium RTL Design System
   Palette: Navy #1a365d · Gold #d4a843 · Off-white #f7fafc · Charcoal #1a202c
   ───────────────────────────────────────────────────────────────── */

/* == Fonts ======================================================= */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* == Tokens ====================================================== */
:root {
  --navy:        #1a1a1a;
  --navy-dark:   #111111;
  --navy-mid:    #2a2a2a;
  --gold:        #b88a3b;
  --gold-light:  #c69a4b;
  --gold-dark:   #9c7532;
  --off-white:   #f8f6f2;
  --white:       #ffffff;
  --charcoal:    #222222;
  --text-mid:    #666666;
  --border:      #dddddd;
  --brand-red:   #e52421;
  --brand-red-dk:#c41e1c;

  /* multi-stop brand-tinted shadows */
  --sh-xs:  0 1px 2px rgba(26,54,93,0.06), 0 3px 8px rgba(26,54,93,0.08);
  --sh-sm:  0 1px 3px rgba(26,54,93,0.06), 0 6px 20px rgba(26,54,93,0.10), 0 16px 40px rgba(26,54,93,0.08);
  --sh-md:  0 2px 4px rgba(26,54,93,0.06), 0 10px 28px rgba(26,54,93,0.12), 0 24px 56px rgba(26,54,93,0.10);
  --sh-lg:  0 4px 8px rgba(26,54,93,0.08), 0 16px 40px rgba(26,54,93,0.14), 0 40px 80px rgba(26,54,93,0.12);
  --sh-gold:0 4px 16px rgba(212,168,67,0.22), 0 12px 40px rgba(212,168,67,0.16);

  /* radius system */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  /* spacing */
  --sp-section: clamp(72px, 10vw, 120px);
  --sp-section-sm: clamp(48px, 7vw, 80px);
}

/* == Reset ======================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
::selection { background: rgba(212,168,67,.28); color: var(--navy); }

/* == Base ======================================================== */
html, body {
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

body {
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  font-size: 1rem;
  line-height: 2;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.num {
  font-family: 'Inter', 'Arial', system-ui, sans-serif;
  direction: ltr;
  display: inline-block;
}

/* == Layout ====================================================== */
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 56px);
}
.container--narrow { max-width: 860px; }

/* == Typography ================================================== */
h1, h2, h3, h4, h5 {
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  font-weight: 700;
  line-height: 1.5;
  color: inherit;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.4; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { line-height: 2.1; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

/* == Buttons ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.28s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--gold {
  background: var(--brand-red); color: #fff;
  color: var(--navy-dark);
  box-shadow: var(--sh-gold);
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,168,67,0.35); }
.btn--gold:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--ghost:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--sh-sm);
}
.btn--navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--navy:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline-gold:hover { background: var(--gold); color: var(--navy-dark); }
.btn--outline-gold:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* == Header / Nav ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(15,35,64,0.35);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(15,35,64,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo__mark {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy-dark);
}
.site-logo__text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.10);
}
.main-nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-phone {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  direction: ltr;
}
.header-cta {
  padding: 9px 22px;
  font-size: 0.88rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.header-cta:hover { background: var(--brand-red-dk); color: #fff; }
.header-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--white);
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-toggle__bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
}
.mobile-nav a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.mobile-nav .header-cta {
  margin: 12px 24px 0;
  text-align: center;
  display: block;
}

/* == Hero ======================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(26,26,26,0.86) 0%,
    rgba(196,30,28,0.70) 50%,
    rgba(26,26,26,0.84) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(80px, 14vw, 140px);
  gap: 24px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  max-width: 820px;
}

.hero__sub {
  color: rgba(255,255,255,0.80);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* stats strip at bottom of hero */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  background: rgba(15,35,64,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(212,168,67,0.2);
}
.hero__stats-inner {
  display: flex;
  align-items: stretch;
}
.hero__stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
  border-inline-end: 1px solid rgba(255,255,255,0.08);
}
.hero__stat:last-child { border-inline-end: none; }
.hero__stat-value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  display: block;
  font-family: 'Inter', 'Vazirmatn', sans-serif;
}
.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  display: block;
}

/* == Category Cards ============================================== */
.cats {
  padding-block: var(--sp-section);
  background: var(--off-white);
}

.section-intro {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-intro h2 { color: var(--navy); }
.section-intro p {
  color: var(--text-mid);
  max-width: 52ch;
  margin: 14px auto 0;
  font-size: 1.02rem;
}

.cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cat-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.34s ease, box-shadow 0.34s ease;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card:hover::after { border-top-width: 5px; opacity: 1; }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 0px solid var(--gold);
  border-radius: var(--r-md);
  opacity: 0;
  transition: all 0.34s ease;
  pointer-events: none;
  z-index: 3;
}

.cat-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cat-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,50,0.95) 0%, rgba(10,25,50,0.5) 45%, transparent 75%);
  z-index: 1;
}

.cat-card__body {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2;
  padding: 28px 24px;
}
.cat-card__tag {
  display: inline-block;
  background: rgba(212,168,67,0.22);
  border: 1px solid rgba(212,168,67,0.45);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.cat-card__title {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 12px;
}
.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s;
}
.cat-card:hover .cat-card__link { gap: 10px; }

/* == About Strip ================================================= */
.about {
  padding-block: var(--sp-section);
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: center;
}

.about__photo-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-md);
}
.about__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__photo-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--r-sm);
  padding: 10px 18px;
  box-shadow: var(--sh-xs);
}
.about__photo-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.about__photo-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
}

.about__text { }
.about__rule {
  display: block;
  width: 3px;
  height: 52px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 28px;
}
.about__text h2 { color: var(--navy); margin-bottom: 16px; }
.about__text p  { color: var(--text-mid); margin-bottom: 28px; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.about__stat {
  padding: 18px 16px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  text-align: center;
}
.about__stat-val {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  font-family: 'Inter', 'Vazirmatn', sans-serif;
  display: block;
}
.about__stat-lbl {
  font-size: 0.76rem;
  color: var(--text-mid);
  margin-top: 5px;
  display: block;
  line-height: 1.5;
}

/* == Process ==================================================== */
.process {
  padding-block: var(--sp-section);
  background: var(--off-white);
  overflow: hidden;
}

.process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 6vw, 60px);
}

/* connector line between steps */
.process__timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  right: calc(10% + 16px);
  left: calc(10% + 16px);
  height: 1px;
  background: linear-gradient(to left, var(--gold) 0%, rgba(212,168,67,0.3) 50%, var(--gold) 100%);
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.process__circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  box-shadow: var(--sh-gold);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process__step:hover .process__circle {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(212,168,67,0.4);
}

.process__step-img {
  width: 80px; height: 80px;
  border-radius: var(--r-sm);
  object-fit: cover;
  box-shadow: var(--sh-xs);
}

.process__icon {
  width: 40px; height: 40px;
  color: var(--navy);
  opacity: 0.7;
}

.process__step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.process__step-desc {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* == Brands Showcase ============================================= */
.brands {
  padding-block: var(--sp-section);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* grain texture overlay */
.brands::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.brands__eyebrow { color: rgba(212,168,67,0.7); }
.brands .section-intro h2 { color: var(--white); }
.brands .section-intro p  { color: rgba(255,255,255,0.6); }

.brands__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: clamp(40px, 6vw, 60px);
}

.brand-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,67,0.18);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px) 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.brand-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,168,67,0.4);
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.brand-card:hover::before { opacity: 1; }

.brand-card__products {
  display: flex;
  justify-content: center;
  gap: -12px;
  margin-bottom: 28px;
}
.brand-card__img {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(212,168,67,0.35);
  margin-inline: -6px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s;
}
.brand-card:hover .brand-card__img { transform: scale(1.05); }

.brand-card__name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}
.brand-card__tagline {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 20px;
}
.brand-card__meta {
  font-size: 0.78rem;
  color: rgba(212,168,67,0.6);
  font-weight: 600;
}

/* == Certificates ================================================ */
.certs {
  padding-block: var(--sp-section-sm);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.certs__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  flex-wrap: wrap;
  margin-top: 40px;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  min-width: 130px;
  box-shadow: var(--sh-xs);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.cert-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-sm);
  border-color: var(--gold);
}
.cert-badge__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.cert-badge__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.cert-badge__desc {
  font-size: 0.72rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* == Contact CTA Band =========================================== */
.cta-band {
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--gold);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-band h2 {
  color: var(--navy-dark);
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}
.cta-band p {
  color: rgba(26,32,44,0.72);
  margin-bottom: 32px;
  font-size: 1.02rem;
}
.cta-band__phone {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy-dark);
  direction: ltr;
  display: block;
  margin-bottom: 32px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}

/* == Products Grid (used in home + products page) ================ */
.products {
  padding-block: var(--sp-section);
  background: var(--white);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: clamp(36px, 5vw, 56px);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(212,168,67,0.35);
}
.product-card__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__img { transform: scale(1.06); }

.product-card__body {
  padding: 20px 20px 22px;
}
.product-card__cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.product-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 10px;
}
.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}
.product-actions__btn {
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
}
.b2b-price-note {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--off-white);
  color: var(--text-mid);
  text-align: center;
  font-size: 0.92rem;
}

/* == Stub page ================================================== */
.stub-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 20px;
  padding: 80px 24px;
}
.stub-page h1 { color: var(--navy); }
.stub-page p  { color: var(--text-mid); max-width: 45ch; }

/* == 404 ======================================================== */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 20px;
  padding: 80px 24px;
}
.page-404__num {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--navy);
  opacity: 0.08;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.page-404 h1 { color: var(--navy); margin-top: -32px; }
.page-404 p  { color: var(--text-mid); max-width: 40ch; }

/* == Footer ===================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(56px, 8vw, 96px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col__logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col__logo-mark {
  width: 34px; height: 34px;
  background: var(--gold);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-dark);
  font-weight: 900;
}
.footer-col__mission {
  font-size: 0.87rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  max-width: 28ch;
  margin-bottom: 24px;
}
.footer-col__social {
  display: flex;
  gap: 10px;
}
.footer-social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.25s ease;
}
.footer-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}
.footer-social-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,168,67,0.25);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links a:hover::before { opacity: 1; }
.footer-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.footer-contact-item__icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item--phone {
  font-family: 'Inter', sans-serif;
  direction: ltr;
  text-align: left;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-bottom {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* == Scroll reveal (JS-powered) ================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* == Responsive ================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cats__grid  { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .process__timeline { grid-template-columns: repeat(3, 1fr); }
  .process__timeline::before { display: none; }
}

@media (max-width: 768px) {
  .about__grid  { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }
  .brands__grid { grid-template-columns: 1fr; }
  .hero__stats-inner { flex-wrap: wrap; }
  .hero__stat   { flex: 0 0 50%; border-inline-end: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 640px) {
  .cats__grid { grid-template-columns: 1fr; }
  .cat-card   { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process__timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .certs__row   { gap: 16px; }
  .cert-badge   { min-width: 110px; padding: 16px 14px; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 320px; }
  .hero__ctas .btn { width: 100%; text-align: center; justify-content: center; }
  .brands__grid { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr 1fr; }
  .products__grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  :root { --sp-section: 56px; }
  .header-inner { height: 60px; }
  .site-logo__text { font-size: 1.1rem; }
  .about__stats { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; }
  .hero__stat { flex: 0 0 100%; }
}

/* ── Stage 2 additions ─────────────────────────────────────────── */

/* == Inner page hero ========================================== */
.page-hero {
  background: var(--navy);
  padding: clamp(56px, 8vw, 80px) 0 clamp(36px, 5vw, 56px);
  text-align: center;
}
.page-hero .eyebrow { color: rgba(212,168,67,0.85); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero__sub {
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  margin: 14px auto 0;
  font-size: 1.02rem;
}

/* == Form elements ============================================ */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  direction: rtl;
  text-align: right;
  transition: border-color 0.22s, box-shadow 0.22s;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.12);
}
.form-control::placeholder { color: rgba(74,85,104,0.45); }
textarea.form-control { resize: vertical; min-height: 140px; line-height: 1.9; }
select.form-control { cursor: pointer; }
.form-required { color: var(--gold); }
.form-hint { font-size: 0.78rem; color: var(--text-mid); margin-top: 5px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* == Alerts =================================================== */
.alert {
  padding: 14px 20px;
  border-radius: var(--r-sm);
  margin-bottom: 28px;
  font-size: 0.92rem;
  line-height: 1.7;
}
.alert--success {
  background: rgba(72,187,120,0.12);
  border: 1.5px solid rgba(72,187,120,0.35);
  color: #276749;
}
.alert--error {
  background: rgba(245,101,101,0.10);
  border: 1.5px solid rgba(245,101,101,0.30);
  color: #9b2c2c;
}

/* == Value Cards (About) ====================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(36px, 5vw, 56px);
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.value-card__icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin: 0 auto 20px;
}
.value-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.value-card p  { color: var(--text-mid); font-size: 0.9rem; line-height: 1.8; }

/* == Milestones (About) ======================================= */
.milestones {
  padding-block: var(--sp-section);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.milestones .section-intro h2 { color: var(--white); }
.milestones .section-intro p  { color: rgba(255,255,255,0.55); }
.milestones-eyebrow { color: rgba(212,168,67,0.75); }
.milestone-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(36px, 5vw, 56px);
}
.milestone-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,67,0.18);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.milestone-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,168,67,0.35);
}
.milestone-item__year {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.milestone-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.milestone-item p  { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.7; }

/* == Factory bullet list (About) ============================== */
.about-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.about-checklist li svg { color: var(--gold); flex-shrink: 0; }

/* == Contact page ============================================= */
.contact-section {
  padding-block: var(--sp-section);
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}
.contact-form-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form-box h3 { color: var(--navy); margin-bottom: 28px; font-size: 1.3rem; }
.contact-info-box { padding-top: 8px; }
.contact-info-box h3 { color: var(--navy); margin-bottom: 24px; font-size: 1.3rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-info-item__icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-item__body h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-info-item__body p,
.contact-info-item__body a { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }
.contact-info-item__body a:hover { color: var(--gold); }

/* == Product detail =========================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.product-gallery { position: relative; }
.product-gallery__main {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--sh-md);
  margin-bottom: 16px;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-info__price-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.product-info__price-label { font-size: 0.8rem; color: var(--text-mid); display: block; margin-bottom: 4px; }
.product-info__price-val   { font-size: 1.5rem; font-weight: 800; color: var(--navy); display: block; }
.product-info__price-box p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 2;
  margin-top: 10px;
}
/* == Responsive additions ===================================== */
@media (max-width: 1024px) {
  .contact-grid    { gap: clamp(28px, 5vw, 56px); }
}
@media (max-width: 768px) {
  .contact-grid    { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr 1fr; }
  .milestone-list  { grid-template-columns: 1fr 1fr; }
  .form-row-2      { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .values-grid    { grid-template-columns: 1fr; }
  .milestone-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header-phone { display: none; }
}

/* CR253: white top menu + real logo (white/black/red theme) */
.site-header { background: #ffffff !important; box-shadow: 0 2px 14px rgba(0,0,0,0.08) !important; border-bottom: 1px solid #eee; }
.site-header .main-nav a { color: #222222 !important; }
.site-header .main-nav a:hover, .site-header .main-nav a.active { color: var(--brand-red) !important; }
.site-header .header-phone { color: #222222 !important; }
.site-logo__img { height: 46px; width: auto; display: block; }
@media (max-width:768px){ .site-logo__img { height: 38px; } }
