/* ==========================================================
   Sunshed — استایل سفارشی روی Bootstrap 5 RTL
   ========================================================== */

/* ============ متغیرهای رنگ ============ */
:root {
  --sunshed-lazuli-50:  #f0f4ff;
  --sunshed-lazuli-100: #dbe4ff;
  --sunshed-lazuli-500: #3b5bdb;
  --sunshed-lazuli-600: #3b5bdb;
  --sunshed-lazuli-700: #253b94;
  --sunshed-lazuli-900: #18265c;
  --sunshed-gray-50:  #f9fafb;
  --sunshed-gray-100: #f3f4f6;
  --sunshed-gray-200: #e5e7eb;
  --sunshed-gray-400: #9ca3af;
  --sunshed-gray-500: #6b7280;
  --sunshed-gray-700: #374151;
  --sunshed-radius-sm: 0.75rem;
  --sunshed-radius-md: 1rem;
  --sunshed-radius-lg: 1.5rem;
  --sunshed-radius-xl: 3rem;
  --sunshed-shadow: 0 10px 30px -12px rgba(59,91,219,.12);
  --sunshed-shadow-hover: 0 20px 40px -12px rgba(59,91,219,.25);
}

@font-face {
  font-family: "Pinar-VF";
  src: url("../fonts/Pinar-VF.woff2")
}


