/* الوگمرک۲۴ — تم سرمه‌ای و قرمز */
:root {
  --navy: #0c1a3a;
  --navy-mid: #152952;
  --navy-light: #1e3a6a;
  --navy-soft: #2a4a7c;
  --red: #c41e3a;
  --red-dark: #9a1830;
  --red-light: #fef2f4;
  --red-soft: #fde8ec;
  --gold: #d4a853;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 4px 24px rgba(12, 26, 58, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 26, 58, 0.15);
  --shadow-red: 0 8px 30px rgba(196, 30, 58, 0.25);
  --bs-primary: #c41e3a;
  --bs-primary-rgb: 196, 30, 58;
  --bs-link-color: #1e3a6a;
  --bs-link-hover-color: #c41e3a;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* aliases for article/blog stylesheets */
  --primary: var(--red);
  --primary-dark: var(--red-dark);
  --primary-light: var(--red-light);
  --primary-soft: var(--red-soft);
  --accent: var(--navy-light);
  --accent-dark: var(--navy);
  --accent-light: #eef2f9;
  --accent-soft: #dce4f0;
  --dark: var(--navy);
  --dark-soft: var(--navy-mid);
  --muted: var(--gray-600);
  --bg: var(--gray-50);
  --light: var(--gray-100);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[dir="rtl"] body { text-align: right; }

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.75;
  overflow-x: hidden;
}

main { min-height: 60vh; }
a { transition: color var(--transition), opacity var(--transition); }
img { max-width: 100%; height: auto; }

/* ─── Top bar ─── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--red);
}

.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { color: var(--gold); }
.top-bar .top-bar-item { display: flex; align-items: center; gap: 0.35rem; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.2;
}

.brand-text .brand-accent { color: var(--red); }
.brand-text .brand-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

.navbar-brand img,
.site-logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .navbar-brand img,
  .site-logo img {
    height: 44px;
    max-width: 180px;
  }
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-600);
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--red);
  background: var(--red-light);
}

.navbar-toggler { border: none; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(196,30,58,0.2); }

.site-search-wrap {
  position: relative;
  flex: 1 1 200px;
  max-width: 280px;
  margin: 0.75rem 0;
}

.site-search-form {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-search-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.site-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  min-width: 0;
}

.site-search-input:focus { outline: none; }

.site-search-submit {
  border: none;
  background: transparent;
  color: var(--gray-600);
  padding: 0.45rem 0.65rem;
}

.site-search-submit:hover { color: var(--red); }

.site-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.35rem;
}

.site-search-result {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
  color: inherit;
}

.site-search-result:hover {
  background: var(--red-light);
  color: var(--navy);
}

.site-search-result img,
.site-search-thumb-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.site-search-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-600);
}

.site-search-result-type {
  display: block;
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 700;
}

.site-search-result-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.site-search-empty {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-align: center;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

.search-result-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.search-result-item img,
.search-result-placeholder {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  font-size: 1.5rem;
  color: var(--gray-600);
}

.search-result-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
}

.search-result-item h3 {
  font-size: 1rem;
  margin: 0.15rem 0 0.35rem;
  color: var(--navy);
}

.search-result-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-600);
}

@media (max-width: 991.98px) {
  .site-search-wrap {
    max-width: 100%;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .site-search-wrap {
    margin: 0 1rem 0 0;
  }
}

/* ─── Buttons ─── */
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.4rem;
  box-shadow: var(--shadow-red);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--red-dark), #7a1228);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196,30,58,0.35);
}

.btn-outline-primary {
  color: var(--red);
  border: 2px solid var(--red);
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.4rem;
}

.btn-navy:hover { background: var(--navy-light); color: #fff; }

.btn-outline-light {
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-whatsapp:hover { background: #1da851; color: #fff; }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  overflow: hidden;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(196,30,58,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,168,83,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.3;
  margin: 1.5rem 0;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--red); position: relative; }
.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.85;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
  display: block;
}

.hero-visual { position: relative; z-index: 2; }

.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
}

.hero-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), background var(--transition);
}

.hero-icon-item:hover {
  transform: translateY(-4px);
  background: rgba(196,30,58,0.15);
  border-color: rgba(196,30,58,0.3);
}

.hero-icon-item i {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.hero-icon-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ─── Sections ─── */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.section-title {
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  color: var(--navy);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

.section-sub {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ─── Feature cards ─── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,30,58,0.2);
}

.feature-card .icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  color: #fff;
  font-size: 1.75rem;
  transition: transform var(--transition);
}

