/* ==========================================================================
   شرکت سیمان هرمزگان — استایل اصلی
   ========================================================================== */

:root {
  /* پالت رنگی صنعتی - الهام‌گرفته از سیمان و دریا */
  --c-primary: #0d3b4f;        /* آبی سرمه‌ای — رنگ اصلی برند */
  --c-primary-dark: #082a38;   /* آبی تیره‌تر */
  --c-primary-light: #1a5a78;  /* آبی روشن‌تر */
  --c-accent: #d97706;         /* نارنجی/اوکر — رنگ تأکیدی سیمان */
  --c-accent-dark: #b45309;
  --c-accent-light: #f59e0b;

  --c-concrete: #e7e5e4;       /* بژ سیمانی */
  --c-concrete-dark: #a8a29e;
  --c-bg: #f8fafc;
  --c-surface: #ffffff;
  --c-text: #1c2833;
  --c-text-soft: #52606d;
  --c-text-muted: #8b95a1;
  --c-border: #e2e8f0;
  --c-success: #15803d;
  --c-footer-bg: #0a2533;

  /* تایپوگرافی */
  --font-base: 'Vazirmatn', 'Tahoma', 'Segoe UI', sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  /* اندازه‌ها */
  --container: 1240px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(13, 59, 79, 0.08);
  --shadow: 0 6px 20px rgba(13, 59, 79, 0.10);
  --shadow-lg: 0 18px 50px rgba(13, 59, 79, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 78px;
}

/* ------------------------------ ریست ------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.85;
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--c-accent); color: #fff; }

/* ------------------------------ تایپوگرافی ------------------------------ */
h1, h2, h3, h4, h5 { font-weight: var(--fw-bold); line-height: 1.35; color: var(--c-primary-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: var(--fw-black); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-accent);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-accent);
}

.section-title {
  margin-bottom: 16px;
}
.section-desc {
  color: var(--c-text-soft);
  max-width: 720px;
  margin-inline: auto;
}

/* ------------------------------ لایه‌بندی ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--primary { background: var(--c-primary); color: #e8eef1; }
.section--primary h2, .section--primary h3 { color: #fff; }
.section--concrete { background: var(--c-concrete); }
.section--surface { background: var(--c-surface); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head.align-start { text-align: right; }

/* ------------------------------ نوار بالا (Top bar) ------------------------------ */
.topbar {
  background: var(--c-primary-dark);
  color: #c4d4dc;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { color: var(--c-accent-light); }
.topbar__group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 14px; height: 14px; fill: var(--c-accent-light); }
.topbar__social { display: flex; gap: 10px; }
.topbar__social a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: var(--transition);
}
.topbar__social a:hover { background: var(--c-accent); color: #fff; }
.topbar__social svg { width: 13px; height: 13px; fill: currentColor; }

/* ------------------------------ هدر و ناوبری ------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: var(--fw-black);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.brand__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(217,119,6,0.4));
}
.brand__logo span { position: relative; z-index: 1; }
.brand__text { line-height: 1.3; }
.brand__name { font-weight: var(--fw-black); font-size: 1.05rem; color: var(--c-primary-dark); }
.brand__sub { font-size: 0.72rem; color: var(--c-text-muted); letter-spacing: 1px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li > a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: var(--fw-medium);
  color: var(--c-text);
  border-radius: var(--radius-sm);
  position: relative;
  font-size: 0.97rem;
}
.menu > li > a:hover { color: var(--c-primary); background: rgba(13,59,79,0.05); }
.menu > li > a.active { color: var(--c-primary); }
.menu > li > a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  inset-inline: 16px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
}

/* زیرمنو */
.has-sub { position: relative; }
.has-sub > a::after {
  content: "▾";
  font-size: 0.7em;
  margin-right: 4px;
  opacity: 0.6;
}
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--c-text-soft);
}
.submenu a:hover { background: var(--c-concrete); color: var(--c-primary); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent);
  color: #fff;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: var(--fw-bold);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: var(--transition);
}
.nav__cta:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217,119,6,0.35); }

/* همبرگر */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--c-primary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span { width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------------------ دکمه‌ها ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(217,119,6,0.4); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------ هیرو / اسلایدر ------------------------------ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* لایه پس‌زمینه هر اسلاید */
.hero__slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease;
  pointer-events: none;
}
/* روکش گرادیانت روی عکس */
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8,42,56,0.92) 0%, rgba(8,42,56,0.7) 45%, rgba(8,42,56,0.35) 100%);
}
.hero__slide.active { opacity: 1; transform: scale(1); }

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

