/* ============================================================
   Masterock - main stylesheet
   Theme: deep navy + gold "summit" identity
   ============================================================ */

:root {
  --navy-950: #060d1c;
  --navy-900: #0a1428;
  --navy-800: #0f1f3d;
  --navy-700: #16294e;
  --navy-100: #dde5f2;
  --gold-500: #d9a441;
  --gold-400: #e8b95c;
  --gold-300: #f3cf85;
  --ink: #1b2536;
  --muted: #5b6b84;
  --line: #e4e9f2;
  --bg-soft: #f5f7fb;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(10, 20, 40, .06);
  --shadow-md: 0 12px 35px rgba(10, 20, 40, .10);
  --shadow-lg: 0 24px 60px rgba(10, 20, 40, .16);
  --font-head: "Sora", "Noto Sans TC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", sans-serif;
  --font-body: "Inter", "Noto Sans TC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", sans-serif;
  --ease: cubic-bezier(.22, .68, .26, .99);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 2.1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn-sm { padding: .6rem 1.4rem; font-size: .85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 8px 22px rgba(217, 164, 65, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217, 164, 65, .45); }
.btn-outline { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-2px); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(6, 13, 28, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .6rem 0;
  box-shadow: 0 6px 30px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); }
.logo-mark { width: 36px; height: 36px; color: var(--gold-400); flex-shrink: 0; }
.logo-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; }
.logo-text em { font-style: normal; color: var(--gold-400); }

.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: .2rem; }
.main-nav a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .95rem; border-radius: 999px;
  color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-300); background: rgba(255,255,255,.07); }
.chev { width: 11px; height: 11px; transition: transform .25s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 0;
  min-width: 320px; background: var(--white); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .55rem;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; inset-inline: 0; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown:hover > a .chev { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: .65rem .95rem; border-radius: 9px;
  color: var(--ink); font-size: .9rem;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--navy-800); }

.header-actions { display: flex; align-items: center; gap: .9rem; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font-family: var(--font-body); font-size: .82rem; font-weight: 600;
  padding: .5rem .85rem; border-radius: 999px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); }
.lang-btn img, .lang-menu img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
  width: 220px; max-height: 70vh; overflow-y: auto;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 110;
}
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu a {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .75rem; border-radius: 9px; color: var(--ink); font-size: .88rem;
}
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a.current { background: var(--bg-soft); font-weight: 600; color: var(--navy-800); }

/* Burger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(6,13,28,.55); z-index: 98;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(120% 140% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--white); overflow: hidden;
  padding: 9rem 0 6rem;
}
.hero-photo {
  position: absolute; inset: 0;
  background: url("/assets/img/hero.jpg") center/cover no-repeat;
  opacity: .14; mix-blend-mode: luminosity;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.orb-1 { width: 480px; height: 480px; background: rgba(217,164,65,.28); top: -140px; inset-inline-end: -120px; animation: drift 14s ease-in-out infinite alternate; }
.orb-2 { width: 380px; height: 380px; background: rgba(52,108,206,.35); bottom: -120px; inset-inline-start: -100px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 220px; height: 220px; background: rgba(120,180,255,.22); top: 38%; inset-inline-start: 42%; animation: drift 11s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(46px, -36px) scale(1.12); }
}

.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(243,207,133,.4); background: rgba(217,164,65,.1);
  color: var(--gold-300); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,164,65,.55); }
  60% { box-shadow: 0 0 0 9px rgba(217,164,65,0); }
}
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.2rem); font-weight: 800;
  margin: 1.4rem 0 1.2rem; letter-spacing: -.015em;
}
.hero h1 .gold {
  background: linear-gradient(110deg, var(--gold-300), var(--gold-500) 60%, var(--gold-300));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.lead { font-size: clamp(1.05rem, 2.1vw, 1.35rem); color: rgba(255,255,255,.78); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* hero entrance animation */
