/* =====================================================
   MAGHREB VISION — SHARED PAGES CSS
   Covers: services.html | about.html | portfolio.html | blog.html
   ===================================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-family: 'DM Sans', sans-serif;
  background: #06060E;
  color: #F5F0E8;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body { overflow-x: hidden; width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.08; }
p { line-height: 1.8; }

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #C9A84C;
  --gold-light: #F0D98A;
  --gold-dark: #9C7A28;
  --bg: #06060E;
  --bg-mid: #0B0B18;
  --bg-card: #0F0F1F;
  --ivory: #F5F0E8;
  --ivory-60: rgba(245,240,232,0.60);
  --clip-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  --clip-md: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --clip-hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  --ease-smooth: cubic-bezier(0.2, 0.9, 0.4, 1);
  --nav-h: 72px;
  --max-w: 1280px;
}

/* ===== UTILITIES ===== */
.gold-text {
  background: linear-gradient(135deg, #F0D98A 0%, #C9A84C 45%, #9C7A28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.not-italic { font-style: normal; }
.text-center { text-align: center; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
}
section { scroll-margin-top: var(--nav-h); }

.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.18) 30%, rgba(201,168,76,0.35) 50%, rgba(201,168,76,0.18) 70%, transparent);
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
}
.section-tag.centered { justify-content: center; }
.tag-line {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  flex-shrink: 0;
}
.tag-line.rev { transform: scaleX(-1); }
.tag-line.rev-grad { background: linear-gradient(270deg, var(--gold), transparent); }
.tag-text {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.section-h2 {
  font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 5rem);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeSlideDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.7;transform:scale(1.2);} }
@keyframes scrollLine { 0%,100%{opacity:.3;transform:scaleY(.6);}50%{opacity:1;transform:scaleY(1);} }
@keyframes trustScroll { from{transform:translateX(0);}to{transform:translateX(-50%);} }
@keyframes waBounce { 0%,100%{transform:translateY(0);}50%{transform:translateY(-6px);} }
@keyframes wa-pulse { 0%{box-shadow:0 4px 15px rgba(37,211,102,.3);}50%{box-shadow:0 4px 25px rgba(37,211,102,.6);}100%{box-shadow:0 4px 15px rgba(37,211,102,.3);} }
@keyframes shimmer { 0%{background-position:-200% 0;}100%{background-position:200% 0;} }

/* ===== REVEAL ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.55s var(--ease-smooth), transform 0.55s var(--ease-smooth);
}
.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity:1; transform:translate(0); }

/* ===== PROGRESS BAR ===== */
#progress-bar {
  position: fixed; top:0; left:0; z-index:9999;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  will-change: width;
}

/* ===== AURORA / GRID ===== */
.aurora {
  position: absolute; border-radius: 50%;
  pointer-events: none; will-change: auto;
}
.bg-grid {
  position: absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ===== BUTTONS ===== */
.btn-gold, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
  clip-path: var(--clip-md); white-space: nowrap; will-change: transform;
}
.btn-gold {
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #F0D98A, #C9A84C, #9C7A28);
  color: #05050C;
}
.btn-gold:hover { transform: translateY(-3px); opacity: 0.9; }
.btn-ghost {
  padding: 0.9rem 2.2rem; background: transparent;
  color: rgba(226,201,126,.8); border: 1px solid rgba(201,168,76,.25);
}
.btn-ghost:hover { border-color: rgba(201,168,76,.6); transform: translateY(-3px); color: var(--gold-light); }

/* ===== LANG SWITCHER ===== */
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  background: transparent; border: 1px solid rgba(201,168,76,.15);
  color: rgba(226,201,126,.5); padding: 0.25rem 0.7rem;
  font-size: 0.68rem; letter-spacing: 0.08em; cursor: pointer;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.lang-btn.active, .lang-btn:hover {
  background: rgba(201,168,76,.12); border-color: rgba(201,168,76,.45); color: var(--gold-light);
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  height: var(--nav-h); background: rgba(6,6,14,.95);
  border-bottom: 1px solid rgba(201,168,76,.06);
  transition: border-bottom-color 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.5); border-bottom-color: rgba(201,168,76,.12); }
.nav-inner {
  max-width: var(--max-w); margin:0 auto;
  padding: 0 clamp(1rem,4vw,2rem); height:100%;
  display: flex; align-items: center; justify-content: space-between; gap:1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-hex { transition: transform 0.5s ease; flex-shrink: 0; }
.nav-logo:hover .logo-hex { transform: rotate(30deg); }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem,2vw,1.2rem); letter-spacing: 0.25em; font-weight: 600;
}
.nav-links {
  display: flex; align-items: center; gap: clamp(1.2rem,2.5vw,2.5rem);
}
.nav-link {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(245,240,232,.45); text-decoration: none;
  position: relative; padding-bottom: 2px; transition: color 0.3s; white-space: nowrap;
}
.nav-link::after {
  content:''; position: absolute; bottom:0; left:0; right:100%; height:1px;
  background: var(--gold); transition: right 0.3s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { right:0; }
.nav-link.active { color: var(--gold-light); }
.nav-link.active::after { right:0; }
.nav-right { display: flex; align-items: center; gap:1rem; flex-shrink:0; }

/* Hamburger */
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; padding:4px; cursor:pointer; flex-shrink:0;
}
.hamburger span { display:block; height:1px; background:rgba(245,240,232,.7); transition: all 0.3s; }
.hamburger span:first-child { width:24px; }
.hamburger span:nth-child(2) { width:24px; }
.hamburger span:last-child { width:16px; background:var(--gold); }
.hamburger.open span:first-child { transform:translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:last-child { width:24px; transform:translateY(-6px) rotate(-45deg); }

#mobile-menu {
  display:none; flex-direction:column;
  padding:1.25rem 1.5rem 1.75rem; gap:0.75rem;
  border-top:1px solid rgba(201,168,76,.08); background:rgba(6,6,14,.98);
}
#mobile-menu.open { display:flex; }
#mobile-menu .nav-link { font-size:0.82rem; padding:0.5rem 0; color:rgba(245,240,232,.6); }
.mobile-lang-row { display:flex; gap:0.5rem; padding-top:0.75rem; border-top:1px solid rgba(201,168,76,.12); }

