/*
Theme Name: MAADANOL (FA/EN Single-Page + Product Pages)
Theme URI: https://maadanol.com
Author: MAADANOL — DAAMA Group
Author URI: https://maadanol.com
Description: قالب دوزبانه مادانول — صفحه اصلی تک‌صفحه‌ای با سوییچر یک‌کلیکی، به‌همراه صفحات اختصاصی محصول (فارسی/انگلیسی) با آدرس‌های تمیز.
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maadanol
*/

/* ==========================================================================
   MAADANOL — نسخه فارسی (راست‌به‌چپ) — برگه سبک
   نسخه‌ی بومی‌سازی‌شده‌ی فارسیِ سایت، با همان هویت بصری نسخه‌ی انگلیسی.
   Design tokens per brief: Primary #0F2744, Secondary #F28C28,
   Accent #1E88E5, Dark #1A1A1A, Gray #6B7280, Background #F8FAFC
   Type: Vazirmatn (نمایش و متن) — جایگزین فارسیِ Manrope/Inter
   ========================================================================== */

:root{
  --primary: #0F2744;
  --primary-light: #17385c;
  --secondary: #F28C28;
  --accent: #1E88E5;
  --dark: #1A1A1A;
  --gray: #6B7280;
  --gray-light: #697080; /* was #9AA4B2 (2.4:1 — failed WCAG AA everywhere it's used, even for large text); this passes 4.5:1+ on both white and --bg */
  --bg: #F8FAFC;
  --secondary-text: #B85C12; /* AA-safe (4.6:1 on white) variant of --secondary, for small text */
  --accent-text: #1258A0;    /* AA-safe (7.2:1 on white) variant of --accent, for small text */
  --white: #FFFFFF;
  --line: #E4E9F0;

  --font-display: 'Vazirmatn', 'Tahoma', sans-serif;
  --font-body: 'Vazirmatn', 'Tahoma', sans-serif;

  --container: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15,39,68,0.06), 0 1px 1px rgba(15,39,68,0.04);
  --shadow-md: 0 8px 24px rgba(15,39,68,0.08);
  --shadow-lg: 0 24px 60px rgba(15,39,68,0.14);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .6s;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{ overflow-x: hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  text-align: start;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--primary);
  margin: 0 0 .5em;
  line-height: 1.35;
  letter-spacing: 0;
}