.anim { opacity: 0; transform: translateY(28px); animation: rise .9s var(--ease) forwards; }
.anim-d1 { animation-delay: .15s; } .anim-d2 { animation-delay: .35s; }
.anim-d3 { animation-delay: .55s; } .anim-d4 { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.55); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(var(--gold-400), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Generic sections ---------- */
.section { padding: 6rem 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: radial-gradient(110% 130% at 50% 0%, var(--navy-800) 0%, var(--navy-950) 80%); color: var(--white); }

.kicker {
  display: inline-block; color: var(--gold-500);
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: .9rem;
}
.section-dark .kicker { color: var(--gold-300); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.1rem; letter-spacing: -.01em; }
.section-intro { color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.section-dark .section-intro { color: rgba(255,255,255,.72); }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; } .reveal-d6 { transition-delay: .6s; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%;
}
.split-media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 2px solid var(--gold-400); border-radius: var(--radius); z-index: -1; opacity: .55;
}
[dir="rtl"] .split-media::before { inset: 1.4rem 1.4rem -1.4rem -1.4rem; }
.split-body p { color: var(--muted); margin-bottom: 1.1rem; }
.split-body .btn { margin-top: .8rem; }

.stat-chip {
  position: absolute; bottom: -1.6rem; inset-inline-end: 1.2rem;
  background: var(--navy-900); color: var(--white);
  padding: 1rem 1.5rem; border-radius: 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .9rem;
}
.stat-chip strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-400); }
.stat-chip span { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.35; }

/* ---------- Solutions grid ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.sol-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sol-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sol-card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9.5; }
.sol-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sol-card:hover .sol-card-media img { transform: scale(1.07); }
.sol-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,13,28,.55));
}
.sol-card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.sol-card h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.sol-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.sol-card .more {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold-500); font-weight: 600; font-size: .88rem; font-family: var(--font-head);
}
.sol-card .more svg { width: 15px; height: 15px; transition: transform .25s; }
.sol-card:hover .more svg { transform: translateX(4px); }
[dir="rtl"] .sol-card .more svg { transform: scaleX(-1); }
[dir="rtl"] .sol-card:hover .more svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.why-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 2rem 1.7rem;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(217,164,65,.5); background: rgba(255,255,255,.07); }
.why-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, rgba(217,164,65,.25), rgba(217,164,65,.08));
  border: 1px solid rgba(217,164,65,.4);
}
.why-icon svg { width: 26px; height: 26px; color: var(--gold-300); }
.why-card h3 { font-size: 1.08rem; margin-bottom: .6rem; color: var(--white); }
.why-card p { font-size: .9rem; color: rgba(255,255,255,.68); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testi-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.8rem; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-quote-mark { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; color: var(--gold-400); height: 2.2rem; }
.testi-card blockquote { font-size: .92rem; color: var(--muted); flex: 1; }
.testi-person { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-300); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.testi-person strong { display: block; font-family: var(--font-head); font-size: .92rem; }
.testi-person span { font-size: .8rem; color: var(--muted); }
.testi-stars { color: var(--gold-500); font-size: .85rem; letter-spacing: .15em; margin-bottom: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 160% at 50% 0%, var(--navy-700), var(--navy-950) 75%);
  border-radius: calc(var(--radius) + 8px);
  padding: 4.5rem 3rem; text-align: center; color: var(--white);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .4;
}
.cta-band::before { width: 300px; height: 300px; background: rgba(217,164,65,.4); top: -120px; inset-inline-start: -80px; }
.cta-band::after { width: 260px; height: 260px; background: rgba(52,108,206,.45); bottom: -110px; inset-inline-end: -70px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .8rem; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 150% at 75% 0%, var(--navy-700) 0%, var(--navy-950) 75%);
  color: var(--white); padding: 11rem 0 5rem; text-align: center;
}
.page-hero .orb-1 { width: 340px; height: 340px; }
.page-hero .orb-2 { width: 280px; height: 280px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-top: 1rem; letter-spacing: -.01em; }
.page-hero .section-intro { margin: 1.2rem auto 0; color: rgba(255,255,255,.75); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.55); position: relative; z-index: 2; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .sep { margin: 0 .5rem; opacity: .5; }

/* ---------- Feature rows (solution pages) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 3rem; }
.feature-card {
  display: flex; gap: 1.3rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(217,164,65,.45); }
.feature-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--gold-400);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.feature-card p { color: var(--muted); font-size: .92rem; }

.solution-hero-img {
  margin-top: -3.2rem; position: relative; z-index: 3;
}
.solution-hero-img img {
  width: 100%; aspect-ratio: 21 / 8; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* ---------- Benefits checklist ---------- */