/* ===== TRUST BAR ===== */
#trust-bar {
  background: var(--bg-mid);
  border-top: 1px solid rgba(167,123,90,.12);
  border-bottom: 1px solid rgba(167,123,90,.12);
  padding: 1.4rem 0; overflow: hidden;
}
.trust-track {
  display:flex; gap:5rem; align-items:center;
  animation: trustScroll 28s linear infinite;
  width: max-content; will-change: transform;
}
.trust-track:hover { animation-play-state: paused; }
.trust-company {
  font-family:'Cormorant Garamond',serif; font-size:1.05rem;
  font-weight:500; letter-spacing:0.18em; text-transform:uppercase;
  color:rgba(237,236,232,.25); white-space:nowrap; user-select:none;
}
.trust-dot { width:4px; height:4px; border-radius:50%; background:rgba(167,123,90,.35); flex-shrink:0; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  min-height: 52vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.page-hero-content {
  position: relative; z-index:2;
  max-width: var(--max-w); margin:0 auto;
  padding: clamp(4rem,8vw,6rem) clamp(1rem,4vw,2rem);
  width:100%; text-align:center;
}
.page-hero-badge {
  display:inline-flex; align-items:center; gap:0.75rem;
  padding:0.5rem 1.25rem; margin-bottom:2rem;
  border:1px solid rgba(201,168,76,.25); background:rgba(201,168,76,.06);
  clip-path:var(--clip-sm);
  animation: fadeSlideDown 0.9s var(--ease-smooth) both;
}
.pulse-dot { width:6px; height:6px; border-radius:50%; background:var(--gold); animation:pulse 2s ease-in-out infinite; flex-shrink:0; will-change:transform,opacity; }
.page-hero-badge span { font-size:0.7rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); }
.page-hero h1 {
  font-weight:300; font-size:clamp(2rem,6vw,5rem); line-height:1.1;
  margin-bottom:1.25rem; animation:fadeSlideUp 1s var(--ease-smooth) 0.15s both;
}
.page-hero p {
  color:rgba(245,240,232,.55); font-size:clamp(0.9rem,2vw,1.05rem);
  font-weight:300; max-width:560px; line-height:1.75;
  margin: 0 auto 2.5rem; animation:fadeSlideUp 1s var(--ease-smooth) 0.3s both;
}
.page-hero-btns {
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:center;
  animation:fadeSlideUp 1s var(--ease-smooth) 0.45s both;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display:flex; align-items:center; gap:0.5rem;
  font-size:0.72rem; letter-spacing:0.08em;
  color:rgba(245,240,232,.3); margin-bottom:2rem;
  justify-content:center;
}
.breadcrumb a { color:rgba(201,168,76,.6); text-decoration:none; transition:color 0.2s; }
.breadcrumb a:hover { color:var(--gold-light); }
.breadcrumb span { color:rgba(245,240,232,.2); }

/* ===== WHATSAPP FLOAT ===== */
#wa-float {
  position:fixed; bottom:30px; right:30px;
  width:60px; height:60px;
  background:linear-gradient(135deg,#25D366,#128C7E);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:white; font-size:2rem; text-decoration:none;
  z-index:1000; box-shadow:0 4px 15px rgba(37,211,102,.3);
  transition:all 0.3s ease; animation:wa-pulse 2s infinite;
}
#wa-float:hover { transform:scale(1.1); box-shadow:0 6px 20px rgba(37,211,102,.5); }
#wa-float::before {
  content:"Need help? Chat with us! 💬";
  position:absolute; right:75px;
  background:rgba(10,9,22,.95); backdrop-filter:blur(10px);
  color:#f5f0e8; font-size:0.75rem; font-family:'DM Sans',sans-serif;
  padding:8px 16px; border-radius:8px; white-space:nowrap;
  border:1px solid rgba(201,168,76,.2); box-shadow:0 4px 15px rgba(0,0,0,.2);
  pointer-events:none; opacity:0; transform:translateX(10px);
  transition:all 0.3s ease; letter-spacing:0.3px;
}
#wa-float::after {
  content:""; position:absolute; right:68px;
  width:0; height:0;
  border-left:6px solid rgba(10,9,22,.95);
  border-top:5px solid transparent; border-bottom:5px solid transparent;
  opacity:0; transform:translateX(10px); transition:all 0.3s ease; pointer-events:none;
}
#wa-float:hover::before { opacity:1; transform:translateX(0); }
#wa-float:hover::after { opacity:1; transform:translateX(0); }

