@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --saffron: #b81e1e;
  --accent: #e6b23b;
  --bg: #fff6f0;
  --text: #222;
  --muted: #6b6b6b;
  --card: #ffffff;
  --footer-bg: #000000;
  --footer-muted: #aaaaaa;
  --progress-bg: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
}

a {
  text-decoration: none;
}

/* NAVBAR */
.navbar {
  z-index: 60;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  background: #fff;
}
.brand-badge {
  background: linear-gradient(135deg, var(--saffron), #d94a2e);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(184, 30, 30, 0.18);
  font-size: 18px;
}

.lang-switcher button.active {
  background: var(--saffron);
  color: #fff;
  border-color: var(--saffron);
}

/* HERO */
.hero {
  background-image: url("https://images.unsplash.com/photo-1604335399105-2d3b7d6b0fd7?q=80&w=1800&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 0, 0, 0.22),
    rgba(184, 30, 30, 0.75)
  );
}
.hero .container {
  position: relative;
  z-index: 2;
  padding: 52px 0;
}

.btn-saffron {
  background: var(--saffron);
  color: #fff;
  border-radius: 14px;
  border: none;
}
.btn-saffron:hover {
  filter: brightness(1.05);
  color: #fff;
}

.hero-product {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fffaf6);
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.08);
}
.hero-product .slide-img {
  /* max-width: 420px; */
  object-fit: contain;
  width: 100%;
  height: auto;
  background-color: #ffffff;
}
.hero-product .product-meta {
  padding: 14px;
  color: #222;
}
.progress-wrap {
  height: 6px;
  background: var(--progress-bg);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--saffron), var(--accent));
  transition: width linear;
}

/* CARDS */
.product-card {
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.06);
  /* height: 100%; */
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(10, 10, 10, 0.12);
}
.product-card .media {
  /* aspect-ratio: 1/1; */
  border-bottom: 1px solid #f2f2f2;
}
.product-card img {
  object-fit: contain;
  width: 100%;
  height: auto;
}
.product-card .body {
  padding: 14px;
  flex: 1;
}

.feature-card {
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  padding: 16px;
  height: 100%;
}

.article-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}
.article-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.article-card .card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* TESTIMONIALS */
.testi-swiper .swiper-wrapper {
  align-items: stretch;
}
.testi-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.testimonial {
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #fffaf6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial small {
  color: var(--muted);
}
.stars i {
  font-size: 13px;
}

/* CONTACT CARDS (بهبود دیزاین) */
.contact-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(184, 30, 30, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--saffron), var(--accent));
  opacity: 0.9;
}
.contact-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}
.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 30, 30, 0.08);
  color: var(--saffron);
  flex-shrink: 0;
}
.contact-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-card-subtitle {
  font-size: 12px;
  color: var(--muted);
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  color: #f5f5f5;
  padding: 46px 0 24px;
  margin-top: 3rem;
}
footer a {
  color: #ffffff;
}
footer a:hover {
  color: var(--accent);
}
footer .footer-card-inner {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 24px;
  padding-top: 14px;
  color: var(--footer-muted);
  font-size: 13px;
}

/* MODAL */
.modal-header {
  background: linear-gradient(135deg, var(--saffron), #d94a2e);
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero .container {
    padding: 32px 0;
  }
  .hero-product .slide-img {
    /* height: 320px;
    object-fit: contain;
    width: 100%;
    background-color: #ffffff; */
  }
  article.product-card h5 {
    font-size: 16px;
    font-weight: 400 !important;
    text-align: center;
  }
  .hero-product {
    margin: 12px;
  }
}
@media (max-width: 576px) {
  .top {
    margin-right: 8px;
  }
  .hero .container {
    padding: 24px 0 32px;
  }
  .hero-product .slide-img {
    /* height: 240px; */
  }
}