.check-list { display: grid; gap: .85rem; margin-top: 1.4rem; }
.check-list li {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .95rem; color: var(--ink);
}
.check-list svg { width: 21px; height: 21px; color: var(--gold-500); flex-shrink: 0; margin-top: .15rem; }

/* ---------- Stats band ---------- */
.stats-band {
  background: radial-gradient(120% 200% at 50% 0%, var(--navy-700), var(--navy-950) 80%);
  padding: 4rem 0; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: rgba(217,164,65,.18); filter: blur(80px); top: -140px; inset-inline-start: 12%;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--gold-400); line-height: 1.1;
}
.stat-label { color: rgba(255,255,255,.72); font-size: .92rem; margin-top: .45rem; }

/* ---------- Process timeline ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
  margin-top: 3.2rem; position: relative;
}
.process-grid::before {
  content: ""; position: absolute; top: 27px; inset-inline: 8%;
  height: 2px; background: linear-gradient(90deg, transparent, var(--gold-400) 12%, var(--gold-400) 88%, transparent);
  opacity: .45;
}
.process-step { text-align: center; padding: 0 .6rem; position: relative; }
.process-num {
  width: 54px; height: 54px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  border: 2px solid var(--gold-400);
  color: var(--gold-300); font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  box-shadow: 0 0 0 8px var(--white), var(--shadow-sm);
  position: relative; z-index: 1;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.process-step p { color: var(--muted); font-size: .9rem; }

/* ---------- Integration stack badges ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.stack-badge {
  display: flex; align-items: center; gap: .85rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: .9rem 1.2rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.stack-badge:hover { transform: translateY(-4px); border-color: rgba(217,164,65,.5); box-shadow: var(--shadow-md); }
.stack-mono {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, var(--navy-700), var(--navy-950));
  color: var(--gold-300); font-weight: 800; font-size: 1.05rem;
}

/* ---------- Day-in-the-life timeline ---------- */
.day-rail {
  max-width: 720px; margin: 3.2rem auto 0; position: relative;
  display: grid; gap: 1.6rem;
  padding-inline-start: 92px;
}
.day-rail::before {
  content: ""; position: absolute; top: 14px; bottom: 14px; inset-inline-start: 31px;
  width: 2px; background: linear-gradient(var(--gold-400), rgba(217,164,65,.15));
}
.day-item { position: relative; }
.day-time {
  position: absolute; inset-inline-start: -92px; top: 8px;
  width: 62px; text-align: center;
  background: var(--navy-950); color: var(--gold-300);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  padding: .35rem 0; border-radius: 999px;
  box-shadow: 0 0 0 4px var(--white), var(--shadow-sm);
  z-index: 1;
}
.day-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.day-item:hover .day-card { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: rgba(217,164,65,.45); }
[dir="rtl"] .day-item:hover .day-card { transform: translateX(-4px); }
.day-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.day-card p { color: var(--muted); font-size: .9rem; }