/* ===== FOOTER ===== */
footer {
  background:#040410; border-top:1px solid rgba(201,168,76,.07);
  padding:clamp(3rem,6vw,5rem) 0 2.5rem;
}
.footer-grid {
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:clamp(1.5rem,4vw,3rem); margin-bottom:4rem;
}
.footer-brand p { font-size:0.83rem; color:rgba(245,240,232,.3); line-height:1.7; max-width:260px; margin:1.25rem 0; }
.social-links { display:flex; gap:0.5rem; flex-wrap:wrap; }
.social-link {
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(201,168,76,.1); color:rgba(245,240,232,.35);
  text-decoration:none; font-size:0.95rem;
  transition:border-color 0.3s, color 0.3s, transform 0.3s;
  clip-path:polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,5px 100%,0 calc(100% - 5px));
  will-change:transform;
}
.social-link:hover { border-color:rgba(201,168,76,.4); color:var(--gold-light); background:rgba(201,168,76,.08); transform:translateY(-3px); }
.footer-col h4 { font-size:0.65rem; letter-spacing:0.22em; text-transform:uppercase; color:rgba(245,240,232,.25); margin-bottom:1.5rem; font-family:'DM Sans',sans-serif; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:0.75rem; }
.footer-links a, .footer-links span { font-size:0.82rem; color:rgba(245,240,232,.32); text-decoration:none; display:flex; align-items:center; gap:0.5rem; transition:color 0.25s, gap 0.25s; }
.footer-links a:hover { color:var(--gold-light); gap:0.75rem; }
.footer-bottom { padding-top:1.5rem; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-bottom p, .footer-bottom a { font-size:0.72rem; color:rgba(245,240,232,.2); text-decoration:none; transition:color 0.2s; }
.footer-bottom a:hover { color:rgba(201,168,76,.5); }
.footer-legal { display:flex; gap:1.5rem; }

/* ===== PULSE DOT ===== */
.pulse-dot { width:6px; height:6px; border-radius:50%; background:var(--gold); animation:pulse 2s ease-in-out infinite; flex-shrink:0; }

/* =====================================================
   SERVICES PAGE
   ===================================================== */

/* Services Hero */
.services-hero-bg {
  position:absolute; inset:0; z-index:0;
  background: radial-gradient(ellipse at 60% 40%, rgba(74,29,150,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(201,168,76,.06) 0%, transparent 50%);
}

/* Main services grid */
.srv-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:2rem; margin-top:3rem;
}
.srv-card {
  padding:clamp(1.75rem,4vw,2.75rem) clamp(1.5rem,3vw,2.25rem);
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  border:1px solid rgba(201,168,76,.10);
  transition:transform 0.45s, border-color 0.35s;
  position:relative; overflow:hidden; will-change:transform;
}
.srv-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,168,76,.3),transparent);
  opacity:0; transition:opacity 0.35s;
}
.srv-card:hover { transform:translateY(-10px); border-color:rgba(201,168,76,.3); }
.srv-card:hover::before { opacity:1; }
.srv-card-header { display:flex; align-items:center; gap:1.25rem; margin-bottom:1.5rem; }
.srv-icon {
  width:60px; height:60px; min-width:60px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(201,168,76,.2); background:rgba(201,168,76,.07);
  font-size:1.5rem; color:var(--gold); clip-path:var(--clip-hex);
  transition:background 0.35s, border-color 0.35s;
}
.srv-card:hover .srv-icon { background:rgba(201,168,76,.14); border-color:rgba(201,168,76,.4); }
.srv-card-header h3 { font-size:clamp(1.1rem,2vw,1.4rem); font-weight:600; margin-bottom:0.3rem; }
.srv-card-header p { font-size:0.82rem; color:rgba(245,240,232,.4); }
.srv-features { list-style:none; display:flex; flex-direction:column; gap:0.65rem; margin-top:0.5rem; }
.srv-features li { display:flex; align-items:flex-start; gap:0.75rem; font-size:0.84rem; color:rgba(245,240,232,.6); }
.srv-features li i { color:var(--gold); font-size:0.7rem; margin-top:4px; flex-shrink:0; }
.srv-tag {
  display:inline-block; margin-top:1.5rem; font-size:0.67rem; letter-spacing:0.15em;
  text-transform:uppercase; color:var(--gold); border:1px solid rgba(201,168,76,.2);
  padding:0.3rem 0.9rem; clip-path:var(--clip-sm);
}

/* Process steps */
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; position:relative; }
.process-grid::before {
  content:''; position:absolute; top:36px; left:10%; right:10%; height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,168,76,.2) 20%,rgba(201,168,76,.2) 80%,transparent);
}
.process-step { text-align:center; padding:clamp(1.25rem,3vw,2rem) 1rem; position:relative; }
.process-num {
  width:72px; height:72px; margin:0 auto 1.5rem;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(201,168,76,.25); background:rgba(201,168,76,.06);
  font-family:'Cormorant Garamond',serif; font-size:1.6rem; font-weight:700; color:var(--gold);
  clip-path:var(--clip-hex); position:relative; z-index:1;
  transition:background 0.35s, border-color 0.35s;
}
.process-step:hover .process-num { background:rgba(201,168,76,.14); border-color:rgba(201,168,76,.5); }
.process-step h4 { font-size:1.05rem; margin-bottom:0.6rem; }
.process-step p { font-size:0.82rem; color:rgba(245,240,232,.45); line-height:1.6; }

