/* ==========================================================================
   تاب‌تک — Main stylesheet
   Sections: 1) Tokens  2) Reset  3) Layout  4) Header/Nav  5) Buttons
   6) Hero slider  7) Stats bar  8) Cards  9) Forms  10) Footer
   11) Page hero  12) Blog/Article  13) Filters  14) Error pages
   15) Responsive  16) Motion
   ========================================================================== */

   :root {
    --navy:        #1B2B26;
    --navy-ink:    #14211D;
    --blue:        #2E5D4E;
    --blue-deep:   #1C3A30;
    --blue-soft:   #CCD1B0;
  
    --paper:       #F3F2F2;
    --white:       #FFFFFF;
    --tint-1:      #E6E9D6;
    --tint-2:      #EDEFE3;
    --tint-3:      #F1F2EA;
    --tint-img:    #E7E7E4;
  
    --text:        #1B2B26;
    --muted:       #5C6A64;
    --muted-2:     #4A5751;
    --muted-3:     #8C978F;
  
    --line:        rgba(27, 43, 38, 0.08);
    --line-2:      rgba(27, 43, 38, 0.14);
    --shadow-sm:   0 2px 8px rgba(27, 43, 38, 0.07);
    --shadow-md:   0 18px 38px rgba(27, 43, 38, 0.14);
    --shadow-lg:   0 24px 50px rgba(27, 43, 38, 0.18);
  
    --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-full: 999px;
  
    --font: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
  
    --container: 1200px;
    --gutter: clamp(18px, 5vw, 40px);
    --header-h: 72px;
  
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  /* ------------------------------ 2) Reset -------------------------------- */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { margin: 0; font-family: var(--font); background: var(--paper); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
  h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 900; }
  p { margin: 0; text-wrap: pretty; }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
  a:hover { color: var(--blue); }
  button { font-family: inherit; cursor: pointer; }
  ul { margin: 0; padding: 0; list-style: none; }
  :focus-visible { outline: 3px solid rgba(46, 93, 78, 0.5); outline-offset: 2px; border-radius: 4px; }
  ::selection { background: var(--blue); color: #fff; }
  .skip-link { position: absolute; z-index: 200; inset-block-start: 0; inset-inline-start: 16px; transform: translateY(-150%); background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 0 0 10px 10px; transition: transform 0.2s ease; }
  .skip-link:focus { transform: translateY(0); }
  
  /* ----------------------------- 3) Layout -------------------------------- */
  .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
  .section { padding-block: clamp(64px, 9vw, 118px); }
  .section--white { background: var(--white); border-block: 1px solid var(--line); }
  .section--navy { background: var(--navy); color: #fff; }
  .section--paper { background: var(--paper); }
  
  .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--blue-deep); }
  .eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
  .section--navy .eyebrow { color: var(--blue-soft); }
  
  .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
  .section-head h2 { font-size: clamp(28px, 4.6vw, 48px); margin-top: 16px; }
  .section-head p { max-width: 360px; font-size: 16px; color: var(--muted); }
  .section-head--center { flex-direction: column; align-items: center; text-align: center; max-width: 640px; margin-inline: auto; }
  .section-head--center p { max-width: 620px; }
  
  .grid { display: grid; gap: 22px; }
  .grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .grid--auto { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
  .lead { font-size: clamp(16px, 2.1vw, 19px); color: var(--muted); line-height: 1.85; }
  
  /* --------------------------- 4) Header / Nav ---------------------------- */
  .site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(243, 242, 242, 0.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.2); transition: background 0.3s ease, border-color 0.3s ease; }
  .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 13px; }
  .site-header.is-solid, .site-header[data-solid] { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(27, 43, 38, 0.06); }
  
  .brand { display: flex; align-items: center; gap: 11px; }
  .brand__mark { display: flex; color: var(--blue-soft); }
  .brand__name { font-weight: 900; font-size: 20px; letter-spacing: -0.01em; color: #fff; line-height: 1; }
  .brand__sub { font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; color: rgba(255,255,255,0.85); margin-top: 3px; }
  .is-solid .brand__mark, [data-solid] .brand__mark { color: var(--blue); }
  .is-solid .brand__name, [data-solid] .brand__name { color: var(--navy); }
  .is-solid .brand__sub, [data-solid] .brand__sub { color: var(--muted); }
  
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links a { font-size: 15px; font-weight: 600; color: #fff; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-soft); }
  .is-solid .nav-links a, [data-solid] .nav-links a { color: #3b3d44; }
  .is-solid .nav-links a:hover, [data-solid] .nav-links a:hover { color: var(--blue); }
  
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.16); }
  .burger svg { stroke: #fff; }
  .is-solid .burger, [data-solid] .burger { border-color: var(--line); background: #fff; }
  .is-solid .burger svg, [data-solid] .burger svg { stroke: var(--navy); }
  
  .mobile-drawer { display: none; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 95; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 16px 30px rgba(27,43,38,0.14); padding: 14px var(--gutter) 22px; }
  .mobile-drawer.is-open { display: block; }
  .mobile-drawer a { display: block; padding: 13px 6px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-drawer a:last-child { border: 0; margin-top: 12px; text-align: center; }
  
  /* ----------------------------- 5) Buttons ------------------------------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 56px; padding-inline: 28px; border: none; border-radius: var(--r-md); font-family: inherit; font-weight: 800; font-size: 17px; white-space: nowrap; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease; }
  .btn--sm { height: 44px; padding-inline: 20px; font-size: 15px; border-radius: 13px; }
  .btn--primary { background: var(--blue); color: #fff; box-shadow: 0 5px 0 var(--navy); }
  .btn--primary:hover { color: #fff; background: var(--blue-deep); }
  .btn--primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy); }
  .btn--sm.btn--primary { box-shadow: 0 4px 0 var(--blue-deep); }
  .btn--white { background: #fff; color: var(--navy); box-shadow: 0 3px 0 rgba(27,43,38,0.18); }
  .btn--white:hover { background: var(--paper); }
  .link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--blue-deep); }
  .link-arrow:hover { color: var(--navy); }
  
  /* --------------------------- 6) Hero slider ----------------------------- */
  .hero { position: relative; height: 100dvh; min-height: 620px; max-height: 980px; overflow: hidden; background: var(--navy); }
  .hero__slides { position: absolute; inset: 0; }
  .hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
  .hero__slide.is-active { opacity: 1; }
  .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
  .hero__overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(195deg, rgba(20,33,29,0.78) 0%, rgba(20,33,29,0.32) 45%, rgba(20,33,29,0.86) 100%); }
  .hero__content { position: relative; z-index: 2; height: 100%; max-width: var(--container); margin-inline: auto; display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 100px; }
  .hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--blue-soft); margin-bottom: 20px; }
  .hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue-soft); border-radius: 2px; }
  .hero h1 { font-size: clamp(34px, 6.5vw, 84px); line-height: 1.02; color: #fff; margin-bottom: 18px; max-width: 780px; min-height: 1.02em; }
  .hero__desc { font-size: clamp(16px, 2vw, 19px); line-height: 1.85; color: rgba(243,242,242,0.86); max-width: 560px; margin-bottom: 34px; }
  .hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .hero__controls { position: absolute; bottom: 32px; inset-inline: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 18px; }
  .hero__arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1.5px solid rgba(243,242,242,0.4); background: rgba(243,242,242,0.1); color: #fff; }
  .hero__arrow:hover { background: rgba(243,242,242,0.2); }
  .hero__dots { display: flex; gap: 8px; }
  .hero__dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 5px; background: rgba(243,242,242,0.42); transition: width 0.25s, background 0.25s; }
  .hero__dot.is-active { width: 22px; background: #fff; }
  
  /* --------------------------- 7) Stats bar -------------------------------- */
  .stats-bar { background: var(--paper); padding-block: 20px; }
  .stats-bar__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .stat-box { background: var(--tint-1); border-radius: var(--r-lg); padding: 22px 24px; display: flex; align-items: center; gap: 16px; }
  .stat-box__icon { color: var(--blue); flex: 0 0 auto; }
  .stat-box__num { font-size: 30px; font-weight: 900; letter-spacing: -1px; line-height: 1.05; }
  .stat-box__label { font-size: 14px; color: var(--muted-2); margin-top: 4px; }
  
  .stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 42px); }
  .stat__num { font-size: 30px; font-weight: 900; line-height: 1; color: var(--navy); }
  .stat__num span { color: var(--blue); }
  .stat__label { font-size: 13.5px; color: var(--muted-2); font-weight: 600; margin-top: 6px; }
  .stat-divider { width: 1px; background: var(--line-2); }
  
  /* ----------------------------- 8) Cards ---------------------------------- */
  .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
  .card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
  
  .service-card { padding: 28px; display: flex; flex-direction: column; }
  .service-card__num { font-size: 13px; font-weight: 800; color: var(--blue-deep); letter-spacing: 1.5px; }
  .service-card h3 { font-size: 21px; font-weight: 800; margin: 18px 0 10px; }
  .service-card p { font-size: 15px; line-height: 1.8; color: var(--muted); flex: 1; }
  .service-card--wide { grid-column: span 3; background: var(--navy); color: #F3F2F2; padding: 40px 34px; }
  .service-card--wide .service-card__num { color: var(--blue-soft); }
  .service-card--wide p { color: rgba(243,242,242,0.72); }
  @media (max-width: 1000px) { .service-card--wide { grid-column: span 2; } }
  @media (max-width: 720px) { .service-card--wide { grid-column: span 1; } }
  
  .project-card { display: flex; flex-direction: column; overflow: hidden; }
  .project-card__media { position: relative; height: 230px; background: var(--tint-img); overflow: hidden; }
  .project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
  .project-card:hover .project-card__media img { transform: scale(1.05); }
  .project-card__cat { position: absolute; top: 14px; inset-inline-end: 14px; background: rgba(255,255,255,0.92); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: var(--r-full); font-size: 12.5px; font-weight: 700; color: var(--navy); }
  .project-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
  .project-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
  .project-card__body p { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin-bottom: 18px; flex: 1; }
  .project-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
  .project-card__loc { font-size: 13px; font-weight: 600; color: var(--muted-2); }
  
  .process-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .process-step { padding: 30px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
  .process-step__num { font-size: 48px; font-weight: 900; line-height: 1; color: var(--blue-soft); }
  .process-step h3 { font-size: 19px; font-weight: 800; margin: 14px 0 9px; }
  .process-step p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
  .process-step--dark { background: var(--navy); border: none; }
  .process-step--dark .process-step__num { color: var(--blue-soft); }
  .process-step--dark h3 { color: #fff; }
  .process-step--dark p { color: rgba(243,242,242,0.7); }
  
  .checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 26px; }
  .checklist li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 600; color: var(--navy); }
  .checklist .tick { display: flex; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); align-items: center; justify-content: center; }
  
  /* ----------------------------- 9) Forms ---------------------------------- */
  .form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-lg); }
  .form-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
  .form-card__head h3 { font-size: 22px; font-weight: 900; }
  .form-card > p { font-size: 14.5px; color: var(--muted-2); line-height: 1.7; margin-bottom: 22px; }
  .form { display: flex; flex-direction: column; gap: 15px; }
  .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
  .field { display: block; }
  .field > span { display: block; font-weight: 600; font-size: 13.5px; color: #3b3d44; margin-bottom: 7px; }
  .field input, .field select, .field textarea { width: 100%; padding: 0 15px; border: 1.5px solid #c9cec6; border-radius: 13px; background: #fff; font-family: inherit; font-size: 15px; color: var(--navy); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
  .field input, .field select { height: 48px; }
  .field textarea { padding: 13px 15px; resize: vertical; min-height: 96px; line-height: 1.7; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,93,78,0.14); }
  .form-success { text-align: center; padding: 34px 16px; }
  .form-success__icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 18px; }
  .form-success h4 { font-size: 21px; font-weight: 900; margin-bottom: 8px; }
  .form-success p { font-size: 15px; color: var(--muted); line-height: 1.8; }
  
  /* ----------------------------- 10) Footer -------------------------------- */
  .site-footer { background: var(--navy-ink); color: rgba(243,242,242,0.72); padding: clamp(48px, 7vw, 80px) 0 32px; }
  .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(243,242,242,0.1); }
  .footer-brand { max-width: 300px; }
  .footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
  .footer-logo__mark { width: 42px; height: 42px; border-radius: 13px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
  .footer-logo__name { font-weight: 900; font-size: 22px; color: #fff; }
  .footer-brand p { font-size: 14.5px; line-height: 1.85; }
  .footer-col h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; }
  .footer-col ul { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
  .footer-col a:hover { color: var(--blue-soft); }
  .footer-contact li { display: flex; align-items: center; gap: 10px; }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: var(--muted-3); }
  .footer-bottom a { color: var(--blue-soft); font-weight: 600; }
  
  /* --------------------------- 11) Page hero ------------------------------- */
  .page-hero { position: relative; background: var(--navy); color: #fff; padding: calc(var(--header-h) + clamp(48px, 7vw, 92px)) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
  .page-hero::after { content: ""; position: absolute; top: -140px; inset-inline-start: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(46,93,78,0.35), transparent 70%); pointer-events: none; }
  .page-hero .container { position: relative; z-index: 1; }
  .page-hero .eyebrow { color: var(--blue-soft); }
  .page-hero h1 { font-size: clamp(32px, 5.5vw, 58px); margin: 16px 0 16px; color: #fff; max-width: 760px; }
  .page-hero p { max-width: 620px; font-size: clamp(16px, 2vw, 19px); line-height: 1.85; color: rgba(243,242,242,0.82); }
  .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(243,242,242,0.7); margin-bottom: 22px; }
  .breadcrumb a:hover { color: #fff; }
  .breadcrumb span { opacity: 0.5; }
  .has-fixed-header { padding-top: var(--header-h); }
  
  /* --------------------------- 12) Blog / Article --------------------------- */
  .article-card { display: flex; flex-direction: column; overflow: hidden; }
  .article-card__media { position: relative; height: 210px; background: var(--tint-img); overflow: hidden; }
  .article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
  .article-card:hover .article-card__media img { transform: scale(1.05); }
  .article-card__tag { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--navy); color: #fff; padding: 5px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; }
  .article-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
  .article-card__meta { font-size: 12.5px; color: var(--muted-2); font-weight: 600; margin-bottom: 10px; display: flex; gap: 10px; }
  .article-card h3 { font-size: 19px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
  .article-card__body p { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 16px; flex: 1; }
  
  .prose { max-width: 720px; margin-inline: auto; }
  .prose h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 40px 0 16px; }
  .prose h3 { font-size: 21px; margin: 30px 0 12px; }
  .prose p { font-size: 17px; line-height: 1.95; color: var(--muted); margin-bottom: 20px; }
  .prose ul.bullets { margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
  .prose ul.bullets li { position: relative; padding-inline-start: 26px; font-size: 17px; line-height: 1.85; color: var(--muted); }
  .prose ul.bullets li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
  .prose blockquote { margin: 28px 0; padding: 20px 24px; border-inline-start: 4px solid var(--blue); background: var(--tint-1); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.8; }
  .article-lead-img { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint-img); margin-bottom: clamp(32px, 5vw, 48px); }
  .article-lead-img img { width: 100%; height: 100%; object-fit: cover; }
  .article-author { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
  .article-author__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--tint-1); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--navy); flex: 0 0 auto; }
  .article-author__name { font-weight: 800; color: var(--navy); }
  .article-author__role { font-size: 13.5px; color: var(--muted-2); }
  
  .detail-hero-img { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 28px 56px rgba(27,43,38,0.2); background: var(--tint-img); margin: clamp(32px,5vw,52px) 0; }
  .detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
  .detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
  .detail-body h2 { font-size: 24px; margin-bottom: 16px; }
  .detail-body p { font-size: 16.5px; line-height: 1.95; color: var(--muted); margin-bottom: 18px; }
  .spec-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
  .spec-card h3 { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; color: var(--muted-2); margin-bottom: 18px; }
  .spec-list { display: flex; flex-direction: column; gap: 16px; }
  .spec-item { display: flex; align-items: center; gap: 12px; }
  .spec-item__icon { display: flex; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid var(--line); align-items: center; justify-content: center; }
  .spec-item__k { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
  .spec-item__v { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-top: 2px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-full); }
  .divider { height: 1px; background: var(--line); margin: 22px 0; }
  .detail-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
  .detail-gallery figure { margin: 0; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: var(--tint-img); box-shadow: 0 12px 28px rgba(27,43,38,0.12); }
  .detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
  .detail-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--line-2); }
  .detail-nav a { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--navy); }
  .detail-nav a:hover { color: var(--blue); }
  .cta-band { margin-top: clamp(40px, 5vw, 60px); background: var(--navy); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 52px); text-align: center; }
  .cta-band h3 { font-size: clamp(24px, 3.6vw, 36px); color: #fff; margin-bottom: 12px; }
  .cta-band p { font-size: 16.5px; color: rgba(243,242,242,0.72); line-height: 1.8; margin: 0 auto 26px; max-width: 480px; }
  
  /* ----------------------------- 13) Filters -------------------------------- */
  .filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
  .filter-btn { height: 42px; padding-inline: 18px; border-radius: var(--r-full); border: 1.5px solid var(--line-2); background: #fff; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--muted); transition: all 0.18s ease; }
  .filter-btn:hover { border-color: var(--blue); color: var(--blue); }
  .filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
  .is-hidden { display: none !important; }
  
  /* --------------------------- 14) Error pages ------------------------------ */
  .error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 100px var(--gutter) 60px; position: relative; overflow: hidden; background: var(--paper); }
  .error-page::before { content: ""; position: absolute; top: -180px; inset-inline-end: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(46,93,78,0.14), transparent 70%); }
  .error-inner { position: relative; z-index: 1; max-width: 560px; }
  .error-code { font-size: clamp(90px, 20vw, 190px); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; color: var(--navy); }
  .error-code span { color: var(--blue); }
  .error-tag { display: inline-block; margin-bottom: 22px; background: var(--tint-1); color: var(--blue-deep); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; padding: 7px 16px; border-radius: var(--r-full); }
  .error-page h1 { font-size: clamp(26px, 4vw, 40px); margin: 10px 0 14px; }
  .error-page p { font-size: 17px; color: var(--muted); line-height: 1.85; margin-bottom: 30px; }
  .error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .error-links { margin-top: 34px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: 14.5px; font-weight: 600; }
  .error-links a { color: var(--blue-deep); }
  .error-links a:hover { color: var(--navy); }
  
  /* ----------------------------- 15) Responsive ------------------------------ */
  @media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }
  @media (max-width: 880px) { .nav-links, .header-actions .btn { display: none; } .burger { display: inline-flex; } .stats-bar__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  @media (max-width: 640px) {
    .hero { min-height: 560px; } .hero__content { padding-top: 84px; padding-bottom: 96px; } .hero__controls { bottom: 20px; }
    .footer-bottom { justify-content: center; text-align: center; } .btn { width: 100%; }
    .hero__cta .btn, .error-actions .btn, .cta-band .btn { width: auto; }
  }
  @media (max-width: 420px) { .hero { min-height: 520px; } .hero__content { padding-top: 76px; padding-bottom: 88px; } .error-actions .btn { width: 100%; } .stats-bar__grid { grid-template-columns: 1fr; } }
  
  /* ------------------------------ 16) Motion ---------------------------------- */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
  }