/* ---------- KPI dashboard mock ---------- */
.dash-mock {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08); overflow: hidden;
}
.dash-titlebar {
  display: flex; gap: .45rem; padding: .85rem 1.1rem;
  background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.07);
}
.dash-titlebar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash-titlebar span:first-child { background: #e0655a; }
.dash-titlebar span:nth-child(2) { background: #e0b14f; }
.dash-titlebar span:nth-child(3) { background: #6fc27d; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.3rem; }
.dash-kpi {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px; padding: 1.1rem 1.2rem;
}
.dash-label { color: rgba(255,255,255,.6); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.dash-value {
  color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.7rem;
  margin: .35rem 0 .7rem; display: flex; align-items: baseline; gap: .6rem;
}
.dash-trend {
  font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px;
  background: rgba(111,194,125,.16); color: #8fd49b; letter-spacing: .03em;
}
.dash-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.dash-fill {
  height: 100%; width: 0; border-radius: 6px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transition: width 1.3s var(--ease) .3s;
}
.reveal.in .dash-fill, .dash-mock.in .dash-fill { width: var(--p); }

/* ---------- Before / after comparison ---------- */
.cmp-table {
  margin-top: 3rem; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white);
}
.cmp-head, .cmp-row { display: grid; grid-template-columns: 170px 1fr 1fr; }
.cmp-head {
  background: var(--navy-950); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.cmp-head > div { padding: 1.05rem 1.4rem; }
.cmp-head-before { color: rgba(255,255,255,.6); }
.cmp-head-after { color: var(--gold-300); }
.cmp-row { border-top: 1px solid var(--line); }
.cmp-row > div { padding: 1.15rem 1.4rem; font-size: .92rem; display: flex; align-items: center; gap: .7rem; }
.cmp-aspect { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); background: var(--bg-soft); }
.cmp-before { color: var(--muted); }
.cmp-before svg { width: 17px; height: 17px; color: #c66; flex-shrink: 0; }
.cmp-after { background: rgba(217,164,65,.07); color: var(--ink); font-weight: 500; }
.cmp-after svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; }

/* ---------- Metric chips ---------- */
.metric-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.8rem; }
.metric-chip {
  padding: .55rem 1.25rem; border-radius: 999px;
  border: 1.5px solid rgba(217,164,65,.5); color: var(--gold-300);
  font-family: var(--font-head); font-weight: 600; font-size: .86rem;
  transition: background .25s, transform .25s var(--ease);
}
.metric-chip:hover { background: rgba(217,164,65,.15); transform: translateY(-3px); }

/* ---------- Sales funnel ---------- */
.funnel-wrap { margin-top: 3.2rem; display: grid; gap: 1.3rem; justify-items: center; }
.funnel-level { width: var(--w); min-width: 270px; text-align: center; }
.funnel-bar {
  padding: 1rem 1.5rem; border-radius: 13px;
  background: linear-gradient(110deg, var(--navy-800), var(--navy-700));
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  box-shadow: var(--shadow-md); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.funnel-level:hover .funnel-bar { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.funnel-bar.funnel-final {
  background: linear-gradient(110deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
}
.funnel-level p { color: var(--muted); font-size: .88rem; margin-top: .55rem; }

/* ---------- Deliverables vs outcomes ---------- */
.dlv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 3rem; }
.dlv-card { border-radius: var(--radius); padding: 2.4rem 2.2rem; }
.dlv-card h3 { font-size: 1.25rem; margin-bottom: 1.4rem; }
.dlv-card ul { display: grid; gap: .95rem; }
.dlv-card li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; }
.dlv-card li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .15rem; }
.dlv-light { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dlv-light li svg { color: var(--gold-500); }
.dlv-dark {
  background: radial-gradient(130% 160% at 20% 0%, var(--navy-700), var(--navy-950) 80%);
  color: var(--white); position: relative; overflow: hidden;
}
.dlv-dark::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(217,164,65,.2); filter: blur(60px); top: -80px; inset-inline-end: -60px;
}
.dlv-dark h3 { color: var(--gold-300); position: relative; z-index: 1; }
.dlv-dark ul { position: relative; z-index: 1; }
.dlv-dark li { color: rgba(255,255,255,.85); }
.dlv-dark li svg { color: var(--gold-400); }
[dir="rtl"] .dlv-dark li svg { transform: scaleX(-1); }

/* ---------- Case study card ---------- */
.case-card {
  border-radius: calc(var(--radius) + 8px); padding: 3.5rem 3rem;
  background: radial-gradient(120% 160% at 80% 0%, var(--navy-700), var(--navy-950) 75%);
  color: var(--white); position: relative; overflow: hidden;
}
.case-card::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(217,164,65,.22); filter: blur(80px); bottom: -130px; inset-inline-start: -90px;
}
.case-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: .8rem 0 1rem; max-width: 720px; position: relative; z-index: 1; }
.case-card > p { color: rgba(255,255,255,.78); max-width: 720px; position: relative; z-index: 1; }
.case-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 2.6rem; padding-top: 2.2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  position: relative; z-index: 1;
}
.case-stat { text-align: center; }