/* Technologies */
.tech-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:1rem; margin-top:2rem; }
.tech-item {
  padding:1.25rem 1rem; text-align:center;
  border:1px solid rgba(201,168,76,.08); background:rgba(201,168,76,.03);
  transition:border-color 0.3s, background 0.3s, transform 0.3s;
  will-change:transform;
}
.tech-item:hover { border-color:rgba(201,168,76,.25); background:rgba(201,168,76,.07); transform:translateY(-4px); }
.tech-item i { font-size:1.6rem; color:var(--gold); margin-bottom:0.6rem; display:block; }
.tech-item span { font-size:0.72rem; color:rgba(245,240,232,.4); letter-spacing:0.08em; }

/* CTA BAND */
.cta-band {
  position:relative; overflow:hidden;
  padding:clamp(3rem,6vw,5rem) clamp(1rem,4vw,2rem);
  background:linear-gradient(135deg,rgba(18,16,34,.95),rgba(10,9,20,.98));
  border:1px solid rgba(201,168,76,.12); text-align:center;
  margin:4rem 0;
}
.cta-band::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,168,76,.5),transparent);
}
.cta-band::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,168,76,.5),transparent);
}
.cta-band h2 { font-size:clamp(1.6rem,4vw,3.5rem); font-weight:300; margin-bottom:1rem; }
.cta-band p { color:rgba(245,240,232,.5); font-size:0.95rem; max-width:480px; margin:0 auto 2rem; }
.cta-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* Pricing strip */
.pricing-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2.5rem; }
.pricing-item {
  padding:2rem; border:1px solid rgba(201,168,76,.1);
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  text-align:center; transition:transform 0.4s, border-color 0.35s; will-change:transform;
}
.pricing-item:hover { transform:translateY(-8px); border-color:rgba(201,168,76,.35); }
.pricing-item.featured { border-color:rgba(201,168,76,.3); position:relative; }
.pricing-item.featured::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.pricing-label { font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); margin-bottom:0.5rem; }
.pricing-price { font-family:'Cormorant Garamond',serif; font-size:clamp(1.6rem,3vw,2.2rem); color:var(--gold-light); margin:0.5rem 0 0.25rem; }
.pricing-sub { font-size:0.78rem; color:rgba(245,240,232,.35); }

/* FAQ */
.faq-list { display:flex; flex-direction:column; gap:1rem; max-width:800px; margin:2.5rem auto 0; }
.faq-item {
  border:1px solid rgba(201,168,76,.1);
  background:linear-gradient(160deg,rgba(18,16,34,.8),rgba(10,9,20,.9));
  overflow:hidden; transition:border-color 0.3s;
}
.faq-item:hover { border-color:rgba(201,168,76,.25); }
.faq-question {
  width:100%; padding:1.25rem 1.5rem; display:flex; align-items:center;
  justify-content:space-between; gap:1rem; cursor:pointer;
  background:none; border:none; color:var(--ivory); text-align:left;
  font-family:'DM Sans',sans-serif; font-size:0.9rem; font-weight:500;
}
.faq-question i { color:var(--gold); flex-shrink:0; transition:transform 0.3s; }
.faq-item.open .faq-question i { transform:rotate(45deg); }
.faq-answer {
  max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s;
  font-size:0.85rem; color:rgba(245,240,232,.5); line-height:1.8;
  padding:0 1.5rem;
}
.faq-item.open .faq-answer { max-height:300px; padding:0 1.5rem 1.25rem; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */

/* Stats row */
.stats-row {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-top:3rem;
}
.stat-card {
  padding:2rem 1.5rem; text-align:center;
  border:1px solid rgba(201,168,76,.10);
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  transition:transform 0.4s, border-color 0.35s; will-change:transform;
}
.stat-card:hover { transform:translateY(-8px); border-color:rgba(201,168,76,.3); }
.stat-num {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.5rem,5vw,4rem); font-weight:700; line-height:1;
  margin-bottom:0.5rem;
}
.stat-label { font-size:0.75rem; letter-spacing:0.15em; text-transform:uppercase; color:rgba(245,240,232,.35); }

/* Team grid */
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin-top:2.5rem; }
.team-card {
  position:relative; overflow:hidden;
  border:1px solid rgba(201,168,76,.1);
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  transition:transform 0.45s, border-color 0.35s; will-change:transform;
}
.team-card:hover { transform:translateY(-10px); border-color:rgba(201,168,76,.35); }
.team-img {
  aspect-ratio:3/4; overflow:hidden;
  background:linear-gradient(145deg,#141220,#0A0910);
  position:relative;
}
.team-img img { width:100%; height:100%; object-fit:cover; opacity:0.65; transition:transform 0.5s, opacity 0.5s; }
.team-card:hover .team-img img { transform:scale(1.06); opacity:0.8; }
.team-img-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg,rgba(18,16,40,.9),rgba(8,8,20,.95));
}
.team-img-placeholder i { font-size:4rem; color:rgba(201,168,76,.2); }
.team-info { padding:1.5rem 1.25rem; }
.team-name { font-size:1.15rem; font-weight:600; margin-bottom:0.25rem; }
.team-role { font-size:0.72rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); margin-bottom:0.75rem; }
.team-bio { font-size:0.82rem; color:rgba(245,240,232,.4); line-height:1.65; }
.team-socials { display:flex; gap:0.5rem; margin-top:1rem; }
.team-social {
  width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(201,168,76,.12); color:rgba(245,240,232,.3);
  font-size:0.8rem; text-decoration:none; transition:all 0.25s;
  clip-path:polygon(0 0,calc(100% - 4px) 0,100% 4px,100% 100%,4px 100%,0 calc(100% - 4px));
}
.team-social:hover { border-color:rgba(201,168,76,.4); color:var(--gold-light); background:rgba(201,168,76,.08); }

