/* ============================================================
   YOUJIA LINEN COTTON CO.,LTD — Overseas B2B Wholesale Prototype
   Static, zero-build, deployable to Cloudflare Pages / Netlify
   ============================================================ */

:root {
  --green: #0E7C5A;
  --green-dark: #0A5C43;
  --green-soft: #E6F4EF;
  --ink: #16201C;
  --muted: #5C6B66;
  --line: #E4E9E7;
  --bg: #FFFFFF;
  --bg-soft: #F7F9F8;
  --amber: #F5A623;
  --wa: #25D366;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 124, 90, .08);
  --shadow-lg: 0 14px 40px rgba(14, 124, 90, .14);
  --maxw: 1180px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Per-language font fallbacks for CJK / Japanese / Bengali scripts.
   html[lang] is set by i18n.js; these win over the base body font. */
:lang(ja) body, :lang(ja) button, :lang(ja) input, :lang(ja) select, :lang(ja) textarea {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
:lang(zh) body, :lang(zh) button, :lang(zh) input, :lang(zh) select, :lang(zh) textarea {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
:lang(bn) body, :lang(bn) button, :lang(bn) input, :lang(bn) select, :lang(bn) textarea {
  font-family: "Noto Sans Bengali", "Bengali UI", "Vrinda", sans-serif;
}
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; flex-shrink: 0; white-space: nowrap; }
.brand .logo {
  height: 44px; width: auto; flex-shrink: 0; display: block;
}
.brand small { display:block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .5px; }
/* Full logo lockups */
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 340px; max-width: 80%; height: auto; display: block; }
.about-logo { width: 360px; max-width: 100%; height: auto; display: block; margin-bottom: 18px; }
/* 品牌名（含副标题的 span）永不换行，副标题本身是 block 仍单独成行 */
.brand > span:not(.logo) { white-space: nowrap; }
.brand-name { font-size: 12.5px; font-weight: 700; letter-spacing: .4px; line-height: 1.1; color: #16241E; display: block; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; min-width: 0; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: 8px; flex-shrink: 0; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; border-radius: 9px;
  padding: 7px 11px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.lang-btn:hover { border-color: var(--green); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px; min-width: 150px; display: none;
  max-height: 72vh; overflow-y: auto;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; justify-content: flex-start; align-items: center; width: 100%; gap: 10px;
  background: none; border: 0; padding: 9px 11px; border-radius: 8px;
  font-size: 14px; cursor: pointer; color: var(--ink); text-align: start;
}
.lang-flag {
  width: 20px; height: 15px; flex-shrink: 0; border-radius: 3px;
  object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); display: block;
}
.lang-menu button:hover { background: var(--green-soft); }
.lang-menu button.active { color: var(--green-dark); font-weight: 700; }

/* WhatsApp button (header) */
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 15px; border-radius: 10px; box-shadow: 0 4px 14px rgba(37,211,102,.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,211,102,.45); }
.btn-wa svg { width: 18px; height: 18px; }