p{ margin: 0 0 1em; color: var(--gray); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
button{ font-family: inherit; cursor: pointer; }
ul{ list-style:none; margin:0; padding:0; }

/* ---------- RTL / Persian typography note ----------
   Persian script is cursive/joined, so the wide letter-spacing used
   for uppercase English labels in the original design has been
   removed at each declaration below — otherwise glyph joining
   breaks and Persian words become unreadable. */

/* Directional chevrons/arrows must be mirrored so they still point
   "forward" (toward the reading-start side) in a right-to-left layout. */
html[dir="rtl"] .product-card__link svg,
html[dir="rtl"] .carousel-btn svg,
html[dir="rtl"] .footer__newsletter button svg,
html[dir="rtl"] .knowledge-card__link svg{
  transform: scaleX(-1);
}
html[dir="rtl"] .product-card:hover .product-card__link svg{ transform: scaleX(-1) translateX(4px); }

::selection{ background: var(--secondary-text); color: var(--white); }

:focus-visible{
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section{ padding: 120px 0; position: relative; }
@media (max-width: 900px){ section{ padding: 80px 0; } }

/* ---------- Reveal-on-scroll ---------- */
[data-aos]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-aos].is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Visually-hidden utility (shared by any page needing an
   accessible-but-invisible label — AI Assistant, Quote wizard, etc.) ---------- */
/* ---------- Graceful degrade for images not yet uploaded (paired with
   chrome.js initImageFallback()). The parent's own background color/
   gradient shows through instead of a broken-image icon. Common media
   wrapper classes get an explicit brand-toned gradient background so
   this looks intentional, not broken, before real photos are added. ---------- */
img.img-fallback{ opacity: 0; }
.product-hero--illustrated{ background-color: var(--primary); }
.product-card__media, .industry-card, .know-card__media, .know-feature__media,
.related-card__media, .knowledge-card img, .ind-banner__media,
.catalog-card__media, .catalog-detail-modal__media, .catalog-gallery__item{
  background: linear-gradient(135deg, var(--primary), #1a3f6b);
}

/* ---------- [hidden] must always win ----------
   Every filter/search/multi-step system on the site (downloads,
   industries, knowledge, calculators, finder, compare, brand
   catalogs, AI assistant, quote wizard — 9 JS files in total) sets
   el.hidden = true/false to show/hide cards and steps. The native
   [hidden] attribute and a plain class selector (e.g. .dlc-card{
   display:flex }) have EQUAL CSS specificity, so the author
   stylesheet's display rule silently wins the tie and the element
   stays visually visible even though JS correctly marked it hidden
   — the exact bug behind "filters return correct counts but don't
   actually filter". This is a single global fix instead of touching
   every card class individually, and it's future-proof against any
   new filterable component added later. */
[hidden]{ display: none !important; }

.sr-only{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--secondary-text);
  margin: 0 0 16px;
  display: inline-block;
}
.eyebrow--light{ color: #FFC98A; }

.lead{ font-size: 18px; color: var(--gray); max-width: 60ch; }

.section-head{ max-width: 720px; margin: 0 0 64px; }

/* Centered CTA row used by the homepage's condensed "preview" sections
   (Products, Industries, Downloads, Finder, Contact — each links out
   to its own dedicated page instead of repeating that page's content). */
.section-cta{ display:flex; justify-content:center; margin-top: 44px; }

.section-head--split{
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head--split h2{ margin-bottom: 0; }
.section-head__sub{ font-size: 17px; max-width: 44ch; margin: 12px 0 0; }
.section-head__sub--light{ color: #C7D2DE; }

h2{ font-size: clamp(28px, 3.6vw, 44px); }

/* ---------- Progress flow (signature element) ---------- */
.progress-flow{
  position: fixed; top:0; left:0; width:100%; height: 3px; z-index: 1170;
  background: transparent;
}
.progress-flow__fill{
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transition: width .1s linear;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--primary{ background: var(--secondary-text); color: var(--white); box-shadow: 0 8px 20px rgba(242,140,40,0.28); }
.btn--primary:hover{ background: #9A4E0F; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242,140,40,0.36); }
.btn--ghost{ background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover{ background: rgba(255,255,255,0.18); border-color: #fff; transform: translateY(-2px); }
.btn--outline{ background: transparent; color: var(--primary); border-color: var(--line); }
.btn--outline:hover{ border-color: var(--primary); background: var(--primary); color: var(--white); }
.btn--sm{ padding: 10px 20px; font-size: 13.5px; }
.btn--lg{ padding: 16px 34px; font-size: 16px; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav{
  position: fixed; top:0; left:0; width:100%; z-index: 1160;
  padding: 18px 0;
  /* Always has a background/blur/legible text from first paint — this
     used to be conditional on .is-scrolled (added by JS once
     scrollY>40), which meant a fully transparent nav with white text
     for the first 40px of every page. That only worked on the
     homepage's own dark hero; every other page's hero
     (.product-hero, used by About/Contact/Products/Industries/
     Knowledge/Downloads/Compare/Brand/etc.) has no dark background at
     all, so the nav was genuinely illegible (white text on white
     page) until the user scrolled. Fixed by making the legible
     state permanent; .is-scrolled now only adds a small extra polish
     (padding/shadow) on top of it. */
  background: rgba(248,250,252,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(15,39,68,0.06);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.nav__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav.is-scrolled{
  background: rgba(248,250,252,0.96);
  box-shadow: 0 2px 12px rgba(15,39,68,0.08);
  padding: 12px 0;
}
.nav__logo{
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  color: var(--primary); letter-spacing: -0.01em;
}
.nav__logo svg{ color: var(--secondary); }

.nav__links{ display: flex; align-items: center; gap: 34px; }
.nav__item{ position: relative; }
.nav__link{
  background: none; border: none; padding: 6px 0;
  font-size: 14.5px; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .25s;
  position: relative;
}
.nav__link::after{
  content:''; position:absolute; inset-inline-start:0; bottom:-2px; width:0; height:2px;
  background: var(--secondary); transition: width .25s var(--ease);
}
.nav__link:hover::after{ width: 100%; }

.nav__mega{
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 14px; width: 220px;
  display: grid; grid-template-columns: 1fr;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  visibility: hidden;
  /* No margin-top here on purpose: a margin gap sits outside the box
     and isn't part of :hover's hit area, so the cursor loses hover
     the instant it crosses that gap moving from the nav link down
     into the menu — the exact "submenu closes before I can click it"
     bug. The same visual breathing room is created with a transparent
     padding-top instead, which IS part of the hoverable box. */
  margin-top: 0; padding-top: 26px;
}
.nav__item:hover .nav__mega, .nav__item:focus-within .nav__mega, .nav__item.is-open .nav__mega{
  opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__mega a{
  padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--dark); font-weight: 500;
  transition: background .2s, color .2s;
}
.nav__mega a:hover{ background: var(--bg); color: var(--accent); }
.nav__mega-featured-link{
  display: block; font-weight: 700 !important; color: var(--primary) !important;
  background: rgba(30,136,229,0.07); margin-bottom: 6px; border: 1px solid rgba(30,136,229,0.18);
}
.nav__mega-featured-link:hover{ background: rgba(30,136,229,0.14) !important; }
.nav__mega-label{
  display:block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gray-light); padding: 10px 12px 4px;
}

.nav__actions{ display: flex; align-items: center; gap: 14px; }
.icon-btn{
  background: none; border: none; color: var(--primary); display:flex; align-items:center; justify-content:center;
  width: 44px; height: 44px; border-radius: 50%; transition: background .2s;
}
.icon-btn:hover{ background: rgba(15,39,68,0.06); }

/* Language switcher — always visible (header, all breakpoints), all
   three options shown at once so users instantly see the site is
   trilingual (FA / AR / EN). Structured as a labelled group of
   buttons/links so it maps directly onto a WPML/Polylang
   language-switcher output later (see markup notes in functions.php). */
.lang-switch{
  display: flex; align-items: center; gap: 2px;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 3px;
}
.lang-switch__option{
  background: none; border: none; cursor: pointer;
  min-height: 38px; padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; line-height: 1;
  color: var(--gray); transition: background .2s, color .2s;
}
.lang-switch__option:hover{ color: var(--primary); }
.lang-switch__option.is-active{ background: var(--primary); color: #fff; }
.lang-switch__option.is-active:hover{ color: #fff; }

.hamburger{
  display:none; flex-direction: column; justify-content: center; align-items:center; gap: 5px;
  width: 44px; height: 44px; background:none; border:none;
}
.hamburger span{ display:block; width: 22px; height: 2px; background: var(--primary); transition: transform .3s, opacity .3s; }
.hamburger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.search-overlay{
  position: fixed; inset:0; background: rgba(15,39,68,0.97); z-index: 1200;
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition: opacity .3s var(--ease);
}
.search-overlay.is-open{ opacity:1; pointer-events:auto; }
.search-overlay__inner{ width: min(680px, 88vw); display:flex; align-items:center; gap: 20px; border-bottom: 2px solid rgba(255,255,255,0.3); padding-bottom: 14px; }
.search-overlay__inner input{
  flex:1; background:none; border:none; color:#fff; font-size: 26px; font-family: var(--font-display);
}
.search-overlay__inner input::placeholder{ color: rgba(255,255,255,0.4); }
.search-overlay__inner:focus-within{ border-bottom-color: var(--secondary); }
.search-overlay__inner button{ background:none; border:none; color:#fff; font-size: 30px; line-height: 1; }

.mobile-menu-overlay{
  position: fixed; inset: 0; background: rgba(10,18,30,0.55); z-index: 1140;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.mobile-menu-overlay.is-open{ opacity: 1; pointer-events: auto; }

.mobile-menu{
  position: fixed; top:0; inset-inline-start:0; height: 100vh; height: 100dvh; width: min(340px, 84vw); z-index: 1150;
  background: var(--primary); padding: calc(100px + env(safe-area-inset-top, 0px)) 32px calc(40px + env(safe-area-inset-bottom, 0px));
  display:flex; flex-direction: column; gap: 6px; overflow-y: auto;
  /* Closed state must push the panel fully past the edge it's docked on.
     inset-inline-start:0 resolves to right:0 in RTL, so "closed" here
     means translateX(100%) — further RIGHT, off past the right edge.
     The LTR override below flips the sign because that edge flips too. */
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  will-change: transform;
  box-shadow: -8px 0 32px rgba(0,0,0,0.25);
}
.mobile-menu.is-open{ transform: translateX(0); }
.mobile-menu a{ color: #fff; font-size: 17px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu .btn{ margin-top: 20px; text-align:center; }

@media (max-width: 980px){
  .nav__links, .nav__actions .btn--primary{ display:none; }
  .hamburger{ display:flex; }
}
@media (max-width: 480px){
  .section-inner, .nav__inner{ padding-inline: 16px; }
  .nav__inner{ gap: 12px; }
  .lang-switch__option{ padding: 6px 9px; font-size: 11.5px; }
  .nav__actions{ gap: 8px; }
  .nav__logo span{ font-size: 17px; }
  .nav__actions .icon-btn{ display:none; } /* search moves into the drawer on the smallest screens to keep the always-visible language switcher from ever being cramped */
  .lang-switch__option{ padding: 6px 9px; font-size: 12px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative; height: 100svh; min-height: 620px;
  display:flex; align-items:center;
  color: #fff; overflow:hidden;
  padding: 0;
}
.hero__media{ position:absolute; inset:0; }
.hero__media img{ width:100%; height:100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 16s ease-out forwards; }
@keyframes heroZoom{ to{ transform: scale(1); } }
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,22,40,0.72) 0%, rgba(10,22,40,0.55) 45%, rgba(10,22,40,0.88) 100%);
}
.hero__grain{ position:absolute; inset:0; opacity:0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__content{ position: relative; max-width: var(--container); margin: 0 auto; padding: 0 32px; width:100%; }
.hero__content h1{
  color: #fff; font-size: clamp(38px, 6vw, 74px); font-weight: 800;
  max-width: 16ch; margin-bottom: 24px;
}
.hero__sub{ color: rgba(255,255,255,0.82); font-size: 19px; max-width: 52ch; margin-bottom: 36px; }
.hero__cta{ display:flex; gap: 18px; flex-wrap: wrap; }

.hero__scroll{
  position:absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  background:none; border:none; color: rgba(255,255,255,0.85);
  display:flex; flex-direction: column; align-items:center; gap: 8px;
  font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 600;
}
.hero__scroll-dot{ animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot{ 0%,100%{ transform: translateY(0); opacity:1; } 50%{ transform: translateY(6px); opacity: .4; } }

@media (max-width: 640px){ .hero__cta{ flex-direction: column; } .hero__cta .btn{ width:100%; } }
@media (max-width: 380px){ .btn{ white-space: normal; text-align: center; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.about__media{ position: relative; }
.about__media img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__badge{
  position: absolute; bottom: -28px; inset-inline-end: -28px; background: var(--white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 22px 26px;
  max-width: 220px;
}
.about__badge strong{ display:block; font-family: var(--font-display); font-size: 30px; color: var(--secondary-text); }
.about__badge span{ font-size: 13px; color: var(--gray); }

.about__pillars{ display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 40px 0; }
.pillar{ border-top: 3px solid var(--secondary); padding-top: 14px; }
.pillar h3{ font-size: 16px; margin-bottom: 8px; }
.pillar p{ font-size: 14px; margin:0; }

.stats{ display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat{ position: relative; }
.stat__num, .stat__suffix{ font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--primary); }
.stat p{ font-size: 13px; margin: 6px 0 0; }

@media (max-width: 980px){
  .about__grid{ grid-template-columns: 1fr; gap: 48px; }
  .about__pillars{ grid-template-columns: 1fr; gap: 20px; }
  .stats{ grid-template-columns: repeat(2,1fr); }
  .about__badge{ position: static; margin-top: 20px; max-width: none; }
}

/* ==========================================================================
   PRODUCT CATEGORIES
   ========================================================================== */
.products{ background: var(--bg); }
.product-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card{
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__media{ height: 190px; overflow: hidden; }
.product-card__media img{ width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img{ transform: scale(1.08); }
.product-card__body{ padding: 26px; }
.product-card__grade{
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent); background: rgba(30,136,229,0.09); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.product-card__body h3{ font-size: 19px; margin-bottom: 8px; }
.product-card__body p{ font-size: 14px; margin-bottom: 16px; }
.product-card__link{
  display: inline-flex; align-items:center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--primary);
}
.product-card__link svg{ transition: transform .25s var(--ease); }
.product-card:hover .product-card__link svg{ transform: translateX(4px); }

@media (max-width: 1100px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .product-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industry-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card{
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
}
.industry-card img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.industry-card:hover img{ transform: scale(1.1); }
.industry-card__label{
  position:absolute; inset:0; display:flex; align-items:flex-end; padding: 20px;
  background: linear-gradient(180deg, rgba(15,39,68,0) 45%, rgba(10,20,35,0.82) 100%);
}
.industry-card__label span{ color:#fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; }

@media (max-width: 900px){ .industry-grid{ grid-template-columns: repeat(2,1fr); } }

/* ==========================================================================
   WHY CHOOSE MAADANOL
   ========================================================================== */
.why{ background: var(--primary); background-image: radial-gradient(circle at 85% 15%, rgba(30,136,229,0.18), transparent 55%); color:#fff; }
.why-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card{
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-md);
  padding: 30px 26px; transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.why-card:hover{ background: rgba(255,255,255,0.09); transform: translateY(-6px); border-color: rgba(242,140,40,0.5); }
.why-card__icon{
  width: 48px; height: 48px; border-radius: 12px; background: rgba(242,140,40,0.15); color: var(--secondary);
  display:flex; align-items:center; justify-content:center; margin-bottom: 18px;
}
.why-card h3{ color:#fff; font-size: 17px; margin-bottom: 8px; }
.why-card p{ color: rgba(255,255,255,0.62); font-size: 13.5px; margin:0; }

@media (max-width: 1100px){ .why-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .why-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   FEATURED PRODUCTS CAROUSEL
   ========================================================================== */
.carousel-controls{ display:flex; gap: 10px; }
.carousel-btn{
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white);
  display:flex; align-items:center; justify-content:center; color: var(--primary); transition: background .2s, border-color .2s;
}
.carousel-btn:hover{ background: var(--primary); color:#fff; border-color: var(--primary); }

.carousel{ overflow:hidden; }
.carousel__track{ display:flex; gap: 28px; transition: transform .6s var(--ease); }
.flagship-card{
  flex: 0 0 calc(25% - 21px); background: var(--bg); border-radius: var(--radius-lg);
  overflow:hidden; display:flex; flex-direction: column; border: 1px solid var(--line);
}
.flagship-card__bottle{ height: 200px; background: linear-gradient(180deg,#EEF2F7,#E4E9F0); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.flagship-card__bottle img{ height: 100%; width:100%; object-fit: cover; }
.flagship-card__info{ padding: 24px; display:flex; flex-direction: column; flex:1; }
.flagship-card__info h3{ font-size: 18px; margin: 6px 0 10px; }
.flagship-card__info p{ font-size: 13.5px; flex:1; }
.spec-list{ margin: 14px 0 20px; display:flex; flex-direction: column; gap: 8px; }
.spec-list li{ display:flex; justify-content: space-between; font-size: 12.5px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.spec-list span{ color: var(--gray); }
.spec-list strong{ color: var(--primary); }

.carousel__dots{ display:flex; gap: 8px; justify-content:center; margin-top: 32px; }
.carousel__dots button{
  width: 8px; height: 8px; border-radius: 50%; background: var(--line); border:none; padding:0; transition: background .3s, width .3s;
}
.carousel__dots button.is-active{ background: var(--secondary); width: 24px; border-radius: 5px; }

@media (max-width: 1100px){ .flagship-card{ flex: 0 0 calc(50% - 14px); } }
@media (max-width: 640px){ .flagship-card{ flex: 0 0 100%; } }

/* ==========================================================================
   HOMEPAGE PREVIEW SECTIONS
   ========================================================================== */
/* ---------- Homepage preview sections (condensed, link out to their
   own dedicated pages instead of repeating that page's content) ---------- */
.finder-preview__panel{
  background: var(--bg); border-radius: var(--radius-lg); padding: 56px; text-align: center;
  max-width: 780px; margin: 0 auto;
}
.finder-preview__copy h2{ max-width: none; }
.finder-preview__actions{ display:flex; gap: 14px; justify-content:center; flex-wrap: wrap; margin-top: 8px; }

.downloads-preview{ background: var(--primary); color:#fff; }
.downloads-preview__panel{
  display:flex; align-items:center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.downloads-preview__panel h2{ color:#fff; }

.contact-preview__panel{
  background: var(--bg); border-radius: var(--radius-lg); padding: 56px; text-align: center;
  max-width: 700px; margin: 0 auto;
}
.contact-preview__methods{ display:flex; gap: 28px; justify-content:center; flex-wrap: wrap; margin: 24px 0; }
.contact-preview__methods a{ display:flex; align-items:center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--primary); }
.contact-preview__methods a:hover{ color: var(--accent); }
.contact-preview__methods svg{ color: var(--secondary); flex-shrink:0; }

@media (max-width: 760px){
  .finder-preview__panel, .contact-preview__panel{ padding: 32px 24px; }
  .downloads-preview__panel{ flex-direction: column; text-align:center; }
}
/* ==========================================================================
   KNOWLEDGE CENTER
   ========================================================================== */
.knowledge-grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.knowledge-card{
  border-radius: var(--radius-lg); overflow:hidden; background: var(--bg); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); display:flex; flex-direction:column;
}
.knowledge-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.knowledge-card img{ height: 200px; width:100%; object-fit: cover; }
.knowledge-card--feature{ grid-row: span 1; }
.knowledge-card--feature img{ height: 260px; }
.knowledge-card__body{ padding: 26px; display:flex; flex-direction:column; flex:1; }
.tag{ font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--accent-text); margin-bottom: 10px; }
.knowledge-card__body h3{ font-size: 18px; margin-bottom: 10px; }
.knowledge-card--feature h3{ font-size: 22px; }
.knowledge-card__body p{ font-size: 13.5px; flex:1; }
.knowledge-card__link{ font-size: 13.5px; font-weight: 700; color: var(--primary); }

@media (max-width: 980px){ .knowledge-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   DOWNLOADS
   ========================================================================== */
.downloads-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.download-card{
  display:flex; align-items:center; gap: 18px; padding: 26px; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--white); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.download-card:hover{ border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.download-card__icon{
  width: 52px; height: 52px; border-radius: 10px; background: var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; flex-shrink:0;
}
.download-card h3{ font-size: 15.5px; margin-bottom: 4px; }
.download-card p{ font-size: 12.5px; margin:0; }
.download-card svg{ margin-inline-start:auto; color: var(--gray); flex-shrink:0; }

@media (max-width: 900px){ .downloads-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .downloads-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials{ background: var(--bg); }
.testimonial-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.testimonial-card{
  background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line);
  margin:0; position: relative;
}
.testimonial-card p{ color: var(--dark); font-size: 15px; font-style: italic; margin-bottom: 20px; }
.testimonial-card__name{ display:block; font-weight: 700; color: var(--primary); font-size: 14px; }
.testimonial-card__role{ display:block; font-size: 12.5px; color: var(--gray); margin-top: 2px; }

@media (max-width: 900px){ .testimonial-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   GLOBAL PRESENCE
   ========================================================================== */
.global{ background: var(--primary); color:#fff; overflow: hidden; }
.global__map{ margin-top: 40px; color: rgba(255,255,255,0.5); }
.world-svg{ width:100%; height:auto; }
.map-point circle:first-child{ fill: var(--secondary); }
.map-point__pulse{ fill:none; stroke: var(--secondary); stroke-width: 1.5; opacity: 0.6; animation: pulse 2.4s ease-out infinite; transform-origin: center; }
@keyframes pulse{ 0%{ transform: scale(0.6); opacity: 0.7; } 100%{ transform: scale(2.2); opacity: 0; } }
.global__legend{ display:flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,0.7); }
.global__legend div{ display:flex; align-items:center; gap: 8px; }
.dot{ width: 9px; height:9px; border-radius: 50%; display:inline-block; }
.dot--hq{ background: var(--secondary); }
.dot--dist{ background: rgba(255,255,255,0.5); }
.dot--export{ background: var(--accent); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{ padding-bottom: 0; }
.contact__grid{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; margin-bottom: 90px; }
.contact__details{ margin-top: 36px; display:flex; flex-direction: column; gap: 22px; }
.contact__details li{ display:flex; align-items:flex-start; gap: 16px; }
.contact__details svg{ color: var(--secondary); flex-shrink:0; margin-top: 2px; }
.contact__details strong{ display:block; font-size: 13px; color: var(--gray); font-weight: 600; }
.contact__details span{ display:block; font-size: 15px; color: var(--primary); font-weight: 600; }

.contact__form-wrap{ background: var(--bg); border-radius: var(--radius-lg); padding: 40px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field{ margin-bottom: 18px; }
.form-field label{ display:block; font-size: 12.5px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-size: 14px; font-family: inherit; background: var(--white); transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus{ border-color: var(--accent); }
.form-field textarea{ resize: vertical; }
.form-success{ margin-top: 16px; color: var(--accent-text); font-size: 13.5px; font-weight: 600; }

.contact__map{
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 6;
  min-height: 260px;
  max-height: 460px;
  overflow: hidden;
  background: linear-gradient(135deg, #DDE4EC, #EEF2F7);
}
.contact__map-frame{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
/* Small always-on affordance so the map is never a dead end even
   while it's loading or if the person just prefers their own maps app. */
.contact__map-badge{
  position: absolute; top: 18px; inset-inline-end: 18px; z-index: 2;
  background: var(--white); padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none;
  transition: transform .2s var(--ease), color .2s;
}
.contact__map-badge:hover{ color: var(--accent); transform: translateY(-2px); }

/* Fallback panel: hidden by default, shown only if the iframe fails to
   load (see initContactMapFallback() in chrome.js) so the section is
   never left blank. */
.contact__map-fallback{
  position: absolute; inset: 0; z-index: 1;
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  background: linear-gradient(135deg, #DDE4EC, #EEF2F7);
  background-image:
    linear-gradient(rgba(15,39,68,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,39,68,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.contact__map.is-blocked .contact__map-frame{ display: none; }
.contact__map.is-blocked .contact__map-badge{ display: none; }
.contact__map.is-blocked .contact__map-fallback{ display: flex; }

.contact__map-overlay{
  background: var(--white); padding: 16px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap: 10px; color: var(--primary); font-weight: 700; font-size: 14px;
}
.contact__map-overlay svg{ color: var(--secondary); }

@media (max-width: 760px){
  .contact__map{ aspect-ratio: 4 / 5; max-height: 420px; }
}
@supports not (aspect-ratio: 1 / 1){
  .contact__map{ height: 340px; }
  @media (max-width: 760px){ .contact__map{ height: 380px; } }
}

@media (max-width: 980px){
  .contact__grid{ grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
  .form-row{ grid-template-columns: 1fr; }
  .contact__form-wrap{ padding: 28px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{ background: var(--dark); color: rgba(255,255,255,0.6); padding-top: 80px; }
.footer__grid{
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__logo--footer{ color: #fff; margin-bottom: 16px; }
.footer__brand p{ font-size: 13.5px; color: rgba(255,255,255,0.5); max-width: 32ch; }
.footer__social{ display:flex; gap: 12px; margin-top: 20px; }
.footer__social a{
  width: 36px; height:36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center; transition: background .2s, border-color .2s;
}
.footer__social a:hover{ background: var(--secondary-text); border-color: var(--secondary-text); }
.footer__col h4{ color:#fff; font-size: 14px; letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
.footer__col a{ display:block; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 12px; transition: color .2s; }
.footer__col a:hover{ color: var(--secondary); }
.footer__newsletter{ display:flex; gap: 8px; margin-top: 14px; }
.footer__newsletter input{
  flex:1; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); color:#fff; font-size: 13px;
}
.footer__newsletter input::placeholder{ color: rgba(255,255,255,0.35); }
.footer__newsletter button{
  width: 42px; border-radius: var(--radius-sm); border:none; background: var(--secondary-text); color:#fff;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.footer__newsletter-success{ font-size: 12.5px; color: var(--secondary); margin-top: 10px; }

.footer__bottom-inner{ display:flex; justify-content: space-between; align-items:center; padding: 26px 0; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
.footer__legal{ display:flex; gap: 24px; }
.footer__legal a{ color: rgba(255,255,255,0.5); transition: color .2s; }
.footer__legal a:hover{ color: #fff; }

@media (max-width: 980px){ .footer__grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer__grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top{
  position: fixed; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 28px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color:#fff; border:none; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg); opacity:0; pointer-events:none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s; z-index: 900;
}
.back-to-top.is-visible{ opacity:1; pointer-events:auto; transform: translateY(0); }
.back-to-top:hover{ background: var(--secondary-text); }

/* ==========================================================================
   ENGLISH (LTR) OVERRIDES
   The base rules above are tuned for Persian/RTL (the site's default
   language). These overrides restore the original English typographic
   treatment (uppercase eyebrows, wider letter-spacing, Latin fonts,
   tighter line-height) and the few physical left/right values that
   logical properties can't express (background-position, transforms).
   ========================================================================== */
html[dir="ltr"]{
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}
html[dir="ltr"] body{ line-height: 1.55; }
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] h4{
  line-height: 1.15; letter-spacing: -0.01em;
}
html[dir="ltr"] .eyebrow{
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
}
html[dir="ltr"] .tag{
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
html[dir="ltr"] .footer__col h4{
  font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
}
html[dir="ltr"] .hero__scroll{
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
html[dir="ltr"] .finder__field label{ font-size: 12.5px; letter-spacing: 0.02em; }
html[dir="ltr"] .equivalent__form label{ font-size: 12.5px; letter-spacing: 0.04em; }

html[dir="ltr"] .mobile-menu{ transform: translateX(-100%); box-shadow: 8px 0 32px rgba(0,0,0,0.25); }
html[dir="ltr"] .mobile-menu.is-open{ transform: translateX(0); }

html[dir="ltr"] .finder__field select{
  background-position: right 14px center;
}

/* ==========================================================================
   PRODUCT PAGE COMPONENTS
   Shared across every product page (both languages) — same design tokens
   and component classes as the rest of the site, no separate stylesheet.
   All positional rules use logical properties / text-align:start so they
   auto-mirror for LTR (English) without a duplicate ruleset.
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  padding: 110px 0 18px;
}
.breadcrumb ol{ display:flex; flex-wrap:wrap; align-items:center; gap: 8px; list-style:none; margin:0; padding:0; }
.breadcrumb li{ display:flex; align-items:center; gap: 8px; font-size: 13px; color: var(--gray); }
.breadcrumb a{ color: var(--gray); transition: color .2s; }
.breadcrumb a:hover{ color: var(--accent-text); }
.breadcrumb li[aria-current="page"]{ color: var(--primary); font-weight: 600; }
.breadcrumb svg{ color: var(--gray-light); flex-shrink:0; }
html[dir="ltr"] .breadcrumb svg{ transform: scaleX(-1); }

/* ---------- Product hero ---------- */
.product-hero{
  padding: 12px 0 56px;
}
.product-hero--illustrated{
  padding: 64px 0; background-size: cover; background-position: center;
}
.product-hero--illustrated .product-hero__category{ background: rgba(255,255,255,0.15); color: #fff; }
.product-hero--illustrated h1, .product-hero--illustrated .product-hero__sub{ color: #fff; }
.product-hero--illustrated .product-hero__sub{ color: rgba(255,255,255,0.82); }
.product-hero__grid{
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items:center;
}
.product-hero__category{
  display:inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-text);
  background: rgba(30,136,229,0.09); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.product-hero__grade{
  display:inline-block; font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--primary); background: var(--bg); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; margin-inline-start: 8px;
}
.product-hero h1{ margin-top: 14px; }
.product-hero__sub{ font-size: 17px; color: var(--gray); max-width: 52ch; margin-top: 14px; }
.product-hero__cta{ display:flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.product-hero__media{
  border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.product-hero__media img{ width:100%; height:100%; object-fit: cover; }

/* ---------- Generic product section wrapper ---------- */
.product-section{ padding: 56px 0; }
.product-section:nth-of-type(even){ background: var(--bg); }
.product-section__head{ margin-bottom: 36px; max-width: 62ch; }
.product-section__head h2{ font-size: clamp(24px, 2.6vw, 32px); }

/* ---------- Description ---------- */
.product-description p{ font-size: 16px; line-height: 1.9; max-width: 72ch; }
.product-description p + p{ margin-top: 16px; }

/* ---------- Benefits grid ---------- */
.benefits-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.benefit-item{
  display:flex; align-items:flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 20px;
}
.product-section:nth-of-type(even) .benefit-item{ background: var(--white); }
.benefit-item svg{ color: var(--secondary-text); flex-shrink:0; margin-top: 2px; }
.benefit-item span{ font-size: 15px; color: var(--dark); font-weight: 500; }

/* ---------- Spec table ---------- */
.spec-table{ width:100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-sm); }
.spec-table tr{ border-bottom: 1px solid var(--line); }
.spec-table tr:last-child{ border-bottom: none; }
.spec-table th, .spec-table td{ text-align: start; padding: 16px 22px; font-size: 14.5px; }
.spec-table th{ font-weight: 600; color: var(--gray); width: 45%; background: var(--bg); }
.spec-table td{ font-weight: 700; color: var(--primary); font-family: var(--font-display); }

/* ---------- Applications list ---------- */
.applications-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.application-chip{
  display:flex; align-items:center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 14px; color: var(--dark); font-weight: 500;
}
.application-chip svg{ color: var(--accent-text); flex-shrink:0; }

/* ---------- Industries served (pill tags) ---------- */
.industries-pills{ display:flex; flex-wrap:wrap; gap: 10px; }
.industries-pills span, .industries-pills a{
  background: var(--primary); color:#fff; font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
}
.industries-pills a{ transition: background .2s; }
.industries-pills a:hover{ background: var(--secondary-text); }

/* ---------- Advantages ---------- */
.advantages-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-card{ padding: 8px 0; }
.advantage-card__num{
  font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--secondary-text);
  margin-bottom: 10px; display:block;
}
.advantage-card h3{ font-size: 18px; margin-bottom: 8px; }
.advantage-card p{ font-size: 14.5px; color: var(--gray); line-height: 1.8; }

/* ---------- Features list ---------- */
.features-list{ display:grid; grid-template-columns: repeat(2,1fr); gap: 12px 24px; }
.features-list li{ display:flex; align-items:center; gap: 12px; font-size: 15px; color: var(--dark); }
.features-list svg{ color: var(--secondary-text); flex-shrink:0; }

/* ---------- Packaging options ---------- */
.packaging-grid{ display:flex; flex-wrap:wrap; gap: 14px; }
.packaging-card{
  flex: 1 1 200px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.packaging-card svg{ color: var(--accent-text); margin: 0 auto 12px; display:block; }
.packaging-card span{ font-size: 14px; font-weight: 600; color: var(--primary); }

/* ---------- Related products ---------- */
.related-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card{
  display:block; background: var(--white); border-radius: var(--radius-md); overflow:hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.related-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card__media{ aspect-ratio: 16/10; overflow:hidden; }
.related-card__media img{ width:100%; height:100%; object-fit:cover; }
.related-card__body{ padding: 18px 20px; }
.related-card__body span{ font-size: 12px; font-weight: 700; color: var(--accent-text); }
.related-card__body h3{ font-size: 17px; margin: 6px 0 0; }

/* ---------- Product CTA band ---------- */
.product-cta{
  background: var(--primary); border-radius: var(--radius-lg); padding: 48px 40px;
  text-align: center; color: #fff;
}
.product-cta h2{ color: #fff; margin-bottom: 10px; }
.product-cta p{ color: rgba(255,255,255,0.75); max-width: 55ch; margin: 0 auto 26px; }
.product-cta__row{ display:flex; gap: 14px; justify-content:center; flex-wrap: wrap; }

/* ---------- Responsive: product page ---------- */
@media (max-width: 980px){
  .product-hero__grid{ grid-template-columns: 1fr; gap: 32px; }
  .product-hero__media{ order: -1; }
  .advantages-grid{ grid-template-columns: 1fr; gap: 20px; }
  .related-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .benefits-grid{ grid-template-columns: 1fr; }
  .applications-grid{ grid-template-columns: repeat(2, 1fr); }
  .features-list{ grid-template-columns: 1fr; }
  .related-grid{ grid-template-columns: 1fr; }
  .spec-table th, .spec-table td{ padding: 13px 16px; font-size: 13.5px; }
  .product-cta{ padding: 36px 24px; }
}
@media (max-width: 480px){
  .applications-grid{ grid-template-columns: 1fr; }
  .breadcrumb{ padding-top: 96px; }
}

/* ==========================================================================
   ABOUT & CONTACT PAGES
   Shared across both real per-language pages. Reuses existing component
   classes (about__grid, why-grid/why-card, industry-grid, downloads-grid,
   advantages-grid, product-cta, breadcrumb) wherever the shape already
   matches; only genuinely new patterns get new classes below.
   ========================================================================== */

/* ---------- Page hero (About / Contact) ----------
   Shorter and content-agnostic version of the homepage .hero — full-bleed
   image, no scroll indicator/carousel concerns since interior pages don't
   need them. Reuses .hero__media/.hero__overlay/.hero__grain/.hero__content
   as-is; only the outer section and its heading size are new. */
.page-hero{
  position: relative; overflow:hidden; color:#fff;
  padding: 168px 0 64px; min-height: 420px;
  display:flex; align-items:center;
}
.page-hero .hero__content h1{
  color:#fff; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800;
  max-width: 20ch; margin: 14px 0 16px;
}
.page-hero .hero__sub{ font-size: 17px; }
@media (max-width: 640px){ .page-hero{ padding: 140px 0 48px; } }

/* Breadcrumb sitting right after a page-hero (instead of at the very
   top of <main>) doesn't need to clear the fixed nav a second time. */
.breadcrumb--after-hero{ padding: 28px 0 8px; }

/* ---------- Two-column section direction modifier ----------
   Lets Manufacturing/Sustainability alternate sides against the About
   page's Our Story section without a second grid implementation. */
@media (min-width: 981px){
  .about__grid--reverse .about__media{ order: 2; }
  .about__grid--reverse .about__copy{ order: 1; }
}

/* ---------- Vision / Mission cards ---------- */
.vm-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card{
  background: var(--bg); border-radius: var(--radius-lg); padding: 40px 36px;
  border-top: 4px solid var(--secondary);
}
.vm-card--mission{ border-top-color: var(--accent); }
.vm-card svg{ color: var(--secondary-text); margin-bottom: 18px; }
.vm-card--mission svg{ color: var(--accent-text); }
.vm-card h3{ font-size: 20px; margin-bottom: 10px; }
.vm-card p{ font-size: 15.5px; margin: 0; color: var(--gray); }
@media (max-width: 760px){ .vm-grid{ grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline{ position:relative; max-width: 880px; margin: 0 auto; list-style:none; padding:0; }
.timeline::before{
  content:''; position:absolute; inset-inline-start: 50%; top:0; bottom:0;
  width:2px; background: var(--line); transform: translateX(-1px);
}
html[dir="rtl"] .timeline::before{ transform: translateX(1px); }
.timeline__item{ position:relative; width:50%; padding: 0 44px 48px; }
.timeline__item:nth-child(odd){ inset-inline-start: 0; text-align: end; }
.timeline__item:nth-child(even){ inset-inline-start: 50%; text-align: start; }
.timeline__item::before{
  content:''; position:absolute; top: 6px; width:14px; height:14px; border-radius:50%;
  background: var(--secondary); box-shadow: 0 0 0 5px rgba(242,140,40,0.16);
}
.timeline__item:nth-child(odd)::before{ inset-inline-end: -7px; }
.timeline__item:nth-child(even)::before{ inset-inline-start: -7px; }
.timeline__card{ background:#fff; border-radius: var(--radius-md); padding: 22px 26px; box-shadow: var(--shadow-sm); display:inline-block; text-align: start; }
.timeline__year{ display:inline-block; font-family: var(--font-display); font-weight: 800; color: var(--secondary-text); font-size: 14px; margin-bottom: 6px; }
.timeline__card h3{ font-size: 17px; margin: 0 0 6px; }
.timeline__card p{ font-size: 14px; margin:0; color: var(--gray); }
@media (max-width: 760px){
  .timeline::before{ inset-inline-start: 7px; transform:none; }
  .timeline__item, .timeline__item:nth-child(odd), .timeline__item:nth-child(even){
    width:100%; inset-inline-start:0; text-align: start; padding: 0 0 36px 34px;
  }
  html[dir="rtl"] .timeline__item, html[dir="rtl"] .timeline__item:nth-child(odd), html[dir="rtl"] .timeline__item:nth-child(even){
    padding: 0 34px 36px 0;
  }
  .timeline__item::before, .timeline__item:nth-child(odd)::before, .timeline__item:nth-child(even)::before{
    inset-inline-start: 0; inset-inline-end: auto;
  }
  .timeline__card{ display:block; }
}

/* ---------- Team / Leadership ---------- */
.team-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card{ background:#fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 22px; text-align:center; }
.team-card__avatar{
  width:64px; height:64px; border-radius:50%; background: var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center; margin: 0 auto 18px;
}
.team-card h3{ font-size: 15.5px; margin-bottom: 6px; }
.team-card p{ font-size: 13.5px; margin:0; color: var(--gray); }
@media (max-width: 980px){ .team-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .team-grid{ grid-template-columns: 1fr; } }

/* ---------- Contact info cards ---------- */
.info-cards{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info-card{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.info-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card__icon{
  width:46px; height:46px; border-radius: 12px; background: rgba(242,140,40,0.1); color: var(--secondary-text);
  display:flex; align-items:center; justify-content:center; margin-bottom: 18px;
}
.info-card h3{ font-size: 15px; margin-bottom: 8px; }
.info-card p{ font-size: 14px; margin: 0 0 4px; }
.info-card a{ color: var(--accent-text); font-weight: 600; }
.info-card a:hover{ text-decoration: underline; }
@media (max-width: 980px){ .info-cards{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .info-cards{ grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq{ max-width: 840px; margin: 0 auto; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item__q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap: 20px;
  padding: 22px 2px; background:none; border:none; text-align: start; cursor:pointer;
  font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--primary);
}
.faq-item__icon{ flex-shrink:0; color: var(--gray); transition: transform .3s var(--ease); }
.faq-item.is-open .faq-item__icon{ transform: rotate(45deg); color: var(--secondary-text); }
.faq-item__a{ max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.faq-item__a p{ font-size: 15px; line-height: 1.85; color: var(--gray); padding: 0 2px 22px; margin:0; max-width: 68ch; }
.faq-item.is-open .faq-item__a{ max-height: 320px; }

/* ---------- Responsive: About / Contact pages ---------- */
@media (max-width: 980px){
  .vm-grid{ gap: 20px; }
}