/* Values grid */
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2.5rem; }
.value-card {
  padding:2rem 1.5rem; text-align:center;
  border:1px solid rgba(201,168,76,.10);
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  transition:transform 0.45s, border-color 0.35s; will-change:transform;
}
.value-card:hover { transform:translateY(-10px); border-color:rgba(201,168,76,.3); }
.value-icon {
  width:60px; height:60px; margin:0 auto 1.5rem;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(201,168,76,.2); background:rgba(201,168,76,.07);
  font-size:1.5rem; color:var(--gold); clip-path:var(--clip-hex);
}
.value-card h3 { font-size:1.15rem; margin-bottom:0.75rem; }
.value-card p { font-size:0.83rem; color:rgba(245,240,232,.45); line-height:1.7; }

/* Timeline */
.timeline { position:relative; max-width:720px; margin:3rem auto 0; }
.timeline::before {
  content:''; position:absolute; left:50%; top:0; bottom:0;
  width:1px; background:linear-gradient(to bottom,transparent,rgba(201,168,76,.2) 10%,rgba(201,168,76,.2) 90%,transparent);
  transform:translateX(-50%);
}
.timeline-item { display:grid; grid-template-columns:1fr 40px 1fr; gap:0; margin-bottom:3rem; align-items:start; }
.timeline-item:nth-child(odd) .timeline-content { grid-column:1; text-align:right; }
.timeline-item:nth-child(odd) .timeline-mid { grid-column:2; }
.timeline-item:nth-child(odd) .timeline-empty { grid-column:3; }
.timeline-item:nth-child(even) .timeline-empty { grid-column:1; }
.timeline-item:nth-child(even) .timeline-mid { grid-column:2; }
.timeline-item:nth-child(even) .timeline-content { grid-column:3; }
.timeline-mid { display:flex; justify-content:center; padding-top:0.5rem; }
.timeline-dot {
  width:14px; height:14px; border-radius:50%;
  background:var(--bg); border:2px solid var(--gold);
  position:relative; z-index:1; flex-shrink:0;
}
.timeline-dot::after {
  content:''; position:absolute; inset:-4px; border-radius:50%;
  border:1px solid rgba(201,168,76,.25);
}
.timeline-content { padding:0 1.5rem; }
.timeline-year { font-size:0.68rem; letter-spacing:0.2em; color:var(--gold); text-transform:uppercase; margin-bottom:0.4rem; }
.timeline-content h4 { font-size:1rem; margin-bottom:0.4rem; }
.timeline-content p { font-size:0.8rem; color:rgba(245,240,232,.4); line-height:1.6; }

/* Certifications / Partners */
.partners-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-top:2.5rem; }
.partner-card {
  padding:1.75rem 1.25rem; text-align:center;
  border:1px solid rgba(201,168,76,.08); background:rgba(201,168,76,.03);
  transition:border-color 0.3s, background 0.3s, transform 0.3s; will-change:transform;
}
.partner-card:hover { border-color:rgba(201,168,76,.25); background:rgba(201,168,76,.06); transform:translateY(-5px); }
.partner-card i { font-size:2rem; color:rgba(201,168,76,.4); margin-bottom:0.75rem; display:block; }
.partner-card h4 { font-size:0.88rem; margin-bottom:0.3rem; }
.partner-card p { font-size:0.75rem; color:rgba(245,240,232,.3); }

/* =====================================================
   PORTFOLIO PAGE
   ===================================================== */

/* Filter bar */
.filter-bar {
  display:flex; align-items:center; gap:0.75rem; flex-wrap:wrap;
  justify-content:center; margin:2.5rem 0;
}
.filter-btn {
  padding:0.55rem 1.35rem;
  background:transparent; border:1px solid rgba(201,168,76,.15);
  color:rgba(245,240,232,.4); font-size:0.73rem; letter-spacing:0.12em;
  text-transform:uppercase; cursor:pointer; font-family:'DM Sans',sans-serif;
  transition:all 0.25s; clip-path:var(--clip-sm);
}
.filter-btn:hover, .filter-btn.active {
  background:rgba(201,168,76,.1); border-color:rgba(201,168,76,.45); color:var(--gold-light);
}