/* ظرف محتوای اسلایدها */
.hero__viewport {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero__track { width: 100%; position: relative; }
.hero__panel {
  position: absolute;
  top: 0;
  inset-inline: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
  pointer-events: none;
  max-width: 760px;
  padding: 80px 0;
}
.hero__panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s, visibility 0s linear 0s;
  pointer-events: auto;
  position: relative;
}
/* انیمیشن تکه‌تکه شدن ورود محتوا */
.hero__panel.active .hero__badge { animation: slideInUp 0.7s ease 0.25s both; }
.hero__panel.active .hero__title { animation: slideInUp 0.7s ease 0.4s both; }
.hero__panel.active .hero__text { animation: slideInUp 0.7s ease 0.55s both; }
.hero__panel.active .hero__actions { animation: slideInUp 0.7s ease 0.7s both; }

.hero__content { max-width: 720px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217,119,6,0.18);
  border: 1px solid rgba(217,119,6,0.5);
  color: var(--c-accent-light);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  margin-bottom: 24px;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: var(--fw-black);
  line-height: 1.2;
  margin-bottom: 22px;
}
.hero__title .accent { color: var(--c-accent-light); }
.hero__text {
  font-size: 1.12rem;
  color: #d6e2e8;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* کنترل‌های اسلایدر */
.hero__controls {
  position: absolute;
  bottom: 40px;
  inset-inline: 0;
  z-index: 5;
}
.hero__controls .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* نقاط ناوبری */
.hero__dots { display: flex; gap: 12px; align-items: center; }
.hero__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero__dot:hover { background: rgba(255,255,255,0.6); }
.hero__dot.active {
  width: 44px;
  border-radius: 50px;
  background: var(--c-accent);
  border-color: rgba(255,255,255,0.4);
}

/* فلش‌ها */
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.hero__arrow:hover { background: var(--c-accent); border-color: var(--c-accent); transform: translateY(-2px); }
.hero__arrow svg { width: 22px; height: 22px; fill: currentColor; }

/* نوار پیشرفت */
.hero__progress {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 4px;
  background: rgba(255,255,255,0.12);
  z-index: 5;
}
.hero__progress-bar {
  height: 100%;
  width: 0;
  background: var(--c-accent);
  transition: width 0.1s linear;
}

.hero__scroll {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 4;
  animation: bounce 2s infinite;
}
.hero__scroll svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (max-width: 768px) {
  .hero__scroll { display: none; }
  .hero__controls { bottom: 24px; }
  .hero__dot { width: 10px; height: 10px; }
  .hero__dot.active { width: 30px; }
  .hero__arrow { width: 40px; height: 40px; }
}

/* ------------------------------ آمار ------------------------------ */
.stats {
  background: var(--c-primary);
  color: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--c-primary);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}