.feature-card:hover .icon-wrap {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ─── Service cards ─── */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card .service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  border-radius: 14px;
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.service-card .service-link:hover { gap: 0.65rem; }

/* ─── Project cards ─── */
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img { transform: scale(1.06); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,26,58,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }

.project-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.project-card-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Countries ─── */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
}

.country-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: all var(--transition);
}

.country-card:hover {
  background: rgba(196,30,58,0.15);
  border-color: rgba(196,30,58,0.3);
  transform: translateY(-4px);
}

.country-card .country-flag {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.country-card span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

/* ─── Steps ─── */
.steps-row { counter-reset: step; }

.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
}

/* ─── Office cards ─── */
.office-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}

.office-card .office-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.office-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.office-card .office-address {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.office-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.office-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.office-contact a:hover { color: var(--red); }

/* ─── FAQ ─── */
.accordion-item {
  border: 1px solid var(--gray-200);
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  padding: 1.15rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--red-light);
  color: var(--red-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(196,30,58,0.15);
}

/* ─── CTA ─── */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--red-dark) 100%);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 0.85rem;
  position: relative;
}

.cta-box p {
  opacity: 0.85;
  margin-bottom: 1.75rem;
  position: relative;
  font-size: 1.05rem;
}

.cta-box .btn-light {
  color: var(--navy);
  font-weight: 800;
}

/* ─── Contact ─── */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  color: var(--red);
  border-radius: 14px;
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  color: var(--navy);
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  text-decoration: none;
}

.contact-info-item a:hover { color: var(--red); }

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.12);
}

.contact-form label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

/* ─── Page header ─── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 3.5rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(196,30,58,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.page-header .text-muted { color: rgba(255,255,255,0.7) !important; }

.breadcrumb-nav {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb-nav a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb-nav a:hover { color: #fff; }

/* ─── Project detail ─── */
.project-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  font-size: 1rem;
  line-height: 2;
  color: var(--gray-600);
}

.project-content img { border-radius: var(--radius-sm); margin: 1rem 0; }

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.project-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  position: relative;
}

.project-detail-layout {
  align-items: flex-start;
}

.project-sidebar {
  position: sticky;
  top: 6.5rem;
}

.project-sidebar .contact-info-card {
  height: auto;
}

.project-related-list li + li {
  border-top: 1px solid var(--gray-200);
}

.project-related-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.5;
}

.project-related-link:hover {
  color: var(--red);
}

.project-related-link img {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

@media (max-width: 991.98px) {
  .project-sidebar {
    position: static;
  }
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12,26,58,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
}

.lightbox-prev { right: 1.5rem; }
.lightbox-next { left: 1.5rem; }

/* ─── Footer ─── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 4.5rem;
}

.site-footer h5 {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer a:hover { color: var(--gold); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.footer-contact i { color: var(--red); margin-top: 0.2rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.82rem;
}

.footer-brand-text {
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
}

.footer-brand-text span { color: var(--red); }

.footer-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* ─── Quick call ─── */
.quick-call-btn {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(90deg, var(--navy), var(--red-dark));
  color: #fff !important;
  padding: 0.95rem 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 -4px 20px rgba(12,26,58,0.3);
}

.quick-call-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ─── Home gallery ─── */
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  background: var(--navy);
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.home-gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 991.98px) {
  .home-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .home-gallery-grid {
    gap: 1rem;
  }
}

@media (max-width: 991.98px) {
  body { padding-bottom: 56px; }
}

/* ─── Pagination ─── */
.pagination .page-link {
  color: var(--navy);
  border-radius: var(--radius-xs);
  margin: 0 3px;
  border: 1px solid var(--gray-200);
}

.pagination .page-item.active .page-link {
  background: var(--red);
  border-color: var(--red);
}

/* ─── 404 ─── */
.error-page { text-align: center; padding: 5rem 1rem; }

.error-page .error-code {
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--navy), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Utilities ─── */
.rounded-12 { border-radius: var(--radius); }
.shadow-soft { box-shadow: var(--shadow); }
.text-primary-custom { color: var(--red) !important; }
.text-navy { color: var(--navy) !important; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
  .hero { padding: 3rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .hero-stats { gap: 1.25rem; }
}

@media (max-width: 575.98px) {
  .hero-card { padding: 1.25rem; }
  .cta-box { padding: 2.5rem 1.25rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat strong { font-size: 1.35rem; }
}