/* ---------- Zigzag rows ---------- */
.zig-wrap { display: grid; gap: 5.5rem; }
.zig-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.zig-media { position: relative; }
.zig-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.zig-media::after {
  content: ""; position: absolute; width: 110px; height: 110px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(217,164,65,.35), rgba(217,164,65,.08));
  bottom: -1.5rem; inset-inline-start: -1.5rem; z-index: -1;
}
.zig-row.rev .zig-media { order: 2; }
.zig-row.rev .zig-media::after { inset-inline-start: auto; inset-inline-end: -1.5rem; }
.zig-body p { color: var(--muted); }

/* ---------- Flow diagram ---------- */
.flow-grid {
  display: flex; align-items: stretch; justify-content: center; gap: .4rem;
  margin-top: 3.2rem; flex-wrap: nowrap;
}
.flow-node { flex: 1; max-width: 200px; text-align: center; }
.flow-pill {
  display: inline-block; padding: .65rem 1.5rem; border-radius: 999px;
  border: 1.5px solid rgba(217,164,65,.6); color: var(--gold-300);
  background: rgba(217,164,65,.08);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  margin-bottom: .9rem; white-space: nowrap;
  transition: background .25s, transform .25s var(--ease);
}
.flow-node:hover .flow-pill { background: rgba(217,164,65,.2); transform: translateY(-3px); }
.flow-node p { color: rgba(255,255,255,.66); font-size: .84rem; line-height: 1.55; }
.flow-arrow { display: flex; align-items: flex-start; padding-top: .65rem; color: rgba(217,164,65,.7); flex-shrink: 0; }
.flow-arrow svg { width: 22px; height: 22px; }
[dir="rtl"] .flow-arrow svg { transform: scaleX(-1); }

/* ---------- Channel tiles ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.channel-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.7rem 2rem; text-align: center;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.channel-tile::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease);
}
.channel-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(217,164,65,.4); }
.channel-tile:hover::before { transform: scaleX(1); }
.channel-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, var(--navy-700), var(--navy-950));
  color: var(--gold-300);
}
.channel-icon svg { width: 28px; height: 28px; }
.channel-icon span { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.channel-tile h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.channel-tile p { color: var(--muted); font-size: .9rem; }

/* ---------- Multilingual photo banner ---------- */
.multi-banner {
  position: relative; background-size: cover; background-position: center;
  background-attachment: fixed; padding: 6.5rem 0; text-align: center; color: var(--white);
}
.multi-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(6,13,28,.93) 25%, rgba(15,31,61,.82));
}
.multi-banner-inner { position: relative; z-index: 1; max-width: 760px; }
.multi-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.multi-banner h2::after {
  content: ""; display: block; width: 70px; height: 3px; border-radius: 3px;
  background: var(--gold-400); margin: 1.1rem auto 0;
}
.multi-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2.2rem; }
.flag-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.flag-strip img {
  border-radius: 5px; box-shadow: 0 2px 10px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.flag-strip img:hover { transform: translateY(-4px) scale(1.12); }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { margin-top: 2.6rem; display: grid; gap: .9rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(217,164,65,.5); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy-700); }