/* Portfolio grid — matches index.html style exactly */
.port-main-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1.5rem; margin-top:1rem;
}
.port-item {
  position:relative; overflow:hidden;
  border:1px solid rgba(201,168,76,.08); cursor:pointer;
  background:#0b0b16; transition:transform 0.5s, border-color 0.35s; will-change:transform;
}
.port-item:hover { transform:translateY(-12px); border-color:rgba(201,168,76,.4); }
.port-item-img {
  aspect-ratio:4/3; position:relative; overflow:hidden;
}
.port-item-img img { width:100%; height:100%; object-fit:cover; opacity:0.55; transition:transform 0.5s, opacity 0.5s; }
.port-item:hover .port-item-img img { transform:scale(1.08); opacity:0.75; }
.port-item-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(6,6,14,.95) 0%,rgba(6,6,14,.4) 55%,transparent 100%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:1.25rem;
}
.port-category-tag {
  display:inline-block; font-size:0.6rem; font-weight:700;
  padding:0.3rem 0.75rem;
  background:linear-gradient(135deg,#E2C97E,#C9A84C);
  color:#05050C; letter-spacing:0.1em; text-transform:uppercase;
  width:fit-content; margin-bottom:0.6rem;
  clip-path:polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,6px 100%,0 calc(100% - 6px));
}
.port-item-title { font-family:'Cormorant Garamond',serif; font-size:clamp(1rem,2vw,1.2rem); font-weight:600; color:white; margin-bottom:0; display:block; }

/* Testimonials / results strip */
.results-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2.5rem; }
.result-card {
  padding:2rem; border:1px solid rgba(201,168,76,.1);
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  position:relative; overflow:hidden;
  transition:transform 0.4s, border-color 0.35s; will-change:transform;
}
.result-card:hover { transform:translateY(-8px); border-color:rgba(201,168,76,.3); }
.result-card::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(201,168,76,.35),transparent); }
.result-quote { font-size:2.5rem; color:rgba(201,168,76,.2); font-family:'Cormorant Garamond',serif; line-height:1; margin-bottom:0.5rem; }
.result-text { font-size:0.86rem; color:rgba(245,240,232,.55); line-height:1.75; margin-bottom:1.25rem; font-style:italic; }
.result-author { display:flex; align-items:center; gap:0.75rem; }
.result-avatar {
  width:36px; height:36px; border-radius:50%;
  background:rgba(201,168,76,.12); border:1px solid rgba(201,168,76,.2);
  display:flex; align-items:center; justify-content:center; font-size:0.85rem; color:var(--gold);
}
.result-name { font-size:0.82rem; font-weight:600; }
.result-company { font-size:0.72rem; color:rgba(201,168,76,.6); }

/* =====================================================
   BLOG PAGE
   ===================================================== */

.blog-layout { display:grid; grid-template-columns:1fr 320px; gap:3rem; align-items:start; }

/* Blog cards */
.blog-cards { display:flex; flex-direction:column; gap:2rem; }
.blog-card {
  display:grid; grid-template-columns:280px 1fr; gap:0;
  border:1px solid rgba(201,168,76,.1); overflow:hidden;
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  transition:transform 0.45s, border-color 0.35s; will-change:transform;
}
.blog-card:hover { transform:translateY(-6px); border-color:rgba(201,168,76,.3); }
.blog-card-img {
  position:relative; overflow:hidden;
  background:linear-gradient(145deg,#141220,#0A0910);
}
.blog-card-img img { width:100%; height:100%; object-fit:cover; opacity:0.6; transition:transform 0.5s, opacity 0.5s; }
.blog-card:hover .blog-card-img img { transform:scale(1.07); opacity:0.8; }
.blog-placeholder {
  width:100%; height:100%; min-height:200px; display:flex;
  flex-direction:column; align-items:center; justify-content:center; gap:0.75rem;
  background:linear-gradient(145deg,rgba(18,16,40,.8),rgba(8,8,20,.9));
}
.blog-placeholder i { font-size:2.5rem; color:rgba(201,168,76,.2); }
.blog-card-body { padding:2rem 1.75rem; display:flex; flex-direction:column; }
.blog-meta { display:flex; align-items:center; gap:1rem; margin-bottom:1rem; flex-wrap:wrap; }
.blog-cat {
  font-size:0.62rem; font-weight:700; padding:0.28rem 0.7rem;
  background:linear-gradient(135deg,#E2C97E,#C9A84C); color:#05050C;
  letter-spacing:0.1em; text-transform:uppercase;
  clip-path:polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,5px 100%,0 calc(100% - 5px));
}
.blog-date { font-size:0.72rem; color:rgba(245,240,232,.3); display:flex; align-items:center; gap:0.4rem; }
.blog-read { font-size:0.72rem; color:rgba(201,168,76,.5); display:flex; align-items:center; gap:0.4rem; }
.blog-card-body h2 { font-size:clamp(1.1rem,2vw,1.45rem); font-weight:600; margin-bottom:0.75rem; line-height:1.2; }
.blog-card-body h2 a { color:inherit; text-decoration:none; transition:color 0.25s; }
.blog-card-body h2 a:hover { color:var(--gold-light); }
.blog-excerpt { font-size:0.84rem; color:rgba(245,240,232,.45); line-height:1.75; margin-bottom:1.25rem; flex:1; }
.blog-link {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-size:0.78rem; font-weight:600; letter-spacing:0.04em;
  color:var(--gold); text-decoration:none;
  border-bottom:1px solid rgba(201,168,76,.25);
  padding-bottom:0.2rem; transition:all 0.25s;
  width:fit-content;
}
.blog-content-full h3 { font-size:clamp(1.05rem,2vw,1.35rem); margin:1.75rem 0 0.5rem; color:rgba(245,240,232,.85); }
.blog-content-full p { font-size:0.88rem; line-height:1.8; color:rgba(245,240,232,.5); margin-bottom:0.5rem; }
.blog-content-full code { font-size:0.82rem; background:rgba(201,168,76,.08); padding:0.1rem 0.35rem; border-radius:3px; word-break:break-all; }
.blog-cta-inline h4 { font-size:clamp(1rem,1.8vw,1.25rem); margin-bottom:0.5rem; }
.blog-cta-inline p { font-size:0.85rem; color:rgba(245,240,232,.5); max-width:520px; margin:0 auto 0.75rem; }
.blog-card-detail p { font-size:0.82rem; line-height:1.7; color:rgba(245,240,232,.5); }
.blog-link:hover { color:var(--gold-light); border-color:var(--gold-light); }

/* Featured blog post */
.blog-featured {
  border:1px solid rgba(201,168,76,.2); overflow:hidden;
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  margin-bottom:2.5rem; position:relative;
}
.blog-featured::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.blog-featured-img { aspect-ratio:16/7; overflow:hidden; background:linear-gradient(145deg,#141220,#0A0910); position:relative; }
.blog-featured-img img { width:100%; height:100%; object-fit:cover; opacity:0.5; }
.blog-featured-body { padding:2rem 2.25rem; }
.blog-featured-badge {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-size:0.65rem; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--gold); border:1px solid rgba(201,168,76,.25);
  padding:0.3rem 0.9rem; margin-bottom:1.25rem; clip-path:var(--clip-sm);
}
.blog-featured-body h2 { font-size:clamp(1.4rem,3vw,2rem); font-weight:600; margin-bottom:0.75rem; line-height:1.15; }
.blog-featured-body h2 a { color:inherit; text-decoration:none; transition:color 0.25s; }
.blog-featured-body h2 a:hover { color:var(--gold-light); }

/* Sidebar */
.blog-sidebar { display:flex; flex-direction:column; gap:2rem; position:sticky; top:calc(var(--nav-h) + 2rem); }
.sidebar-card {
  padding:1.75rem; border:1px solid rgba(201,168,76,.1);
  background:linear-gradient(160deg,rgba(18,16,34,.9),rgba(10,9,20,.95));
  position:relative;
}
.sidebar-card::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(201,168,76,.3),transparent); }
.sidebar-title { font-size:0.67rem; letter-spacing:0.22em; text-transform:uppercase; color:rgba(245,240,232,.25); margin-bottom:1.25rem; font-family:'DM Sans',sans-serif; }
.sidebar-card p { font-size:0.83rem; color:rgba(245,240,232,.4); line-height:1.7; margin-bottom:1.25rem; }