@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 100;
	src: url('../fonts/woff/IRANYekanX-Thin.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-Thin.woff2') format('woff2');		
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/woff/IRANYekanX-UltraLight.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-UltraLight.woff2') format('woff2');	
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/woff/IRANYekanX-Light.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-Light.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/woff/IRANYekanX-Medium.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-Medium.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 600;
	src: url('./fonts/woff/IRANYekanX-DemiBold.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-DemiBold.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 800;
	src: url('./fonts/woff/IRANYekanX-ExtraBold.woff') format('woff'),   
	url('./fonts/woff2/IRANYekanX-ExtraBold.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/woff/IRANYekanX-Black.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-Black.woff2') format('woff2');		 
}
@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 950;
	src: url('../fonts/woff/IRANYekanX-ExtraBlack.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-ExtraBlack.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 1000;
	src: url('../fonts/woff/IRANYekanX-Heavy.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-Heavy.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: bold;
	src: url('./fonts/woff/IRANYekanX-Bold.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-Bold.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: normal;
	src: url('./fonts/woff/IRANYekanX-Regular.woff') format('woff'),   
	url('../fonts/woff2/IRANYekanX-Regular.woff2') format('woff2');	
}


/* ============ پایه ============ */
html { scroll-behavior: smooth; }
body {
  font-family: 'IRANYekanX', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  color: var(--sunshed-gray-700);
  background-color: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
h1, h2, h3, h4, h5, h6 { color: var(--sunshed-lazuli-900); }
h1, h2{
  font-family: 'Pinar-VF', system-ui, -apple-system, sans-serif;
}
/* ============ رنگ‌ها ============ */
.bg-lazuli-50  { background-color: var(--sunshed-lazuli-50) !important; }
.bg-lazuli-100 { background-color: var(--sunshed-lazuli-100) !important; }
.bg-lazuli-500 { background-color: var(--sunshed-lazuli-500) !important; }
.bg-lazuli-700 { background-color: var(--sunshed-lazuli-700) !important; }
.bg-lazuli-900 { background-color: var(--sunshed-lazuli-900) !important; }
.text-lazuli-500 { color: var(--sunshed-lazuli-500) !important; }
.text-lazuli-600 { color: var(--sunshed-lazuli-600) !important; }
.text-lazuli-700 { color: var(--sunshed-lazuli-700) !important; }
.text-lazuli-900 { color: var(--sunshed-lazuli-900) !important; }
.border-lazuli-100 { border-color: var(--sunshed-lazuli-100) !important; }
.border-lazuli-500 { border-color: var(--sunshed-lazuli-500) !important; }
.text-gray-400-sunshed { color: var(--sunshed-gray-400) !important; }
.text-gray-500-sunshed { color: var(--sunshed-gray-500) !important; }
.bg-gray-50-sunshed { background-color: var(--sunshed-gray-50) !important; }
.bg-gray-100-sunshed { background-color: var(--sunshed-gray-100) !important; }
.border-gray-100-sunshed { border-color: var(--sunshed-gray-100) !important; }
.border-gray-200-sunshed { border-color: var(--sunshed-gray-200) !important; }

/* ============ دکمه‌ها ============ */
.btn-lazuli {
  background-color: var(--sunshed-lazuli-500);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 25px -8px rgba(59,91,219,.5);
  transition: all .3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.btn-lazuli:hover, .btn-lazuli:focus {
  background-color: var(--sunshed-lazuli-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -8px rgba(37,59,148,.55);
}
.btn-lazuli-outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all .3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-lazuli-outline:hover {
  background-color: #fff;
  color: var(--sunshed-lazuli-700);
  border-color: #fff;
}
.btn-lazuli-light {
  background-color: #fff;
  color: var(--sunshed-lazuli-700);
  border-radius: 999px;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,.15);
  transition: all .3s ease-in-out;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-lazuli-light:hover {
  background-color: var(--sunshed-lazuli-50);
  color: var(--sunshed-lazuli-700);
}

/* ============ گردی گوشه ============ */
.rounded-xl  { border-radius: var(--sunshed-radius-sm) !important; }
.rounded-2xl { border-radius: var(--sunshed-radius-md) !important; }
.rounded-3xl { border-radius: var(--sunshed-radius-lg) !important; }
.rounded-t-3xl {
  border-top-right-radius: var(--sunshed-radius-lg) !important;
  border-top-left-radius: var(--sunshed-radius-lg) !important;
}
.rounded-t-4xl {
  border-top-right-radius: var(--sunshed-radius-xl) !important;
  border-top-left-radius: var(--sunshed-radius-xl) !important;
}
.rounded-pill { border-radius: 999px !important; }
.rounded-4xl  { border-radius: var(--sunshed-radius-xl) !important; }

/* ============ سایه‌ها ============ */
.shadow-lazuli         { box-shadow: var(--sunshed-shadow) !important; }
.shadow-lazuli-lg      { box-shadow: 0 25px 50px -12px rgba(59,91,219,.25) !important; }
.shadow-lazuli-hover:hover { box-shadow: var(--sunshed-shadow-hover) !important; }

/* ============ کارت ============ */
.card-sunshed {
  background: #fff;
  border: 1px solid var(--sunshed-gray-100);
  border-radius: var(--sunshed-radius-lg);
  box-shadow: var(--sunshed-shadow);
  transition: all .3s ease-in-out;
  overflow: hidden;
}
.card-sunshed:hover { box-shadow: var(--sunshed-shadow-hover); }
.hover-lift { transition: all .3s ease-in-out; }
.hover-lift:hover { transform: translateY(-8px); }

/* ============ تایپوگرافی ============ */
.title-xl  { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
.title-lg  { font-size: 2rem;   font-weight: 700; line-height: 1.3; }
.title-md  { font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.title-sm  { font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.lead-sm   { font-size: .875rem; line-height: 1.9; color: var(--sunshed-gray-500); }
.text-xs-sunshed { font-size: .75rem; }
.text-sm-sunshed { font-size: .875rem; }
.line-through { text-decoration: line-through; }
.not-italic { font-style: normal; }

@media (max-width: 768px) {
  .title-xl { font-size: 1.75rem; }
  .title-lg { font-size: 1.5rem; }
}

/* ============ اسلایدر Hero ============ */
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.slide.active .slide-img { transform: scale(1); }
.hero-section { position: relative; height: 680px; overflow: hidden; }
@media (max-width: 768px) { .hero-section { height: 500px; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(24,38,92,.9), rgba(24,38,92,.5), transparent);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .75rem;
  padding: .375rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-title { color: #fff; font-size: 3.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 1.25rem; }
.hero-title .accent { color: var(--sunshed-lazuli-100); }
.hero-desc { color: rgba(255,255,255,.85); font-size: 1.125rem; line-height: 1.9; max-width: 540px; margin-bottom: 2rem; }
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: .875rem; }
}
.hero-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .75rem; z-index: 10;
}
.hero-dots button {
  width: 12px; height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  border: none; cursor: pointer;
  transition: all .3s;
}
.hero-dots button.active { background: #fff; width: 32px; }

/* ============ منوی موبایل ============ */
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height .4s ease; background:#fff; }
.mobile-menu.open { max-height: 700px; }

/* ============ آکاردئون FAQ ============ */
.acc-body {
  max-height: 0; overflow: hidden;
  padding-top: 0; padding-bottom: 0;
  transition: max-height .45s ease, padding .3s ease;
}
.acc-body.open { max-height: 900px; padding-bottom: 1.25rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--sunshed-gray-100);
  border-radius: var(--sunshed-radius-md);
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem;
  text-align: right;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-q span { font-weight: 500; color: var(--sunshed-lazuli-900); font-size: .875rem; padding-left: 1rem; }
.faq-q i { color: var(--sunshed-lazuli-500); flex-shrink: 0; }

/* ============ شمارنده ============ */
.counter { font-variant-numeric: tabular-nums; }

/* ============ انیمیشن ورود ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ کارت خدمات ============ */
.service-card .service-icon { transition: all .4s ease; }
.service-card:hover .service-icon {
  background-color: var(--sunshed-lazuli-500);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}
.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--sunshed-radius-md);
  background-color: var(--sunshed-lazuli-50);
  color: var(--sunshed-lazuli-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* ============ خط زمان ============ */
.timeline-line {
  position: absolute; top: 34px; right: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--sunshed-lazuli-100), var(--sunshed-lazuli-500), var(--sunshed-lazuli-100));
  z-index: 0;
}

/* ============ کارت پروژه ============ */
.project-card img { transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.08); }

/* ============ اسکرول‌بار ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sunshed-lazuli-50); }
::-webkit-scrollbar-thumb { background: var(--sunshed-lazuli-500); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--sunshed-lazuli-700); }

/* ============ Marquee ============ */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.marquee {
  display: flex; gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

/* ==========================================================
   Carousel — با دکمه‌های بالای کارت (طرح مدرن)
   ========================================================== */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 .5rem;
}
@media (min-width: 992px) {
  .carousel-wrap { padding: 0 1.5rem; }
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel-track > * { flex: 0 0 100%; min-width: 0; }
@media (min-width: 640px) {
  .carousel-track > * { flex: 0 0 calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1024px) {
  .carousel-track > * { flex: 0 0 calc((100% - 3rem) / 3); }
}
.carousel-track.cols-4 > * { flex: 0 0 100%; }
@media (min-width: 640px) {
  .carousel-track.cols-4 > * { flex: 0 0 calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1024px) {
  .carousel-track.cols-4 > * { flex: 0 0 calc((100% - 4.5rem) / 4); }
}

/* دکمه‌های ناوبری بالای کارت */
.carousel-nav-top {
  display: flex;
  gap: .75rem;
}
.carousel-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--sunshed-lazuli-700);
  border: 1px solid rgba(59,91,219,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(59,91,219,.25);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  outline: none;
}
.carousel-nav-btn i {
  font-size: .9375rem;
  transition: transform .3s ease;
}
.carousel-nav-btn:hover {
  background: var(--sunshed-lazuli-500);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -8px rgba(59,91,219,.5);
  border-color: var(--sunshed-lazuli-500);
}
.carousel-nav-btn:active { transform: translateY(-1px) scale(.95); }
.carousel-nav-btn.prev:hover i { transform: translateX(-2px); }
.carousel-nav-btn.next:hover i { transform: translateX(2px); }

@media (max-width: 768px) {
  .carousel-nav-btn { width: 42px; height: 42px; }
  .carousel-nav-btn i { font-size: .8125rem; }
}

/* دات‌ها */
.carousel-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 2rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
}
.carousel-dot.active { background: var(--sunshed-lazuli-500); width: 26px; border-radius: 4px; }

/* ============ سایدبار FAQ ============ */
.faq-cat-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  border-radius: .85rem;
  color: var(--sunshed-gray-500);
  font-size: .875rem;
  transition: all .3s ease;
}
.faq-cat-link:hover, .faq-cat-link.active {
  background-color: var(--sunshed-lazuli-50);
  color: var(--sunshed-lazuli-700);
}
.faq-cat-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: .75rem;
  background-color: var(--sunshed-lazuli-50);
  color: var(--sunshed-lazuli-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .95rem;
}
.faq-cat-link:hover .faq-cat-icon, .faq-cat-link.active .faq-cat-icon {
  background-color: var(--sunshed-lazuli-500);
  color: #fff;
}

/* ============ گالری محصول ============ */
.thumb { transition: all .3s ease; cursor: pointer; border: 2px solid transparent; }
.thumb.active { border-color: var(--sunshed-lazuli-500); box-shadow: 0 0 0 2px var(--sunshed-lazuli-500); }

/* ============ تب‌ها ============ */
.tab-btn {
  padding: 1rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--sunshed-gray-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.tab-btn:hover { color: var(--sunshed-lazuli-500); }
.tab-btn.active {
  color: var(--sunshed-lazuli-500);
  border-bottom-color: var(--sunshed-lazuli-500);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============ برچسب تخفیف ============ */
.badge-sale {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

/* ============ انیمیشن شناور ============ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* ============ Header ============ */
.sunshed-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sunshed-gray-100);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sunshed-topbar {
  background: var(--sunshed-lazuli-900);
  color: #fff;
  font-size: .75rem;
}
.sunshed-topbar a { color: #fff; }
.sunshed-topbar a:hover { color: var(--sunshed-lazuli-100); }
.sunshed-logo-text-main {
  font-weight: 700;
  color: var(--sunshed-lazuli-900);
  font-size: 1.125rem;
  line-height: 1.2;
}
.sunshed-logo-text-sub {
  font-size: 10px;
  color: var(--sunshed-gray-400);
  line-height: 1;
}
.nav-link-sunshed {
  color: var(--sunshed-gray-700);
  font-size: .875rem;
  font-weight: 500;
  transition: color .3s ease;
  padding: .25rem 0;
}
.nav-link-sunshed:hover,
.nav-link-sunshed.active { color: var(--sunshed-lazuli-500); }
.cart-icon-wrap {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sunshed-lazuli-50);
  color: var(--sunshed-lazuli-500);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.cart-icon-wrap:hover { background: var(--sunshed-lazuli-500); color: #fff; }
.cart-count-badge {
  position: absolute; top: -4px; right: -4px;
  background: #ef4444; color: #fff;
  font-size: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ============ Footer ============ */
.sunshed-footer {
  background: linear-gradient(to top, var(--sunshed-lazuli-900), var(--sunshed-lazuli-700));
  color: #fff;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  margin-top: 5rem;
  border-top-right-radius: 3rem;
  border-top-left-radius: 3rem;
}
.sunshed-footer h3, .sunshed-footer h4 { color: #fff; }
.sunshed-footer a { color: rgba(255,255,255,.7); transition: color .3s ease; text-decoration: none; }
.sunshed-footer a:hover { color: #fff; }
.sunshed-footer ul { padding: 0; margin: 0; }
.sunshed-footer ul li { list-style: none; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
  color: #fff;
}
.footer-social:hover { background: #fff; color: var(--sunshed-lazuli-700) !important; }

/* ============ فرم‌ها ============ */
.form-control-sunshed {
  background-color: var(--sunshed-gray-50);
  border: 1px solid var(--sunshed-gray-200);
  border-radius: var(--sunshed-radius-sm);
  padding: .75rem 1rem;
  font-size: .875rem;
  transition: all .3s ease;
  width: 100%;
}
.form-control-sunshed:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,91,219,.15);
  border-color: transparent;
  background-color: var(--sunshed-gray-50);
}
.form-label-sunshed {
  display: block;
  font-size: .75rem;
  color: var(--sunshed-gray-500);
  margin-bottom: .5rem;
}

/* ============ CTA ============ */
.cta-block {
  background: linear-gradient(to left, var(--sunshed-lazuli-700), var(--sunshed-lazuli-500));
  color: #fff;
  border-radius: 3rem;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-block h2 { color: #fff; }
@media (max-width: 768px) { .cta-block { padding: 2rem; } }

/* ============ Sidebar sticky ============ */
@media (min-width: 1024px) {
  .sticky-lg { position: sticky; top: 7rem; align-self: flex-start; }
}

/* ============ Section Hero کوچک ============ */
.page-hero {
  position: relative;
  background-color: var(--sunshed-lazuli-900);
  color: #fff;
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .25;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, var(--sunshed-lazuli-900), rgba(24,38,92,.85), rgba(24,38,92,.6));
}
.page-hero-content {
  position: relative;
  padding: 5rem 1.5rem;
  text-align: center;
}
.page-hero-content h1 { color: #fff; font-size: 3rem; font-weight: 700; margin-bottom: 1.25rem; }
@media (max-width: 768px) {
  .page-hero-content h1 { font-size: 1.75rem; }
  .page-hero-content { padding: 3rem 1rem; }
}
.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-size: .75rem;
  color: #fff;
}
.breadcrumb-pill a { color: rgba(255,255,255,.8); }
.breadcrumb-pill a:hover { color: #fff; }

/* ============ آمار ============ */
.stat-box {
  border-radius: var(--sunshed-radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all .3s ease;
}
.stat-box.primary {
  background: linear-gradient(135deg, var(--sunshed-lazuli-500), var(--sunshed-lazuli-700));
  color: #fff;
  box-shadow: 0 20px 40px -12px rgba(59,91,219,.4);
}
.stat-box.light {
  background: #fff;
  border: 1px solid var(--sunshed-gray-100);
  box-shadow: var(--sunshed-shadow);
}
.stat-number { font-size: 2.25rem; font-weight: 700; margin-bottom: .5rem; }
.stat-box.primary .stat-number { color: #fff; }
.stat-box.light .stat-number { color: var(--sunshed-lazuli-600); }
.stat-label { font-size: .875rem; }
.stat-box.primary .stat-label { color: rgba(255,255,255,.85); }
.stat-box.light .stat-label { color: var(--sunshed-gray-500); }

/* ============ Table ============ */
.table-sunshed {
  width: 100%;
  font-size: .875rem;
  border-collapse: collapse;
}
.table-sunshed td {
  padding: .75rem 0;
  border-bottom: 1px solid var(--sunshed-gray-100);
}
.table-sunshed td:first-child { color: var(--sunshed-gray-400); width: 33%; }
.table-sunshed td:last-child { color: var(--sunshed-gray-700); font-weight: 500; }

/* ============ Container ============ */
.container-sunshed {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .container-sunshed { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* ==========================================================
   ویژگی‌های ۳بعدی + Process (بهبودیافته قبلی)
   ========================================================== */
.icon-3d {
  width: 72px;
  height: 72px;
  position: relative;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(59,91,219,.25));
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.icon-3d:hover { transform: translateY(-4px) rotate(-3deg); }
.icon-3d svg { width: 100%; height: 100%; display: block; }

.features-strip-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px -12px rgba(59,91,219,.12);
  border: 1px solid var(--sunshed-gray-100);
  transition: all .35s ease;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
}
.features-strip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(59,91,219,.25);
  border-color: var(--sunshed-lazuli-100);
}
.features-strip-card h3 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--sunshed-lazuli-900);
  margin-bottom: .375rem;
}
.features-strip-card p {
  font-size: .75rem;
  color: var(--sunshed-gray-500);
  margin: 0;
  line-height: 1.7;
}
.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: linear-gradient(135deg, var(--sunshed-lazuli-500), var(--sunshed-lazuli-700));
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  padding: .25rem .625rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(59,91,219,.35);
  margin-top: .5rem;
  letter-spacing: .5px;
}

/* Process */
.process-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--sunshed-lazuli-50) 100%);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .process-grid { grid-template-columns: 1fr; } }
.process-line {
  position: absolute;
  top: 56px;
  right: 10%;
  left: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--sunshed-lazuli-100) 10%, var(--sunshed-lazuli-500) 50%, var(--sunshed-lazuli-100) 90%, transparent 100%);
  z-index: 1;
}
@media (max-width: 991px) { .process-line { display: none; } }
.process-step { position: relative; text-align: center; padding: 0 .5rem; }
.process-num-wrap {
  position: relative;
  width: 112px; height: 112px;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.process-num-glow {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,91,219,.15), transparent 70%);
  animation: pulse-ring 3s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%      { transform: scale(1.15); opacity: .3; }
}
.process-num {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sunshed-lazuli-500), var(--sunshed-lazuli-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(59,91,219,.5);
  border: 4px solid #fff;
  transition: transform .4s ease;
}
.process-step:hover .process-num { transform: scale(1.08); }
.process-icon-mini {
  width: 32px; height: 32px;
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sunshed-lazuli-500);
  font-size: .875rem;
  box-shadow: 0 4px 12px rgba(59,91,219,.25);
  border: 2px solid var(--sunshed-lazuli-50);
}
.process-step h3 { font-size: .9375rem; font-weight: 700; color: var(--sunshed-lazuli-900); margin-bottom: .5rem; }
.process-step p { font-size: .75rem; color: var(--sunshed-gray-500); line-height: 1.8; max-width: 180px; margin: 0 auto; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px; left: -8px;
  width: 16px; height: 16px;
  background: #fff;
  border-top: 3px solid var(--sunshed-lazuli-500);
  border-right: 3px solid var(--sunshed-lazuli-500);
  transform: rotate(-135deg);
  z-index: 3;
  box-shadow: 3px -3px 0 var(--sunshed-lazuli-50);
}
@media (max-width: 991px) { .process-step:not(:last-child)::after { display: none; } }

/* ============ Blog-item (اصلاح‌شده برای موبایل) ============ */
.blog-item {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}
.blog-item__media {
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.blog-item__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.blog-item:hover .blog-item__media img { transform: scale(1.06); }
.blog-item__body {
  flex-grow: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (min-width: 768px) {
  .blog-item { flex-direction: row; align-items: stretch; }
  .blog-item__media { width: 240px; height: auto; min-height: 208px; }
}

/* ============ آیکون مشخصات پروژه ============ */
.spec-icon-3d {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  filter: drop-shadow(0 6px 12px rgba(59,91,219,.2));
  transition: transform .4s ease;
}
.spec-icon-3d svg { width: 100%; height: 100%; display: block; }
.spec-icon-3d:hover { transform: translateY(-3px) scale(1.05); }
.spec-card {
  background: var(--sunshed-lazuli-50);
  border-radius: var(--sunshed-radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all .3s ease;
}
.spec-card:hover {
  background: #fff;
  box-shadow: 0 10px 25px -10px rgba(59,91,219,.25);
}
.spec-card .spec-label { font-size: .75rem; color: var(--sunshed-gray-400); margin: 0; }
.spec-card .spec-value { font-weight: 700; color: var(--sunshed-lazuli-900); font-size: .875rem; margin: 0; }



/* انیمیشن fade-in برای کارت‌های بلاگ */
@keyframes blogFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-animate {
    animation: blogFadeIn 0.45s ease-out both;
}

/* تأخیر پله‌ای برای هر کارت (اختیاری) */
.blog-animate:nth-child(1) { animation-delay: 0.05s; }
.blog-animate:nth-child(2) { animation-delay: 0.10s; }
.blog-animate:nth-child(3) { animation-delay: 0.15s; }
.blog-animate:nth-child(4) { animation-delay: 0.20s; }
.blog-animate:nth-child(5) { animation-delay: 0.25s; }
.blog-animate:nth-child(6) { animation-delay: 0.30s; }

/* ==========================================================
   Marquee لوگوی مشتریان
   ========================================================== */
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}
.clients-marquee::before {
  right: 0;
  background: linear-gradient(to left, var(--sunshed-lazuli-50), transparent);
}
.clients-marquee::after {
  left: 0;
  background: linear-gradient(to right, var(--sunshed-lazuli-50), transparent);
}

.client-logo-box {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--sunshed-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: 0 4px 15px -8px rgba(59,91,219,.15);
  transition: all .3s ease;
}
.client-logo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -8px rgba(59,91,219,.3);
  border-color: var(--sunshed-lazuli-100);
}
.client-logo-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(.6);
  transition: filter .3s ease;
}
.client-logo-box:hover img {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 767px) {
  .client-logo-box {
    width: 140px;
    height: 80px;
    padding: .875rem;
  }
}

/* ==========================================================
   لوگوی Sunshed — فقط عکس
   ========================================================== */
.sunshed-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  height: 70px;
}
.sunshed-logo:hover {
  transform: scale(1.04);
}
.sunshed-logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* فوتر */
.sunshed-footer .sunshed-logo {
  height: 80px;
  margin-bottom: 1.5rem;
}
.sunshed-footer .sunshed-logo img {
  filter: brightness(1.15) drop-shadow(0 4px 12px rgba(0,0,0,.2));
}

/* موبایل */
@media (max-width: 767px) {
  .sunshed-logo { height: 55px; }
  .sunshed-footer .sunshed-logo { height: 65px; }
}

/* حذف استایل‌های قدیمی متن لوگو */
.sunshed-logo-text-main,
.sunshed-logo-text-sub,
.sunshed-logo__text,
.sunshed-logo__main,
.sunshed-logo__sub {
  display: none;
}

.sunshed-header .container-sunshed {
  height: 100px !important;
}
@media (max-width: 767px) {
  .sunshed-header .container-sunshed {
    height: 80px !important;
  }
}