/* Generic buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 0; border-radius: 10px; padding: 13px 22px; font-size: 15px; font-weight: 700;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--green-dark); border: 1.5px solid var(--green); }
.btn-ghost:hover { background: var(--green-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1100px 500px at 85% -10%, var(--green-soft), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-soft)); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.8px; }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust span { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.hero-trust b { color: var(--green-dark); }
.hero-visual {
  border-radius: 20px; min-height: 360px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: var(--shadow-lg); display: grid; place-items: center; color: #fff;
}
.hero-visual .badge {
  position: absolute; background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 14px 18px;
}
.hero-visual .badge.tl { top: 22px; inset-inline-start: 22px; }
.hero-visual .badge.br { bottom: 22px; inset-inline-end: 22px; text-align: end; }
.hero-visual .badge .n { font-size: 26px; font-weight: 900; line-height: 1; }
.hero-visual .badge .l { font-size: 12.5px; opacity: .9; }
.hero-visual .ring { width: 180px; height: 180px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.4); display:grid; place-items:center; font-size: 15px; opacity:.9; }

/* ---------- Stats band ---------- */
.stats { background: var(--green-dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 34px 0; text-align: center; }
.stats-grid .n { font-size: 34px; font-weight: 900; line-height: 1; }
.stats-grid .l { font-size: 14px; opacity: .85; margin-top: 6px; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 12px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.cat-thumb { height: 150px; background-size: cover; background-position: center; background-color: var(--green-dark); }
.cat-body { padding: 18px 20px 20px; }
.cat-body h3 { margin: 0 0 6px; font-size: 18px; }
.cat-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.cat-body .more { color: var(--green-dark); font-weight: 700; font-size: 14px; }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-card .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.why-card h3 { margin: 0 0 8px; font-size: 17px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Markets */
.markets { background: var(--bg-soft); }
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.region h4 { margin: 0 0 10px; font-size: 16px; color: var(--green-dark); }
.region ul { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: 14px; }
.region li { margin: 3px 0; }

/* How to order */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.step h4 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Products page */
.page-hero { background: linear-gradient(180deg, var(--green-soft), #fff); padding: 54px 0 40px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 10px; letter-spacing: -.5px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 640px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 32px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); transition: all .15s; }
.chip:hover { border-color: var(--green); }
.chip.active { background: var(--green); color: #fff; border-color: var(--green); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 64px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb { height: 190px; position: relative; overflow: hidden; background: var(--green-dark); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb .tag { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(0,0,0,.35); color:#fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin: 0 0 6px; font-size: 17px; }
.product-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13.5px; }
.product-meta .moq { color: var(--green-dark); font-weight: 700; }
.product-card .btn-wa { justify-content: center; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; border-radius: 20px; padding: 48px; text-align: center; margin: 0 0 72px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.cta-band p { opacity: .9; margin: 0 0 24px; font-size: 16px; }
.cta-band .btn-wa { background: #fff; color: var(--green-dark); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.cta-band .btn-wa:hover { background: #f0fff7; }

/* Footer */
.site-footer { background: #0C1714; color: #cdd8d4; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer a { color: #cdd8d4; display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8fa39c; }
.footer-about p { font-size: 14px; line-height: 1.7; }
.footer-contact span { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.footer-bottom { border-top: 1px solid #1d2b27; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #8fa39c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Facility / trust images */
.facility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.facility-img { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facility-img img { width: 100%; height: 300px; object-fit: cover; display: block; }
.facility-img figcaption { padding: 14px 18px; font-size: 14.5px; color: var(--muted); font-weight: 600; }

/* ===== About ===== */
/* ===== Factory process gallery ===== */
.process-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin: 0 auto 34px; }
.process-flow .pf-step { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--green); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.15; box-shadow: 0 2px 8px rgba(14,124,90,.18); }
.process-flow .pf-step span { font-size: 10.5px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; opacity: .82; margin-top: 2px; }
.process-flow .pf-arrow { color: var(--green); font-size: 20px; font-weight: 700; opacity: .6; }

/* ===== Factory photo carousel (auto-rotating) ===== */
.factory-carousel { position: relative; }
.fc-stage { position: relative; }
.fc-viewport { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #0b1f17; }
.fc-track { display: flex; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.fc-slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; }
.fc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.fc-slide:hover img { transform: scale(1.04); }
.fc-slide .gc-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.fc-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 44px 20px 16px; background: linear-gradient(transparent, rgba(8,30,22,.85)); color: #fff; pointer-events: none; }
.fc-slide figcaption b { display: block; font-size: 19px; letter-spacing: .3px; }
.fc-slide figcaption span { font-size: 13px; opacity: .85; }

/* arrows */
.fc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border: none; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green); font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: background .2s, transform .2s; }
.fc-arrow:hover { background: #fff; }
.fc-arrow.fc-prev { left: 14px; }
.fc-arrow.fc-next { right: 14px; }

/* dots */
.fc-dots { display: flex; gap: 9px; justify-content: center; margin: 16px 0 4px; }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(14,124,90,.3); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.fc-dot.active { background: var(--green); transform: scale(1.35); }

/* thumbnails */
.fc-thumbs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.fc-thumb { width: 96px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; transition: border-color .2s, transform .2s; }
.fc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-thumb:hover { transform: translateY(-2px); }
.fc-thumb.active { border-color: var(--green); }

/* lightbox */
.gallery-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,20,15,.93); display: none; align-items: center; justify-content: center; padding: 24px; }
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.gallery-lightbox .lb-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; padding: 0 20px; }
.gallery-lightbox .lb-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s; }
.gallery-lightbox .lb-close:hover { background: rgba(255,255,255,.32); }

@media (max-width: 720px) { .process-flow .pf-step { padding: 7px 13px; font-size: 13px; } .process-flow .pf-step span { font-size: 9.5px; } .process-flow .pf-arrow { font-size: 16px; } .fc-slide { aspect-ratio: 4 / 3; } .fc-arrow { width: 40px; height: 40px; font-size: 22px; } .fc-thumb { width: 74px; height: 50px; } .fc-slide figcaption b { font-size: 16px; } }
@media (max-width: 460px) { .fc-thumbs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; -webkit-overflow-scrolling: touch; } .fc-thumb { flex: 0 0 auto; } }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about-text p { margin: 0 0 16px; color: var(--muted); line-height: 1.85; font-size: 15.5px; }
.about-text p:last-child { margin-bottom: 0; }
.about-aside { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.about-facts { list-style: none; margin: 0; padding: 0; }
.about-facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.about-facts li:last-child { border-bottom: none; }
.about-facts .v { font-size: 1.45rem; font-weight: 800; color: var(--brand); white-space: nowrap; }
.about-facts .k { color: var(--muted); text-align: right; font-size: 14.5px; }
[dir="rtl"] .about-facts .k { text-align: left; }

/* ---------- Responsive ---------- */
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 56px; }
  .hero-visual { min-height: 280px; order: -1; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .steps, .region-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* 中屏：导航收紧，保证品牌名与导航始终一行，避免 CONTACT 与语种按钮重叠 */
@media (max-width: 1200px) {
  .brand { font-size: 15px; }
  .brand small { display: none; }
  .nav-tools .btn-wa span { display: none; }
  .nav-tools .btn-wa { padding: 9px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 9px; font-size: 13.5px; }
}
@media (max-width: 920px) {
  .nav-tools { margin-inline-start: auto; gap: 8px; }
  .menu-toggle { display: block; margin-inline-start: auto; }
  /* Mobile dropdown panel — opens when JS toggles .open (previously broken: no rule existed) */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 16px 16px;
    gap: 4px;
    margin-inline-start: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 14px; font-size: 16px; }
  .nav-tools .btn-wa span { display: none; }
  .nav-tools .btn-wa { padding: 9px; }
  .brand { font-size: 15px; }
  .brand small { display: none; }
  .cat-grid, .product-grid, .why-grid, .steps, .region-grid, .stats-grid, .footer-grid, .facility-grid, .about-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .section-head h2 { font-size: 26px; }
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .nav-links { margin-inline-start: 0; margin-inline-end: auto; }
[dir="rtl"] .hero-trust, [dir="rtl"] .hero-cta { direction: rtl; }
[dir="rtl"] .section-head, [dir="rtl"] .product-meta { text-align: start; }

/* ===== FAQ ===== */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; max-width: 1000px; margin: 0 auto; text-align: start; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.faq-item h3 { margin: 0 0 10px; font-size: 16.5px; line-height: 1.4; color: var(--green-dark); }
.faq-item p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
[dir="rtl"] .faq-item h3, [dir="rtl"] .faq-item p { text-align: start; }
@media (max-width: 680px) { .faq-list { grid-template-columns: 1fr; } }

/* ===== Contact page ===== */
.nav-links a.active { background: var(--green-soft); color: var(--green-dark); }
.contact-hero { text-align: center; }
.contact-hero .eyebrow { display: inline-block; color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.contact-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 12px; letter-spacing: -.5px; }
.contact-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 16px; }

.contact-section { padding-top: 48px; }
.contact-split {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: #fff;
}
.contact-info {
  background: linear-gradient(160deg, var(--green-dark), var(--green));
  color: #fff; padding: 46px 42px; display: flex; flex-direction: column;
}
.contact-info h2 { color: #fff; font-size: 26px; margin: 0 0 10px; letter-spacing: -.3px; }
.contact-info .info-lead { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.6; margin: 0 0 26px; }
.info-list { list-style: none; margin: 0 0 30px; padding: 0; flex: 1; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.info-list li:last-child { border-bottom: none; }
.info-list .ic { font-size: 20px; line-height: 1.4; flex-shrink: 0; }
.info-list .k { display: block; font-size: 12.5px; color: rgba(255,255,255,.7); margin-bottom: 2px; }
.info-list a, .info-list li > div > span:last-child { color: #fff; font-weight: 600; font-size: 15px; word-break: break-word; }
.info-wa { background: #fff; color: var(--green-dark); justify-content: center; width: 100%; box-shadow: none; }
.info-wa:hover { background: #f0fff7; transform: translateY(-1px); }

.contact-form-card { background: #fff; padding: 46px 42px; }
.contact-form-card h2 { margin: 0 0 6px; font-size: 24px; color: var(--green-dark); letter-spacing: -.3px; }
.contact-form-card .form-lead { color: var(--muted); font-size: 14.5px; margin: 0 0 26px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-note a { color: var(--green-dark); font-weight: 600; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form-status.ok { background: #E6F4EF; color: var(--green-dark); border: 1px solid #BFE3D5; }
.form-status.error { background: #FCEBEB; color: #A32D2D; border: 1px solid #F09595; }

@media (max-width: 880px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-info, .contact-form-card { padding: 36px 26px; }
}
@media (max-width: 680px) {
  .contact-info, .contact-form-card { padding: 30px 20px; }
}

/* ===== How to Order page ===== */
.htw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.htw-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.htw-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.htw-step .num { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.htw-step h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); line-height: 1.35; }
.htw-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

.htw-group { display: flex; gap: 18px; align-items: flex-start; background: var(--green-soft); border: 1px solid #BFE3D5; border-radius: var(--radius); padding: 26px 28px; }
.htw-group .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; }
.htw-group .ic svg { width: 28px; height: 28px; }
.htw-group h3 { margin: 0 0 8px; font-size: 19px; color: var(--green-dark); }
.htw-group p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.7; }

.htw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.htw-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.htw-col .tag { display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 5px 12px; border-radius: 999px; }
.htw-col h3 { margin: 0 0 10px; font-size: 19px; color: var(--green-dark); }
.htw-col p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.htw-terms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.htw-term { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 16px; text-align: center; }
.htw-term .l { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.htw-term .v { display: block; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; }

@media (max-width: 900px) {
  .htw-steps { grid-template-columns: repeat(2, 1fr); }
  .htw-terms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .htw-steps, .htw-split, .htw-terms { grid-template-columns: 1fr; }
  .htw-group { flex-direction: column; }
}

/* ===== Product spec sheet (transparency table) ===== */
.product-specs { margin: 0 0 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 7px; }
.product-specs > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.product-specs dt { color: var(--muted); white-space: nowrap; }
.product-specs dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
[dir="rtl"] .product-specs dd { text-align: left; }
@media (max-width: 480px) {
  .product-specs { font-size: 12.5px; }
}

/* ===== About: certifications ===== */
.cert-band { margin-top: 34px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.cert-head { margin-bottom: 18px; }
.cert-head .eyebrow { color: var(--green); font-weight: 700; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; }
.cert-head h3 { margin: 6px 0 6px; font-size: 21px; color: var(--green-dark); letter-spacing: -.3px; }
.cert-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.cert { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink); }
.cert::before { content: "✓"; color: var(--green); font-weight: 900; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb { height: 200px; background: var(--green-dark); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 4px 12px; border-radius: 999px; }
.blog-body h3 { margin: 0; font-size: 19px; line-height: 1.35; color: var(--ink); }
.blog-body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; flex: 1; }
.blog-link { color: var(--green-dark); font-weight: 700; text-decoration: none; font-size: 14.5px; }
.blog-link::after { content: " →"; }
.article { max-width: 760px; padding: 38px 0 10px; }
.article .article-meta { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.article h2 { margin: 32px 0 10px; font-size: 22px; color: var(--green-dark); letter-spacing: -.3px; }
.article p { color: var(--ink); line-height: 1.85; font-size: 16px; margin: 0 0 14px; }
.article a { color: var(--green-dark); font-weight: 600; }
.article .faq-list { margin: 18px 0 8px; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