/* Tags */
.tag-cloud { display:flex; flex-wrap:wrap; gap:0.5rem; }
.tag-chip {
  padding:0.35rem 0.85rem; font-size:0.72rem; letter-spacing:0.08em;
  border:1px solid rgba(201,168,76,.12); color:rgba(245,240,232,.4);
  cursor:pointer; transition:all 0.25s; clip-path:var(--clip-sm);
}
.tag-chip:hover { border-color:rgba(201,168,76,.4); color:var(--gold-light); background:rgba(201,168,76,.08); }

/* Recent posts in sidebar */
.recent-posts { display:flex; flex-direction:column; gap:1rem; }
.recent-post { display:flex; gap:0.75rem; align-items:flex-start; padding-bottom:1rem; border-bottom:1px solid rgba(201,168,76,.06); }
.recent-post:last-child { border-bottom:none; padding-bottom:0; }
.recent-post-img {
  width:56px; height:56px; min-width:56px; overflow:hidden;
  background:rgba(201,168,76,.08); border:1px solid rgba(201,168,76,.12);
  display:flex; align-items:center; justify-content:center;
}
.recent-post-img i { color:rgba(201,168,76,.3); }
.recent-post-info h5 { font-size:0.83rem; line-height:1.3; margin-bottom:0.3rem; }
.recent-post-info h5 a { color:inherit; text-decoration:none; transition:color 0.25s; }
.recent-post-info h5 a:hover { color:var(--gold-light); }
.recent-post-info span { font-size:0.7rem; color:rgba(245,240,232,.3); }

/* Newsletter in sidebar */
.sidebar-form { display:flex; flex-direction:column; gap:0.75rem; }
.sidebar-input {
  padding:0.75rem 1rem; background:rgba(255,255,255,.04);
  border:1px solid rgba(201,168,76,.14); color:var(--ivory);
  font-size:0.84rem; font-family:'DM Sans',sans-serif; outline:none;
  transition:border-color 0.3s; width:100%;
}
.sidebar-input:focus { border-color:rgba(201,168,76,.5); }
.sidebar-input::placeholder { color:rgba(245,240,232,.25); }

