/* ==========================================================================
   Mouj Rodat — Design tokens
   Palette pulled from the client logo (navy + red), not the Orzax reference.
   ========================================================================== */

:root {
  /* Color */
  --navy: #0B3D6D;
  --navy-deep: #072A4D;
  --navy-ink: #071D33;
  --red: #C41E2A;
  --red-deep: #9E1521;
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --text: #1B2430;
  --muted: #64707D;
  --border: #E2E6EA;

  /* Type */
  --font-heading: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 10px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

html[lang="fa"] {
  --font-heading: 'Vazirmatn', sans-serif;
  --font-body: 'Vazirmatn', sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[dir="rtl"] body { text-align: right; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--navy-ink); margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }

.i18n[data-lang="fa"] { display: none; }
html[lang="fa"] .i18n[data-lang="en"] { display: none; }
html[lang="fa"] .i18n[data-lang="fa"] { display: block; }
html[lang="fa"] span.i18n[data-lang="fa"],
html[lang="fa"] a.i18n[data-lang="fa"] { display: inline; }

/* ---------- Reveal-on-scroll (one subtle pattern, used sparingly) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Placeholder media slots ---------- */
.media-slot {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: var(--ar, 4/3);
  border-radius: var(--radius);
  overflow: hidden;
  background: #EDF0F3;
  border: 1px dashed #C7D0D9;
}
.media-slot img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.media-slot figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  font-size: .68rem; letter-spacing: .01em; color: var(--muted);
  background: rgba(255,255,255,.85);
  padding: 5px 10px; font-family: var(--font-body);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(7,29,51,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative; font-size: .95rem; font-weight: 500; color: var(--navy-ink);
  padding-block: 6px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .main-nav a::after { transform-origin: left; }
[dir="rtl"] .main-nav a:hover::after, [dir="rtl"] .main-nav a.is-active::after { transform-origin: right; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden;
  font-size: .78rem; font-weight: 600;
}
.lang-switch button {
  border: 0; background: transparent; padding: 7px 14px; color: var(--muted);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-switch button.is-active { background: var(--navy); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 10px 24px rgba(11,61,109,.28); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-on-navy { background: #fff; color: var(--navy-deep); }
.btn-on-navy:hover { background: #EDEFF2; transform: translateY(-2px); }

.hamburger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 8px; background: #fff; position: relative; }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy-ink); transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger span { top: 19px; }
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger.is-open span { background: transparent; }
.hamburger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-panel {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; width: min(86vw, 380px);
  background: #fff; z-index: 99; padding: 90px 26px 32px;
  transform: translateX(105%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: -20px 0 40px rgba(7,29,51,.12);
}
[dir="rtl"] .mobile-panel { transform: translateX(-105%); }
.mobile-panel.is-open { transform: translateX(0); }

.mobile-close {
  position: absolute; top: 24px; inset-inline-end: 24px; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy-ink);
  display: flex; align-items: center; justify-content: center; transition: background .25s var(--ease), transform .25s var(--ease);
}
.mobile-close:hover { background: var(--bg); transform: rotate(90deg); }

.mp-link {
  display: flex; align-items: center; gap: 14px; font-size: 1.08rem; font-weight: 600;
  padding: 15px 10px; border-radius: 12px; color: var(--navy-ink);
  opacity: 0; transform: translateX(24px); transition: background .2s var(--ease), transform .2s var(--ease);
}
[dir="rtl"] .mp-link { transform: translateX(-24px); }
.mobile-panel.is-open .mp-link { opacity: 1; transform: translateX(0); }
.mobile-panel.is-open .mp-link:nth-child(2) { transition-delay: .06s; }
.mobile-panel.is-open .mp-link:nth-child(3) { transition-delay: .12s; }
.mobile-panel.is-open .mp-link:nth-child(4) { transition-delay: .18s; }
.mobile-panel.is-open .mp-link:nth-child(5) { transition-delay: .24s; }
.mp-link svg { flex-shrink: 0; color: var(--red); }
.mp-link:hover, .mp-link:active { background: var(--bg); }

.mp-divider { height: 1px; background: var(--border); margin: 18px 4px 14px; }
.mp-lang-label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-inline: 4px; margin-bottom: 10px; }
.mp-lang-switch { width: 100%; }
.mp-lang-switch button { flex: 1; padding: 12px 10px; font-size: .85rem; }
.mp-cta { margin-top: 22px; }

.scrim { position: fixed; inset: 0; background: rgba(7,29,51,.35); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 98; }
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 72px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

.hero h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); max-width: 15ch; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(18px); animation: word-in .7s var(--ease) forwards; }
@keyframes word-in { to { opacity: 1; transform: translateY(0); } }

.hero p.lede { margin-top: 22px; font-size: 1.08rem; color: var(--muted); max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.trust-line { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-size: .88rem; color: var(--muted); }
.trust-line svg { flex-shrink: 0; color: var(--red); }

.hero-visual { position: relative; height: 480px; }
.hero-wave {
  position: absolute; inset-block: -10%; inset-inline-start: 10%; inset-inline-end: -20%;
  z-index: 0;
}
.hero-wave svg { width: 100%; height: 100%; animation: drift 9s ease-in-out infinite; }
[dir="rtl"] .hero-wave { transform: scaleX(-1); }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

.hero-card {
  position: relative; z-index: 1; width: 62%; margin-inline-start: 6%;
  border-radius: 16px; background: #fff; box-shadow: 0 30px 60px rgba(7,29,51,.18);
  padding: 14px; animation: float-slow 6s ease-in-out infinite;
}
@keyframes float-slow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-badge {
  position: absolute; z-index: 2; background: #fff; border-radius: 12px;
  box-shadow: 0 16px 32px rgba(7,29,51,.16); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--navy-ink);
  animation: float-slow 7s ease-in-out infinite;
}
.hero-badge.badge-1 { top: 6%; inset-inline-end: 2%; animation-delay: .3s; }
.hero-badge.badge-2 { bottom: 8%; inset-inline-start: 0%; animation-delay: 1s; }
.hero-badge .swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* ==========================================================================
   Intro section
   ========================================================================== */
.intro { padding: 96px 0; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.intro h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); max-width: 16ch; }
.intro p { color: var(--muted); margin-top: 18px; max-width: 56ch; }
.intro p + p { margin-top: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 600; color: var(--navy); }
.text-link .arrow { transition: transform .3s var(--ease); }
[dir="rtl"] .text-link .arrow { transform: scaleX(-1); }
.text-link:hover .arrow { transform: translateX(5px); }
[dir="rtl"] .text-link:hover .arrow { transform: scaleX(-1) translateX(5px); }

/* ==========================================================================
   Focus / trust highlights
   ========================================================================== */
.focus { padding: 40px 0 96px; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.focus-card {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--navy);
  border-radius: var(--radius); padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.focus-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(7,29,51,.10); border-top-color: var(--red); }
.focus-card .icon { color: var(--navy); margin-bottom: 16px; }
.focus-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
.focus-card p { color: var(--muted); margin-top: 10px; font-size: .92rem; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: var(--navy-deep); padding: 56px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.05), transparent 40%), radial-gradient(circle at 80% 70%, rgba(196,30,42,.12), transparent 45%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 2.6rem); color: #fff; font-weight: 600; }
.stat-label { color: #B9C6D6; font-size: .88rem; margin-top: 6px; }

/* ==========================================================================
   Products
   ========================================================================== */
.products { padding: 96px 0; }
.category-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; margin: 30px 0 40px; scrollbar-width: thin; }
.category-chip {
  flex: 0 0 auto; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
  font-size: .88rem; font-weight: 600; color: var(--navy-ink); background: #fff;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.category-chip:hover, .category-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(7,29,51,.10); }
.product-card .media-slot { border-radius: 0; border: 0; border-bottom: 1px solid var(--border); }
.product-card .pc-body { padding: 16px 18px 20px; }
.product-card .pc-form { font-size: .74rem; color: var(--red); font-weight: 700; letter-spacing: .02em; }
.product-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-top: 6px; }
.products-cta { text-align: center; margin-top: 44px; }

/* ==========================================================================
   Partner CTA band
   ========================================================================== */
.partner-band { background: var(--navy); padding: 90px 0; position: relative; overflow: hidden; }
.partner-band::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(120deg, rgba(255,255,255,.04) 0 2px, transparent 2px 60px);
  animation: pan 18s linear infinite;
}
@keyframes pan { from { background-position: 0 0; } to { background-position: 400px 0; } }
.partner-inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.partner-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.partner-band p { color: #C6D2E0; margin-top: 18px; font-size: 1.05rem; }
.partner-band .btn { margin-top: 30px; }

/* ==========================================================================
   Disclaimer strip + footer
   ========================================================================== */
.disclaimer-strip { background: #EEF1F4; padding: 20px 0; }
.disclaimer-strip p { font-size: .8rem; color: var(--muted); max-width: 90ch; }

.site-footer { background: var(--navy-ink); color: #AEBBCB; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 34px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .92rem; margin-bottom: 16px; }
.footer-col a, .footer-col li { display: block; font-size: .9rem; margin-bottom: 10px; color: #AEBBCB; }
.footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: #7C8BA0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav, .header-actions .lang-switch, .header-actions .btn-outline { display: none; }
  .hamburger { display: block; }
  .hero-grid, .intro-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; order: -1; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .focus-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   EXPANDED HOMEPAGE ADDITIONS
   ========================================================================== */

.brand img { height: 52px; }
.footer-brand img { height: 46px; }

.rounded-shadow { border-radius: 18px; box-shadow: 0 24px 50px rgba(7,29,51,.14); }
.hero-card { border-radius: 18px; }
.media-slot.rounded-shadow { border: 0; }
.media-slot.rounded-shadow img { border-radius: 18px; }

/* ---------------- Marquee ticker (category text strip) ---------------- */
.ticker {
  background: var(--navy-ink); overflow: hidden; padding: 14px 0;
  border-block: 1px solid rgba(255,255,255,.08);
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 28s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; padding-inline: 28px; font-size: .85rem; font-weight: 600; letter-spacing: .03em; color: #C6D2E0; white-space: nowrap; }
.ticker-item .sep { color: var(--red); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .ticker-track { animation-name: ticker-scroll-rtl; }
@keyframes ticker-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------------- Video / overview block ---------------- */
.video-block {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-ink), var(--navy)); cursor: pointer;
  box-shadow: 0 24px 50px rgba(7,29,51,.2);
}
.video-block .play-btn {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.video-block:hover .play-btn { transform: scale(1.08); }
.video-block .play-btn svg { margin-inline-start: 4px; }
.video-block .caption { position: absolute; bottom: 20px; inset-inline-start: 24px; color: #fff; font-weight: 600; font-size: .95rem; }

/* ---------------- Quality badges row ---------------- */
.badges { padding: 20px 0 96px; }
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.badge-item {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.badge-item:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(7,29,51,.10); }
.badge-item .badge-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(11,61,109,.08);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.badge-item h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; }
.badge-item p { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------------- Category icon marquee ---------------- */
.category-marquee-wrap { overflow: hidden; padding: 10px 0 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.category-marquee { display: flex; width: max-content; gap: 20px; animation: cat-scroll 26s linear infinite; }
.category-marquee-wrap:hover .category-marquee { animation-play-state: paused; }
@keyframes cat-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cat-chip {
  display: flex; flex-direction: column; align-items: center; gap: 12px; width: 128px; flex-shrink: 0;
}
.cat-chip .circle {
  width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  box-shadow: 0 14px 30px rgba(7,29,51,.08); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.cat-chip:hover .circle { transform: translateY(-6px) scale(1.05); background: var(--navy); color: #fff; box-shadow: 0 20px 40px rgba(7,29,51,.18); }
.cat-chip span { font-size: .85rem; font-weight: 600; text-align: center; color: var(--navy-ink); }

/* ---------------- Product carousel (arrows + auto-advance) ---------------- */
.carousel-wrap { position: relative; }
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; -ms-overflow-style: none; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .product-card { scroll-snap-align: start; flex: 0 0 260px; }
.carousel-arrow {
  position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(7,29,51,.14); z-index: 2; transition: background .25s var(--ease), transform .2s var(--ease);
}
.carousel-arrow:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.carousel-arrow.prev { inset-inline-start: -18px; }
.carousel-arrow.next { inset-inline-end: -18px; }

/* ---------------- Process steps ---------------- */
.process { padding: 96px 0; }
.process-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-top: 50px; }
.process-row::before {
  content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}
.process-step { position: relative; text-align: center; padding-inline: 20px; }
.process-num {
  width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.3rem;
  margin-inline: auto; position: relative; z-index: 1; box-shadow: 0 16px 30px rgba(11,61,109,.3);
}
.process-step h3 { margin-top: 20px; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: .9rem; max-width: 30ch; margin-inline: auto; }

/* ---------------- Info / learning cards ---------------- */
.info-cards { padding: 20px 0 96px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.info-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(7,29,51,.10); }
.info-card .media-slot { border-radius: 0; }
.info-card .ic-body { padding: 20px 22px 24px; }
.info-card .ic-tag { font-size: .72rem; font-weight: 700; color: var(--red); letter-spacing: .04em; }
.info-card h3 { margin-top: 8px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; }
.info-card p { margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* ---------------- Partner + audience marquees ---------------- */
.marquee-section { padding: 20px 0 90px; }
.marquee-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-bottom: 22px; }
.logo-marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-marquee { display: flex; width: max-content; gap: 56px; align-items: center; animation: logo-scroll 22s linear infinite; }
.logo-marquee.reverse { animation-name: logo-scroll-rev; margin-top: 30px; }
.logo-marquee-wrap:hover .logo-marquee { animation-play-state: paused; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logo-scroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.logo-pill {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--navy-ink);
  font-weight: 700; font-size: .95rem; white-space: nowrap; opacity: .75; transition: opacity .25s var(--ease);
}
.logo-pill:hover { opacity: 1; }
.logo-pill .dot-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(11,61,109,.08); display: flex; align-items: center; justify-content: center; color: var(--navy); }

@media (max-width: 980px) {
  .badge-grid, .info-grid, .process-row { grid-template-columns: 1fr; }
  .process-row::before { display: none; }
}

/* ---------------- Mobile refinement pass ---------------- */
@media (max-width: 720px) {
  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .hero-grid { gap: 36px; }
  .hero-visual { height: auto; aspect-ratio: 4/5; max-width: 340px; margin-inline: auto; }
  .hero-wave { inset-inline-start: 0; inset-inline-end: 0; opacity: .7; }
  .hero-card { width: 82%; margin-inline-start: 9%; }
  .hero-badge { padding: 9px 12px; font-size: .74rem; }
  .hero-badge.badge-1 { top: 2%; }
  .hero-badge.badge-2 { bottom: 4%; }

  .brand img { height: 40px; }
  .footer-brand img { height: 38px; }

  .intro, .products, .process, .badges, .info-cards, .marquee-section { padding-block: 56px; }
  .section-head { margin-bottom: 30px; }

  .cat-chip { width: 100px; }
  .cat-chip .circle { width: 76px; height: 76px; }

  .carousel-track .product-card { flex: 0 0 72%; }
  .carousel-arrow { width: 38px; height: 38px; top: auto; bottom: -54px; }
  .carousel-arrow.prev { inset-inline-start: calc(50% - 46px); }
  .carousel-arrow.next { inset-inline-end: calc(50% - 46px); }
  .carousel-wrap { padding-bottom: 60px; }

  .logo-marquee { gap: 34px; }
  .video-block .play-btn { width: 60px; height: 60px; }

  .stats-grid { gap: 24px 16px; }
  .stat-num { font-size: 1.7rem; }
}