.faq-icon {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-500);
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.3rem; }
.faq-answer p { color: var(--muted); font-size: .93rem; }

/* mini cards for "other solutions" */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.mini-card {
  display: flex; align-items: center; gap: .8rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 13px;
  padding: 1rem 1.2rem; font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.mini-card:hover { border-color: var(--gold-400); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-card svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; }
[dir="rtl"] .mini-card svg { transform: scaleX(-1); }
.mini-card.current {
  background: linear-gradient(110deg, var(--navy-800), var(--navy-950));
  border-color: var(--navy-800); color: var(--white);
  cursor: default; pointer-events: none;
}
.mini-card.current svg { color: var(--gold-400); transform: none; }
[dir="rtl"] .mini-card.current svg { transform: none; }

/* ---------- Values / perks grid ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .why-icon { margin-inline: auto; background: linear-gradient(135deg, rgba(217,164,65,.18), rgba(217,164,65,.05)); }
.value-card .why-icon svg { color: var(--gold-500); }
.value-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.value-card p { color: var(--muted); font-size: .9rem; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.mv-card {
  border-radius: var(--radius); padding: 2.4rem 2.2rem; color: var(--white);
  background: radial-gradient(130% 160% at 20% 0%, var(--navy-700), var(--navy-950) 80%);
  position: relative; overflow: hidden;
}
.mv-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(217,164,65,.22); filter: blur(60px); top: -90px; inset-inline-end: -60px;
}
.mv-card h3 { color: var(--gold-300); margin-bottom: .8rem; font-size: 1.25rem; position: relative; z-index: 1; }
.mv-card p { color: rgba(255,255,255,.78); position: relative; z-index: 1; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: start; }
.contact-info-card {
  background: radial-gradient(130% 160% at 20% 0%, var(--navy-700), var(--navy-950) 80%);
  color: var(--white); border-radius: var(--radius); padding: 2.5rem 2.2rem;
  position: relative; overflow: hidden;
}
.contact-info-card::after {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: rgba(217,164,65,.25); filter: blur(70px); bottom: -100px; inset-inline-end: -70px;
}
.contact-info-card h3 { color: var(--gold-300); margin-bottom: 1.6rem; font-size: 1.3rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; margin-top: .2rem; }
.contact-info-item strong { display: block; font-family: var(--font-head); font-size: .9rem; margin-bottom: .2rem; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,.78); font-size: .92rem; }
.contact-info-item a:hover { color: var(--gold-300); }

.contact-form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.5rem 2.2rem; box-shadow: var(--shadow-md);
}
.contact-form-card h3 { margin-bottom: 1.6rem; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  margin-bottom: .4rem; color: var(--ink);
}
.form-group input, .form-group textarea {
  width: 100%; padding: .85rem 1.05rem;
  border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--font-body); font-size: .93rem; color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(217,164,65,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input.invalid, .form-group textarea.invalid {
  border-color: #d64545; background: #fdf6f6;
}
.form-group input.invalid:focus, .form-group textarea.invalid:focus {
  border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.13);
}
.field-error { color: #b03030; font-size: .8rem; margin-top: .35rem; }
.captcha-group input { max-width: 140px; }
.captcha-q {
  display: inline-block; padding: .15rem .7rem; border-radius: 7px;
  background: var(--navy-900); color: var(--gold-300);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .08em;
  user-select: none; -webkit-user-select: none;
}
.form-alert { padding: 1rem 1.3rem; border-radius: 11px; font-size: .92rem; margin-bottom: 1.3rem; }
.form-alert.ok { background: #e8f7ee; color: #156a38; border: 1px solid #bce5cc; }
.form-alert.err { background: #fdeeee; color: #9c2b2b; border: 1px solid #f3c8c8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; }
.logo-footer { margin-bottom: 1.2rem; }
.footer-about p { font-size: .9rem; max-width: 300px; }
.footer-col h4 {
  color: var(--white); font-size: .95rem; margin-bottom: 1.2rem;
  padding-bottom: .6rem; position: relative;
}
.footer-col h4::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 30px; height: 2px; background: var(--gold-500); border-radius: 2px;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col a { font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .25rem; color: var(--gold-400); }
.footer-contact span { font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0 1.8rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .85rem;
}
.footer-bottom-links { display: flex; gap: 1.4rem; }
.footer-bottom-links a:hover { color: var(--gold-300); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .cards-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; z-index: 102; }

  .main-nav {
    position: fixed; top: 0; inset-inline-end: 0; bottom: 0;
    width: min(340px, 86vw); background: var(--navy-950);
    padding: 5.5rem 1.6rem 2rem; z-index: 101;
    transform: translateX(100%); transition: transform .38s var(--ease);
    overflow-y: auto; margin: 0;
  }
  [dir="rtl"] .main-nav { transform: translateX(-100%); }
  .main-nav.open { transform: translateX(0) !important; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: .3rem; }
  .main-nav a { padding: .85rem 1rem; border-radius: 11px; font-size: 1rem; justify-content: space-between; }
  .dropdown {
    position: static; min-width: 0; background: rgba(255,255,255,.05);
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; padding: 0 .4rem;
    transition: max-height .4s var(--ease), padding .3s;
  }
  .has-dropdown.open-sub .dropdown { max-height: 480px; padding: .4rem; }
  .dropdown a { color: rgba(255,255,255,.78); font-size: .9rem; }
  .dropdown a:hover { background: rgba(255,255,255,.08); color: var(--gold-300); }
  .has-dropdown.open-sub > a .chev { transform: rotate(180deg); }

  .split { grid-template-columns: 1fr; gap: 3.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .multi-banner { background-attachment: scroll; } /* fixed is unreliable on mobile */
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .zig-row { grid-template-columns: 1fr; gap: 2.6rem; }
  .dlv-grid { grid-template-columns: 1fr; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-aspect { padding-bottom: .4rem; }
  .cmp-row > div { padding: .8rem 1.2rem; }
  .cmp-before { padding-top: .9rem; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .day-rail { padding-inline-start: 0; }
  .day-rail::before { display: none; }
  .day-time { position: static; display: inline-block; width: auto; padding: .3rem 1rem; margin-bottom: .5rem; box-shadow: var(--shadow-sm); }
  .funnel-level { width: 100% !important; }
  .case-card { padding: 2.6rem 1.8rem; }
  .case-stats { grid-template-columns: 1fr; gap: 1.4rem; }
  .zig-row.rev .zig-media { order: 0; }
  .flow-grid { flex-direction: column; align-items: center; gap: .9rem; }
  .flow-node { max-width: 420px; }
  .flow-arrow { padding-top: 0; transform: rotate(90deg); }
  [dir="rtl"] .flow-arrow { transform: rotate(90deg) scaleX(1); }
  [dir="rtl"] .flow-arrow svg { transform: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .process-grid::before { display: none; }
  .process-num { box-shadow: var(--shadow-sm); }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid, .mv-grid { grid-template-columns: 1fr; }
  .section { padding: 4.2rem 0; }
  .hero { min-height: 88vh; padding-top: 8rem; }
}

@media (max-width: 600px) {
  .cards-grid, .testi-grid, .why-grid, .values-grid, .mini-grid, .process-grid, .channel-grid, .stack-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 3.2rem 1.6rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stat-chip { inset-inline-end: .6rem; padding: .8rem 1.1rem; }
  .lang-btn span { display: none; }
  .page-hero { padding: 8.5rem 0 4rem; }
  .solution-hero-img img { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .anim { opacity: 1; transform: none; }
}