/* Pagination */
.pagination { display:flex; gap:0.5rem; justify-content:center; margin-top:3rem; align-items:center; }
.page-btn {
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(201,168,76,.12); color:rgba(245,240,232,.4);
  font-size:0.82rem; cursor:pointer; background:transparent;
  font-family:'DM Sans',sans-serif; transition:all 0.25s;
  clip-path:polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,5px 100%,0 calc(100% - 5px));
}
.page-btn:hover, .page-btn.active { background:rgba(201,168,76,.1); border-color:rgba(201,168,76,.4); color:var(--gold-light); }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width:1024px) {
  .tech-grid { grid-template-columns:repeat(4,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .blog-layout { grid-template-columns:1fr; }
  .blog-sidebar { position:static; }
  .partners-grid { grid-template-columns:repeat(2,1fr); }
  .port-main-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:900px) {
  .srv-grid { grid-template-columns:1fr; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .process-grid::before { display:none; }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .values-grid { grid-template-columns:repeat(2,1fr); }
  .results-strip { grid-template-columns:1fr; max-width:520px; margin-left:auto; margin-right:auto; }
  .pricing-strip { grid-template-columns:1fr; max-width:420px; margin-left:auto; margin-right:auto; }
  .blog-card { grid-template-columns:1fr; }
  .blog-card-img { min-height:220px; }
  .port-main-grid { grid-template-columns:1fr; }
  .timeline::before { left:20px; }
  .timeline-item { grid-template-columns:40px 1fr; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { grid-column:2; text-align:left; }
  .timeline-item:nth-child(odd) .timeline-mid,
  .timeline-item:nth-child(even) .timeline-mid { grid-column:1; }
  .timeline-item:nth-child(odd) .timeline-empty,
  .timeline-item:nth-child(even) .timeline-empty { display:none; }
}

@media (max-width:768px) {
  :root { --nav-h:64px; }
  .nav-links, .lang-switcher, .nav-btn-desktop { display:none !important; }
  .hamburger { display:flex; }
  .tech-grid { grid-template-columns:repeat(3,1fr); }
  .team-grid { grid-template-columns:1fr; }
  .values-grid { grid-template-columns:1fr; }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; gap:2rem; margin-bottom:2.5rem; }
  .footer-brand p { max-width:100%; }
  #wa-float { width:50px; height:50px; bottom:20px; right:20px; font-size:1.6rem; }
  #wa-float::before { content:"Chat with us 💬"; right:65px; font-size:0.7rem; padding:6px 12px; }
  #wa-float::after { right:58px; }
  .page-hero-btns { flex-direction:column; align-items:center; width:100%; }
  .page-hero-btns .btn-gold, .page-hero-btns .btn-ghost { width:100%; max-width:340px; justify-content:center; }
  .cta-btns { flex-direction:column; align-items:center; }
  .cta-btns .btn-gold, .cta-btns .btn-ghost { width:100%; max-width:320px; justify-content:center; }
  /* Blog mobile */
  .blog-card-body { padding:1.25rem 1.1rem; }
  .blog-featured-body { padding:1.25rem 1.1rem; }
  .blog-featured-img { aspect-ratio:4/3; }
  .blog-card-img { min-height:160px; }
  .blog-placeholder { min-height:160px; }
  .blog-card-body h2 { font-size:1.05rem; }
  .blog-featured-body h2 { font-size:1.2rem; }
  .blog-meta { gap:0.6rem; }
  .blog-excerpt { font-size:0.8rem; }
  .blog-content-full p { font-size:0.82rem; }
  .blog-card-detail p { font-size:0.78rem; }

  /* ===== STORY SECTION MOBILE REORDER ===== */
  /* Switch the 2-col grid to a flex column so we can control order */
  #our-story .section-inner > div {
    display: flex !important;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }
  /* "Unwrap" reveal-left so its children participate directly in flex ordering */
  #our-story .reveal-left {
    display: contents;
  }
  /* 1. Tag + heading first */
  #our-story .story-heading { order: 1; }
  /* 2. Image second */
  #our-story .reveal-right { order: 2; }
  /* 3. Paragraphs third */
  #our-story .story-paras { order: 3; }
}

@media (max-width:480px) {
  .btn-gold, .btn-ghost { padding:0.75rem 1.5rem; font-size:0.72rem; }
  .section-h2 { font-size:clamp(1.7rem,6vw,2.5rem); }
  .tech-grid { grid-template-columns:repeat(2,1fr); }
  .partners-grid { grid-template-columns:1fr 1fr; }
  .footer-legal { gap:1rem; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
  .process-grid { grid-template-columns:1fr; }
  .stats-row { grid-template-columns:1fr 1fr; }
  /* Blog extra small */
  .blog-card-body { padding:1rem 0.9rem; }
  .blog-featured-body { padding:1rem 0.9rem; }
  .blog-card-img { min-height:140px; }
  .blog-placeholder { min-height:140px; }
  .blog-placeholder i { font-size:1.8rem; }
  .blog-meta { gap:0.4rem; font-size:0.65rem; }
  .blog-cat { font-size:0.55rem; padding:0.2rem 0.5rem; }
  .blog-card-body h2 { font-size:0.95rem; }
  .blog-featured-body h2 { font-size:1.05rem; }
  .blog-content-full h3 { font-size:0.95rem; }
  .blog-cta-inline { padding:1rem !important; }
}

@media (max-width:480px) {
  #wa-float::before { display:none; }
}

/* RTL */
[dir="rtl"] .tag-line { transform:scaleX(-1); }
[dir="rtl"] .tag-line.rev { transform:none; }
[dir="rtl"] .tag-line.rev-grad { transform:scaleX(-1); }
[dir="rtl"] .nav-link::after { left:auto; right:0; left:100%; }
[dir="rtl"] .nav-link:hover::after { left:0; }

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}