.stat:hover { background: var(--c-primary-light); }
.stat__num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  color: var(--c-accent-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__num .unit { font-size: 1.1rem; opacity: 0.8; }
.stat__label { color: #c4d4dc; font-size: 0.95rem; }

/* ------------------------------ درباره کوتاه ------------------------------ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute;
  bottom: -28px;
  inset-inline-end: -28px;
  background: var(--c-accent);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 200px;
}
.about__badge strong { font-size: 2.2rem; font-weight: var(--fw-black); display: block; line-height: 1; }
.about__badge span { font-size: 0.85rem; opacity: 0.95; }

.about__body p { color: var(--c-text-soft); margin-bottom: 18px; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 32px; }
.about__feature { display: flex; align-items: center; gap: 10px; font-weight: var(--fw-medium); color: var(--c-text); }
.about__feature .dot {
  width: 28px; height: 28px;
  background: rgba(217,119,6,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--c-accent);
}
.about__feature .dot svg { width: 15px; height: 15px; fill: currentColor; }

/* ------------------------------ کارت‌های سرویس/محصول ------------------------------ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--c-concrete); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card__media img { transform: scale(1.06); }

.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.card--accent .card__icon { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light)); }
.card__title { font-size: 1.2rem; margin-bottom: 10px; }
.card__text { color: var(--c-text-soft); font-size: 0.95rem; margin-bottom: 18px; flex: 1; }
.card__link {
  color: var(--c-accent);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}
.card__link svg { width: 16px; height: 16px; fill: currentColor; transition: var(--transition); }
.card__link:hover svg { transform: translateX(-4px); } /* RTL */

/* تگ محصول */
.card__tag {
  display: inline-block;
  background: rgba(21,128,61,0.1);
  color: var(--c-success);
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ------------------------------ CTA بنر ------------------------------ */
.cta-banner {
  background:
    linear-gradient(120deg, rgba(8,42,56,0.95), rgba(8,42,56,0.8)),
    url("../img/cta-bg.svg") center/cover;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: #c4d4dc; max-width: 540px; }

/* ------------------------------ اخبار ------------------------------ */
.news-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text-muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.news-card__date svg { width: 13px; height: 13px; fill: currentColor; }
.news-card__excerpt { color: var(--c-text-soft); font-size: 0.93rem; }

/* ------------------------------ فوتر ------------------------------ */
.footer {
  background: var(--c-footer-bg);
  color: #b6c4cd;
  padding-top: 72px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin: 18px 0; font-size: 0.92rem; line-height: 1.9; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: var(--transition);
}
.footer__social a:hover { background: var(--c-accent); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer__title::after { content: ""; position: absolute; bottom: 0; right: 0; width: 36px; height: 2px; background: var(--c-accent); }
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 0.93rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer__links a:hover { color: var(--c-accent-light); padding-right: 4px; }

.footer__contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 0.92rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; fill: var(--c-accent-light); flex-shrink: 0; margin-top: 4px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a { color: var(--c-accent-light); }

/* ------------------------------ تگ‌ها / چیپس ------------------------------ */
.tag {
  display: inline-block;
  background: var(--c-concrete);
  color: var(--c-text-soft);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
}
.tag--accent { background: rgba(217,119,6,0.12); color: var(--c-accent-dark); }
.tag--primary { background: rgba(13,59,79,0.1); color: var(--c-primary); }

/* ------------------------------ بِردکرمب ------------------------------ */
.breadcrumb {
  background:
    linear-gradient(120deg, rgba(8,42,56,0.93), rgba(8,42,56,0.78)),
    url("../img/page-header.svg") center/cover;
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.breadcrumb h1 { color: #fff; margin-bottom: 12px; }
.breadcrumb__nav { display: inline-flex; gap: 8px; align-items: center; font-size: 0.9rem; color: #c4d4dc; }
.breadcrumb__nav a:hover { color: var(--c-accent-light); }
.breadcrumb__nav .sep { opacity: 0.5; }

/* ------------------------------ محتوای صفحه (درباره ما) ------------------------------ */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.content-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

.timeline { position: relative; padding-right: 30px; }
.timeline::before { content: ""; position: absolute; top: 0; right: 8px; bottom: 0; width: 2px; background: var(--c-border); }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item::before {
  content: "";
  position: absolute;
  right: -30px;
  top: 4px;
  width: 18px; height: 18px;
  background: var(--c-accent);
  border: 4px solid var(--c-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--c-accent);
}
.timeline__year { color: var(--c-accent); font-weight: var(--fw-black); font-size: 1.1rem; margin-bottom: 4px; }
.timeline__title { font-size: 1.1rem; margin-bottom: 6px; }
.timeline__text { color: var(--c-text-soft); font-size: 0.95rem; }

/* اهداف و خط‌مشی */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--c-accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: rgba(217,119,6,0.12);
  color: var(--c-accent);
  border-radius: 20px;
  display: grid; place-items: center;
}
.value-card__icon svg { width: 32px; height: 32px; fill: currentColor; }

/* جدول مشخصات فنی محصول */
.spec-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: right; border-bottom: 1px solid var(--c-border); }
.spec-table th { background: var(--c-primary); color: #fff; font-weight: var(--fw-bold); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--c-concrete); }
.spec-table td:first-child { font-weight: var(--fw-bold); color: var(--c-primary-dark); width: 40%; }

/* آیتم مناقصه */
.tender-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-right: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transition: var(--transition);
}
.tender-item:hover { box-shadow: var(--shadow); transform: translateX(-4px); }
.tender-item__title { font-size: 1.08rem; margin-bottom: 8px; }
.tender-item__meta { display: flex; gap: 18px; color: var(--c-text-muted); font-size: 0.85rem; flex-wrap: wrap; }
.tender-item__meta span { display: inline-flex; align-items: center; gap: 5px; }
.tender-item__meta svg { width: 14px; height: 14px; fill: var(--c-accent); }

/* فرم تماس */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.form { background: var(--c-surface); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form__group { margin-bottom: 18px; }
.form__group label { display: block; font-weight: var(--fw-medium); margin-bottom: 8px; font-size: 0.92rem; }
.form__group input, .form__group textarea, .form__group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--c-bg);
  transition: var(--transition);
}
.form__group input:focus, .form__group textarea:focus, .form__group select:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217,119,6,0.12);
}
.form__group textarea { resize: vertical; min-height: 140px; }
.form-msg.show { opacity: 1 !important; }

.contact-info-card {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-info-card h3 { color: #fff; margin-bottom: 24px; }
.contact-info-card .item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-card .item__icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info-card .item__icon svg { width: 20px; height: 20px; fill: var(--c-accent-light); }
.contact-info-card .item__label { font-size: 0.82rem; color: #a4b8c2; margin-bottom: 2px; }
.contact-info-card .item__value { font-weight: var(--fw-medium); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); height: 420px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* پنل سوالات متداول */
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: right;
  padding: 20px 24px;
  font-weight: var(--fw-bold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--c-primary-dark);
}
.faq-q .icon { transition: var(--transition); flex-shrink: 0; color: var(--c-accent); font-size: 1.4rem; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--c-text-soft);
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 22px; }

/* ------------------------------ نمادهای اعتماد ------------------------------ */
.badges-strip { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.trust-badge {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  transition: var(--transition);
}
.trust-badge:hover { box-shadow: var(--shadow); border-color: var(--c-accent); }
.trust-badge__icon {
  width: 48px; height: 48px;
  background: rgba(13,59,79,0.08);
  color: var(--c-primary);
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-badge__icon svg { width: 24px; height: 24px; fill: currentColor; }
.trust-badge strong { display: block; font-size: 0.95rem; color: var(--c-primary-dark); }
.trust-badge span { font-size: 0.8rem; color: var(--c-text-muted); }

/* ------------------------------ صفحه‌بندی ------------------------------ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pagination a, .pagination span {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-weight: var(--fw-bold);
  color: var(--c-text-soft);
  transition: var(--transition);
}
.pagination a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pagination .current { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ------------------------------ انیمیشن ورود ------------------------------ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------------------ واکنش‌گرا ------------------------------ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about, .content-grid, .contact-layout { grid-template-columns: 1fr; }
  .about__badge { inset-inline-end: 20px; }
  .cards-grid, .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .topbar__group:first-child { display: none; }

  .menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-h));
    background: var(--c-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
  }
  .menu.open { transform: translateX(0); }
  .menu > li > a { padding: 14px 16px; border-radius: var(--radius-sm); }
  .menu > li > a.active::after { display: none; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--c-bg);
    margin-top: 4px;
    display: none;
  }
  .has-sub.open .submenu { display: block; }
  .nav__cta { display: none; }
  .hamburger { display: flex; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .about__features { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid.cols-2, .cards-grid.cols-4, .values-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
  .brand__sub { display: none; }
}

/* بهبود چاپ */
@media print {
  .header, .footer, .topbar, .hero__scroll, .nav__cta { display: none; }
}

/* ==========================================================================
   صفحات ساخته‌شده با صفحه‌ساز (Page Builder)
   ========================================================================== */
.pb-main { min-height: 60vh; }
.pb-pagehead {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  padding: 48px 0;
  margin-bottom: 40px;
}
.pb-pagehead h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: var(--fw-black); }
.pb-content { padding-bottom: 70px; max-width: 900px; }
.pb-heading { color: var(--c-primary); font-weight: var(--fw-bold); margin: 26px 0 14px; line-height: 1.5; }
.pb-text { color: var(--c-text-soft); line-height: 2; margin: 0 0 16px; font-size: 1.02rem; }
.pb-image { margin: 24px 0; }
.pb-image img { display: inline-block; border-radius: var(--radius); box-shadow: var(--shadow); height: auto; }
.pb-btnwrap { margin: 22px 0; }
.pb-divider { border: none; border-top: 1px solid var(--c-border); margin: 34px 0; }
.pb-banner {
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  background-color: var(--c-primary);
  padding: 56px 32px; margin: 30px 0; text-align: center; color: #fff;
}
.pb-banner__inner { max-width: 640px; margin: 0 auto; }
.pb-banner h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: var(--fw-black); margin-bottom: 12px; }
.pb-banner p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 22px; opacity: 0.92; }
.pb-html { margin: 20px 0; }
