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

/* ── Design tokens ── */
:root {
  --blue:        #0D5C9E;
  --blue-dark:   #0A4F8A;
  --blue-light:  #1A6EB5;
  --green:       #2A8C55;
  --green-dark:  #237A49;
  --navy:        #0A1F3D;
  --navy-mid:    #102848;
  --bg-alt:      #EEF3F8;
  --bg-light:    #F7FAFD;
  --white:       #FFFFFF;
  --text:        #1E2D3D;
  --text-muted:  #5A6F84;
  --border:      #D3E0ED;
  --border-light:#E8EFF7;

  --shadow-sm:   0 1px 4px rgba(13,92,158,0.07);
  --shadow-md:   0 4px 20px rgba(13,92,158,0.10);
  --shadow-lg:   0 8px 40px rgba(13,92,158,0.14);
  --shadow-blue: 0 6px 24px rgba(13,92,158,0.28);
  --shadow-green:0 6px 24px rgba(42,140,85,0.28);

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;

  --transition:  all 0.22s ease;
  --transition-fast: all 0.15s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
svg { flex-shrink: 0; }

/* ── Typography ── */
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.35; color: var(--navy); }
h2 { font-size: clamp(1.4rem,  3vw, 2rem);   font-weight: 700; line-height: 1.4;  color: var(--navy); }
h3 { font-size: clamp(1.1rem, 2.5vw,1.45rem);font-weight: 700; line-height: 1.45; color: var(--navy); }
h4 { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
p  { line-height: 1.85; }

/* ── Container ── */
.container {
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Section spacing ── */
.section { padding-block: 88px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; max-width: 560px; margin-inline: auto; }
.section-badge {
  display: inline-block;
  background: rgba(13,92,158,0.08);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-dark .section-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10,31,61,0.30);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-sm { padding: 9px 20px; font-size: 0.875rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(13,92,158,0.10); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: rgba(13,92,158,0.07);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-phone:hover { color: var(--blue); }

/* Hamburger button */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--border); }
.hamburger { display: flex; flex-direction: column; gap: 5px; }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile overlay ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,31,61,0.45);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-overlay.open { display: block; opacity: 1; }

/* ── Mobile nav ── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transition: right 0.28s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(10,31,61,0.2);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--border-light);
}
.nav-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav-close:hover { background: var(--bg-alt); color: var(--navy); }
.mobile-nav-links { flex: 1; padding: 12px 0; }
.mobile-nav-link {
  display: block;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s, background 0.15s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--blue); background: var(--bg-alt); }
.mobile-nav-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
}
.mobile-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  direction: ltr;
  justify-content: flex-end;
}

/* ── Hero ── */
.hero {
  display: flex;
  min-height: 580px;
  overflow: hidden;
}
.hero-image {
  flex: 0 0 55%;
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(10,31,61,0.18) 0%, transparent 60%);
}
.hero-content {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 64px 48px;
  background: var(--white);
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,92,158,0.08);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}
.hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
}
.hero-content h1 span { color: var(--blue); }
.hero-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 420px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Trust strip ── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-block: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-light);
}
.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  color: var(--blue);
}
.trust-icon.green { color: var(--green); }
.trust-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.trust-text span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ── Category cards ── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}
.cat-card:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
  color: var(--white);
}
.cat-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
  color: var(--blue);
  margin: 0 auto 20px;
  transition: var(--transition);
}
.cat-card:hover .cat-card-icon { background: rgba(255,255,255,0.18); color: var(--white); }
.cat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.cat-card-count {
  font-size: 0.825rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.cat-card:hover .cat-card-count { color: rgba(255,255,255,0.75); }

/* ── Product cards ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.product-card-image {
  height: 210px;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.35s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-cat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.product-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  line-height: 1.4;
}
.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
  margin-top: auto;
}
.product-price.price-inquiry { color: var(--green); }
.product-card-action {
  display: block;
  text-align: center;
  padding: 10px 20px;
  background: var(--bg-alt);
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  border: 1.5px solid transparent;
  text-decoration: none;
}
.product-card-action:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── Features / Why Choose Us ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--white);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
  color: var(--blue);
  transition: var(--transition);
}
.feature-item:hover .feature-icon { background: var(--blue); color: var(--white); }
.feature-item h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── About section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,31,61,0.2), transparent);
  pointer-events: none;
}
.about-badge { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 18px; }
.about-content > p { color: var(--text-muted); font-size: 1rem; line-height: 1.9; margin-bottom: 32px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.stat-item {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1.2;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-quote {
  color: var(--blue);
  opacity: 0.25;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  flex: 1;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.author-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #F5A623;
}

/* ── CTA banner ── */
.cta-banner {
  background: var(--navy);
  padding-block: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(13,92,158,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(42,140,85,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 520px; margin: 0 auto 36px; }
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Custom section ── */
.custom-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.custom-section-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.custom-section-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.custom-features-list { margin: 24px 0 36px; }
.custom-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.custom-feature:last-child { border-bottom: none; }
.custom-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(13,92,158,0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.custom-feature h4 { font-size: 0.95rem; margin-bottom: 4px; }
.custom-feature p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Footer ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-block: 64px 40px;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  padding: 4px;
}
.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.footer-cooperation {
  max-width: 280px;
}
.footer-cooperation .footer-heading {
  margin-bottom: 12px;
}
.footer-coop-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.15s;
}
.footer-coop-phone:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  transition: var(--transition-fast);
}
.social-link:hover { background: var(--blue); color: var(--white); }
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-links-list a:hover { color: var(--white); }
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-info a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-contact-info a:hover { color: var(--white); }
.fc-icon { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.footer-trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-badge-box {
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-made a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-made a:hover { color: var(--white); }

/* ── Page stubs ── */
.stub-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.stub-page .stub-icon {
  width: 80px; height: 80px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 24px;
}
.stub-page h1 { font-size: 2rem; margin-bottom: 14px; }
.stub-page p { color: var(--text-muted); margin-bottom: 32px; max-width: 420px; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-block: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { font-size: 0.7rem; color: var(--border); }

/* ── Utility classes ── */
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.fw-bold     { font-weight: 700; }
.fw-semi     { font-weight: 600; }
.mt-2        { margin-top: 8px; }
.mt-4        { margin-top: 16px; }
.mt-8        { margin-top: 32px; }
.mb-0        { margin-bottom: 0; }
.d-none      { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Responsive 1100px ── */
@media (max-width: 1100px) {
  .hero-content { padding: 48px 40px 48px 36px; }
  .about-grid { gap: 40px; }
  .custom-section-grid { gap: 40px; }
}

/* ── Responsive 900px ── */
@media (max-width: 900px) {
  .section { padding-block: 64px; }
  .features-grid  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cats-grid      { grid-template-columns: repeat(2, 1fr); }
  .products-grid  { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item + .trust-item::before { display: none; }
}

/* ── Responsive 768px ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-actions > .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { flex-direction: column; min-height: auto; }
  .hero-image { flex: 0 0 260px; height: 260px; width: 100%; order: 1; }
  .hero-content { flex: none; order: 2; padding: 40px 24px; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-content p { font-size: 0.95rem; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-wrap { order: 2; }
  .about-content { order: 1; }
  .about-image-wrap img { height: 280px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .custom-section-grid { grid-template-columns: 1fr; }
  .custom-section-image { order: 2; }
}

/* ── Responsive 576px ── */
@media (max-width: 576px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 48px; }
  .section-header { margin-bottom: 36px; }
  .cats-grid      { grid-template-columns: 1fr 1fr; gap: 12px; }
  .products-grid  { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .features-grid  { grid-template-columns: 1fr; }
  .about-stats    { grid-template-columns: 1fr; gap: 10px; }
  .hero-actions   { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .cta-banner { padding-block: 56px; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
}

/* ── Responsive 390px ── */
@media (max-width: 390px) {
  .brand-name { display: none; }
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { padding: 24px 12px 20px; }
  .cat-card-icon { width: 56px; height: 56px; }
}

/* ════════════════════════════════════════════
   STAGE 2: new-page components
   ════════════════════════════════════════════ */

/* ── Navbar cart & account buttons ── */
.nav-cart-btn, .nav-account-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.nav-cart-btn:hover, .nav-account-btn:hover {
  color: var(--blue);
  background: rgba(13,92,158,0.07);
}
.cart-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--green);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  min-width: 16px;
  height: 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ── Product detail ── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}
.product-gallery { position: sticky; top: 96px; }
.gallery-main {
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 28px;
  margin-bottom: 12px;
}
.gallery-main img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  transition: opacity 0.2s;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
}
.gallery-thumb {
  width: 80px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-light);
  background: var(--bg-alt);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.gallery-thumb:hover { border-color: var(--blue); }
.gallery-thumb.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(13,92,158,0.2); }

.product-detail-info h1 { font-size: clamp(1.3rem,2.5vw,1.8rem); margin-top: 14px; margin-bottom: 16px; }
.product-price-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.price-label { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.product-in-stock {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
}
.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.product-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Pack option selector */
.pack-options { display: flex; gap: 10px; flex-wrap: wrap; }
.pack-option {
  position: relative;
  cursor: pointer;
}
.pack-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pack-option span {
  display: block;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: var(--transition-fast);
  cursor: pointer;
}
.pack-option input[type="radio"]:checked + span {
  border-color: var(--blue);
  background: rgba(13,92,158,0.07);
  color: var(--blue);
}
.pack-option span:hover { border-color: var(--blue); }

/* Quantity control */
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  width: fit-content;
}
.qty-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--text);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--border); color: var(--navy); }
.qty-input {
  width: 56px;
  text-align: center;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  outline: none;
  padding: 0 4px;
}

/* ── Cart page ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
.cart-items-col { display: flex; flex-direction: column; gap: 12px; }
.cart-item-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.cart-item-img {
  width: 72px;
  height: 72px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item-meta {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.cart-item-name:hover { color: var(--blue); }
.cart-item-cat { font-size: 0.78rem; color: var(--blue); }
.cart-item-price { font-size: 0.9rem; font-weight: 700; color: var(--blue); margin-top: 4px; }
.cart-item-price.price-inquiry { color: var(--green); }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cart-update-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-pack-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
}
.cart-pack-select:focus { border-color: var(--blue); }
.cart-remove-form { margin-right: auto; }
.cart-remove-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
}
.cart-remove-btn:hover { background: #FEF2F2; color: #DC2626; border-color: #FCA5A5; }
.cart-summary-col {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 88px;
}

/* ── Checkout ── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  margin-top: 32px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ── Auth pages (login / register) ── */
.auth-page {
  min-height: calc(100vh - 72px - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-lg);
}
.auth-card-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-card-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(13,92,158,0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.auth-card-header h1 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.auth-card-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}
.auth-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}
.auth-input:focus { border-color: var(--blue); }
.auth-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.auth-alert-success { background: #EBF8F1; border: 1.5px solid var(--green); color: var(--green-dark); }
.auth-alert-error   { background: #FEF2F2; border: 1.5px solid #EF4444; color: #DC2626; }
.auth-card-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.auth-card-footer a { color: var(--blue); font-weight: 700; }
.auth-card-footer a:hover { text-decoration: underline; }

/* ── Responsive: product detail ── */
@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-col { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .account-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .gallery-thumbs { justify-content: center; }
  .cart-item-card { flex-direction: column; }
  .cart-remove-form { margin-right: 0; }
  .auth-card { padding: 28px 20px 24px; }
  .pack-options { flex-direction: column; }
  .contact-form-card { padding: 24px 18px; }
}
