/* ================================================================
   Digital Era UAE — NEW DESIGN SYSTEM v3
   "Bold UAE Digital" — Editorial Magazine × Dubai Luxury Tech
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Brand (locked from logo) */
  --cyan:       #1BBFCA;
  --cyan-d:     #14A3AD;
  --cyan-l:     #E5F9FA;
  --gold:       #F5A623;
  --gold-d:     #D4891A;
  --gold-l:     #FEF6E4;
  --magenta:    #E91E8C;
  --magenta-d:  #C71A77;
  --magenta-l:  #FDE9F4;

  /* New Palette — Light-first */
  --navy:       #0B1A3B;
  --navy-2:     #112045;
  --navy-3:     #182A55;
  --navy-4:     #1F3365;

  --white:      #FFFFFF;
  --cream:      #FFFBF5;
  --light:      #F5F7FC;
  --light-2:    #EEF1F8;
  --border:     rgba(11,26,59,0.08);
  --border-2:   rgba(11,26,59,0.12);

  /* Text */
  --text:       #111827;
  --text-mid:   #374151;
  --text-muted: #6B7280;
  --text-xs:    #9CA3AF;
  --on-dark:    rgba(255,255,255,0.92);
  --on-dark-dim:rgba(255,255,255,0.52);

  /* Gradients */
  --g-hero:    linear-gradient(135deg, #0B1A3B 0%, #1F3365 100%);
  --g-cyan:    linear-gradient(135deg, #1BBFCA 0%, #0FA4AD 100%);
  --g-magenta: linear-gradient(135deg, #E91E8C 0%, #C71A77 100%);
  --g-gold:    linear-gradient(135deg, #F5A623 0%, #D4891A 100%);
  --g-brand:   linear-gradient(135deg, #1BBFCA 30%, #E91E8C 100%);
  --g-navy:    linear-gradient(135deg, #0B1A3B 0%, #1F3365 100%);
  --g-wa:      linear-gradient(135deg, #25D366 0%, #128C7E 100%);

  /* Shadows */
  --s-xs:   0 1px 4px rgba(11,26,59,0.06);
  --s-sm:   0 2px 12px rgba(11,26,59,0.08);
  --s-md:   0 8px 32px rgba(11,26,59,0.10);
  --s-lg:   0 20px 60px rgba(11,26,59,0.12);
  --s-xl:   0 40px 100px rgba(11,26,59,0.16);
  --s-card: 0 4px 24px rgba(11,26,59,0.08);
  --s-cyan:    0 8px 40px rgba(27,191,202,0.28);
  --s-magenta: 0 8px 40px rgba(233,30,140,0.28);
  --s-gold:    0 8px 40px rgba(245,166,35,0.28);
  --s-wa:      0 8px 40px rgba(37,211,102,0.35);

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-2xl:  48px;
  --r-full: 9999px;

  /* Spacing */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px;
  --sp-5:20px; --sp-6:24px; --sp-8:32px; --sp-10:40px;
  --sp-12:48px; --sp-16:64px; --sp-20:80px; --sp-24:96px; --sp-32:128px;

  /* Typography */
  --font: 'Cairo', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms cubic-bezier(.4,0,.2,1);
  --t-spring: 500ms cubic-bezier(.175,.885,.32,1.275);

  /* Z-index */
  --z-base: 1; --z-card: 10; --z-sticky: 100; --z-modal: 1000;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] { text-align: right; }
body[dir="ltr"] { text-align: left; }

img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
ul,ol { list-style:none; }
button,input,textarea,select { font-family:var(--font); font-size:inherit; border:none; outline:none; background:none; }
button { cursor:pointer; }

::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--light); }
::-webkit-scrollbar-thumb { background:var(--cyan); border-radius:var(--r-full); }

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

/* ================================================================
   UTILITIES
   ================================================================ */
.container { width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }
.section-pad { padding:96px 0; }
.section-pad-sm { padding:64px 0; }
.section-pad-lg { padding:128px 0; }

/* Gradient text */
.g-text {
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.g-text-cyan {
  background: var(--g-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section labels */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--g-cyan);
  border-radius: 2px;
  flex-shrink: 0;
}
[dir="rtl"] .eyebrow::before { display: none; }
[dir="rtl"] .eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--g-cyan);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 560px;
}

.on-dark .section-heading { color: var(--on-dark); }
.on-dark .section-lead    { color: var(--on-dark-dim); }
.on-dark .eyebrow         { color: var(--cyan); }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--g-cyan);
  color: white;
  box-shadow: var(--s-cyan);
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 16px 48px rgba(27,191,202,.45); }
.btn-primary:active { transform:translateY(0); }

.btn-magenta {
  background: var(--g-magenta);
  color: white;
  box-shadow: var(--s-magenta);
}
.btn-magenta:hover { transform:translateY(-3px); box-shadow:0 16px 48px rgba(233,30,140,.45); }

.btn-gold {
  background: var(--g-gold);
  color: white;
  box-shadow: var(--s-gold);
}
.btn-gold:hover { transform:translateY(-3px); box-shadow:0 16px 48px rgba(245,166,35,.45); }

.btn-navy {
  background: var(--g-navy);
  color: white;
  box-shadow: var(--s-md);
}
.btn-navy:hover { transform:translateY(-3px); }

.btn-ghost {
  border-color: var(--border-2);
  color: var(--text-mid);
  background: transparent;
}
.btn-ghost:hover { border-color:var(--cyan); color:var(--cyan); transform:translateY(-2px); }

.btn-ghost-white {
  border-color: rgba(255,255,255,0.25);
  color: white;
  background: transparent;
}
.btn-ghost-white:hover { border-color:white; background:rgba(255,255,255,0.08); transform:translateY(-2px); }

.btn-wa {
  background: var(--g-wa);
  color: white;
  box-shadow: var(--s-wa);
}
.btn-wa:hover { transform:translateY(-3px); box-shadow:0 16px 48px rgba(37,211,102,.5); }

.btn-sm { padding:10px 20px; font-size:0.85rem; }
.btn-lg { padding:18px 36px; font-size:1rem; }
.btn-xl { padding:20px 44px; font-size:1.05rem; }

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  position: fixed; top:0; left:0; right:0;
  z-index: var(--z-sticky);
  transition: all var(--t-slow);
  padding: 0;
}

.site-header.scrolled {
  background: rgba(11,26,59,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 4px 32px rgba(11,26,59,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-circles {
  display: flex;
  align-items: center;
  direction: ltr !important; /* LOCK: ERA always reads left-to-right */
}

.logo-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px; color: white;
  position: relative; transition: transform var(--t-spring);
  border: 2px solid rgba(255,255,255,0.2);
}
.logo-circle.e { background:var(--cyan); z-index:3; margin-left: 0; margin-right: 0; }
.logo-circle.r { background:var(--gold); z-index:2; margin-left:-8px !important; margin-right: 0 !important; margin-inline-start: 0 !important; }
.logo-circle.a { background:var(--magenta); z-index:1; margin-left:-8px !important; margin-right: 0 !important; margin-inline-start: 0 !important; }
.site-logo:hover .logo-circle.e { transform:translateY(-3px) scale(1.1); }
.site-logo:hover .logo-circle.r { transform:translateY(-5px) scale(1.1); transition-delay:.05s; }
.site-logo:hover .logo-circle.a { transform:translateY(-3px) scale(1.1); transition-delay:.1s; }

.logo-text { display:flex; flex-direction:column; line-height:1.1; }
.logo-name { font-weight:800; font-size:0.95rem; color:white; }
.logo-sub  { font-size:0.6rem; color:rgba(255,255,255,0.45); font-weight:600; letter-spacing:.06em; padding-top: 6px; }

/* Desktop Nav */
.main-nav { display:flex; align-items:center; gap:4px; }

.nav-link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  border-radius: var(--r-full);
  transition: all var(--t-base);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(255,255,255,0.08);
}
.nav-link.active {
  color: var(--cyan);
}

/* Header actions */
.header-actions { display:flex; align-items:center; gap:10px; }

.lang-btn {
  display: flex; align-items:center; gap:5px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  transition: all var(--t-base);
}
.lang-btn:hover { border-color:var(--cyan); color:var(--cyan); }

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  transition: border-color var(--t-base);
  padding: 0 10px;
}
.menu-toggle:hover { border-color:var(--cyan); }
.menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--t-base);
}
.menu-toggle.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity:0; }
.menu-toggle.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed; inset:0;
  background: rgba(11,26,59,0.98);
  backdrop-filter: blur(24px);
  z-index: calc(var(--z-sticky) - 1);
  padding-top: 76px;
  overflow-y: auto;
  transform: translateX(120%);
  transition: transform var(--t-slow);
}
.mobile-nav.open { transform:translateX(0); }
.mobile-nav-inner { padding:24px 20px; }

.mobile-nav-link {
  display: flex; align-items:center; justify-content:space-between;
  padding: 16px 20px;
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: all var(--t-base);
  margin-bottom: 6px;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(27,191,202,0.08);
  border-color: rgba(27,191,202,0.15);
  color: var(--cyan);
}

/* ================================================================
   FLOATING WHATSAPP — Full Featured
   ================================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
[dir="ltr"] .wa-float { left:auto; right:28px; align-items:flex-end; }

.wa-float-btn {
  width: 62px; height: 62px;
  background: var(--g-wa);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  box-shadow: var(--s-wa);
  transition: transform var(--t-spring);
  position: relative;
  flex-shrink: 0;
}
.wa-float-btn:hover { transform:scale(1.12); }
.wa-float-btn svg { width:30px; height:30px; fill:white; }

/* Pulse rings */
.wa-float-btn::before, .wa-float-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-out infinite;
}
.wa-float-btn::after { animation-delay:.8s; }

@keyframes waPulse {
  0%   { transform:scale(1); opacity:.7; }
  100% { transform:scale(1.8); opacity:0; }
}

/* Tooltip bubble */
.wa-tooltip {
  background: white;
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--s-lg);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  animation: tooltipBounce 3s ease-in-out 2s infinite;
  position: relative;
  max-width: 200px;
  white-space: normal;
  line-height: 1.4;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}
[dir="ltr"] .wa-tooltip::after { left:auto; right:20px; }

@keyframes tooltipBounce {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-4px); }
}

/* Mobile sticky WA bar */
.wa-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-modal);
  background: var(--g-wa);
  padding: 14px 20px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  box-shadow: 0 -4px 24px rgba(37,211,102,0.3);
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 110px; left: 28px;
  z-index: var(--z-modal);
  width: 44px; height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  color: white; font-size: 18px;
  opacity: 0; transform: translateY(16px);
  transition: all var(--t-base);
  cursor: pointer;
}
[dir="ltr"] .back-top { left:auto; right:28px; }
.back-top.visible { opacity:1; transform:translateY(0); }
.back-top:hover { background:var(--cyan); }

/* ================================================================
   HERO — Complete New Design
   ================================================================ */
.hero {
  min-height: 100vh;
  background: var(--g-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Geometric pattern */
.hero-pattern {
  position: absolute; inset:0; pointer-events:none;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(27,191,202,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(233,30,140,0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(245,166,35,0.05) 0%, transparent 40%);
}

/* Grid lines */
.hero-grid-lines {
  position: absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: heroFloat 10s ease-in-out infinite;
}
.hero-shape-1 { width:500px; height:500px; background:var(--cyan); top:-150px; right:-100px; animation-delay:0s; }
.hero-shape-2 { width:350px; height:350px; background:var(--magenta); bottom:-100px; left:5%; animation-delay:-4s; }
.hero-shape-3 { width:250px; height:250px; background:var(--gold); top:40%; right:20%; animation-delay:-7s; }

@keyframes heroFloat {
  0%,100% { transform:translate(0,0) scale(1); }
  33%     { transform:translate(20px,-30px) scale(1.06); }
  66%     { transform:translate(-15px,20px) scale(.95); }
}

/* Hero main area */
.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

/* Trust badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  animation: fadeInDown .6s ease both;
}
.trust-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* Hero headline */
.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-bottom: 20px;
  animation: fadeInUp .7s ease .1s both;
}
.hero-h1 .accent {
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 500px;
  animation: fadeInUp .7s ease .18s both;
}

/* Urgency strip */
.hero-urgency {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeInUp .7s ease .24s both;
}
.hero-urgency-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
}
.urgency-icon { color: var(--cyan); }

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp .7s ease .3s both;
}

/* Hero proof bar */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp .7s ease .4s both;
}
.hero-proof-item { display:flex; align-items:center; gap:10px; }
.proof-num {
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.proof-label { font-size: 0.78rem; color:rgba(255,255,255,0.5); font-weight:600; line-height:1.3; }

/* Hero visual (right side) */
.hero-visual {
  position: relative;
  animation: fadeInRight .8s ease .2s both;
}

.hero-era-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
  height: 380px;
  direction: ltr !important; /* LOCK: ERA always reads left-to-right */
}

.hero-circle-big {
  width: 160px; height: 160px;
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  font-size: 72px;
  font-weight: 900;
  color: white;
  position: absolute;
  border: 4px solid rgba(255,255,255,0.1);
  box-shadow: var(--s-xl);
  transition: transform var(--t-spring);
  cursor: default;
}
.hero-circle-big.e {
  background: var(--g-cyan);
  top: 40px;
  left: 0 !important; right: auto !important;
  animation: heroCircle1 8s ease-in-out infinite;
}
.hero-circle-big.r {
  background: var(--g-gold);
  top: 110px;
  left: 50% !important; right: auto !important;
  transform: translateX(-50%);
  animation: heroCircle2 8s ease-in-out infinite .5s;
  z-index: 2;
}
.hero-circle-big.a {
  background: var(--g-magenta);
  top: 40px;
  right: 0 !important; left: auto !important;
  animation: heroCircle3 8s ease-in-out infinite 1s;
}

@keyframes heroCircle1 { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-15px);} }
@keyframes heroCircle2 { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(-20px);} }
@keyframes heroCircle3 { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }

/* Floating mini-cards on hero */
.hero-mini-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  animation: floatCard 6s ease-in-out infinite;
}
.hero-mini-card:nth-child(1) { bottom: 40px; left: -10px; animation-delay: 0s; }
.hero-mini-card:nth-child(2) { bottom: 100px; right: -20px; animation-delay: -2s; }
.hero-mini-card:nth-child(3) { top: 10px; left: 50%; transform: translateX(-50%); animation-delay: -4s; }

@keyframes floatCard { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }

/* Hero stats bottom bar */
.hero-stats {
  background: white;
  padding: 28px 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -4px 40px rgba(11,26,59,0.12);
  position: relative;
  z-index: 2;
}
.hero-stats-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.stat-block {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.stat-block + .stat-block::before {
  content:'';
  position:absolute; left:0; top:50%;
  transform:translateY(-50%);
  height:40px; width:1px;
  background:var(--border);
}
[dir="rtl"] .stat-block + .stat-block::before { left:auto; right:0; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--g-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color:var(--text-muted); font-weight:600; }

/* ================================================================
   SECTION: ABOUT
   ================================================================ */
.about-section { background:var(--cream); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual-block {
  position: relative;
}
.about-card-main {
  background: var(--g-navy);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.about-card-main::before {
  content:'';
  position:absolute;
  top:-60px; right:-60px;
  width:200px; height:200px;
  background:radial-gradient(circle, rgba(27,191,202,.15), transparent 70%);
  border-radius:50%;
}
.about-era-circles {
  display:flex; gap:0; margin-bottom:20px;
  direction: ltr !important; /* LOCK: ERA always reads left-to-right */
}
.about-era-c {
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:24px; font-weight:900; color:white;
  border:3px solid rgba(255,255,255,.1);
}
.about-era-c.e { background:var(--cyan); margin-left: 0 !important; }
.about-era-c.r { background:var(--gold); margin-left:-10px !important; margin-right: 0 !important; margin-inline-start: 0 !important; }
.about-era-c.a { background:var(--magenta); margin-left:-10px !important; margin-right: 0 !important; margin-inline-start: 0 !important; }

.about-card-name { font-size:1.1rem; font-weight:800; color:white; margin-bottom:4px; }
.about-card-sub  { font-size:0.8rem; color:rgba(255,255,255,.45); }

.about-license-badge {
  display:flex; align-items:center; gap:12px;
  padding:16px; margin-top:24px;
  background:rgba(27,191,202,.08);
  border:1px solid rgba(27,191,202,.2);
  border-radius:var(--r-md);
}
.about-license-icon {
  width:40px; height:40px; border-radius:var(--r-sm);
  background:var(--g-cyan);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; flex-shrink:0;
}
.about-license-num { font-size:0.9rem; font-weight:800; color:var(--cyan); }
.about-license-authority { font-size:0.72rem; color:rgba(255,255,255,.4); margin-top:2px; }

/* Floating stat bubble */
.about-stat-bubble {
  position:absolute; bottom:-20px; right:-20px;
  background:white;
  border-radius:var(--r-lg);
  padding:16px 20px;
  box-shadow:var(--s-lg);
  display:flex; align-items:center; gap:12px;
}
.bubble-icon { width:40px; height:40px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.bubble-num { font-size:1.4rem; font-weight:900; color:var(--text); line-height:1; }
.bubble-lbl { font-size:0.72rem; color:var(--text-muted); font-weight:600; }

/* About points grid */
.about-points-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:24px 0;
}
.about-point-item {
  display:flex; align-items:flex-start; gap:10px;
  padding:14px; background:white;
  border-radius:var(--r-md); border:1px solid var(--border);
  transition:all var(--t-base);
}
.about-point-item:hover { border-color:var(--cyan); transform:translateY(-2px); box-shadow:var(--s-sm); }
.about-point-check {
  width:22px; height:22px; border-radius:50%;
  background:var(--g-cyan);
  display:flex; align-items:center; justify-content:center;
  color:white; font-size:11px; font-weight:900; flex-shrink:0;
}
.about-point-text { font-size:0.85rem; font-weight:700; color:var(--text); line-height:1.4; }

/* ================================================================
   SECTION: SERVICES
   ================================================================ */
.services-section { background:var(--white); }

.services-grid-new {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:48px;
}

.service-card-new {
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--r-xl);
  padding:32px 28px;
  transition:all var(--t-slow);
  position:relative;
  overflow:hidden;
  display:flex; flex-direction:column;
}
.service-card-new::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:4px;
  background:transparent;
  transition:background var(--t-slow);
  border-radius:var(--r-xl) var(--r-xl) 0 0;
}
.service-card-new:hover {
  transform:translateY(-10px);
  box-shadow:var(--s-lg);
  border-color:transparent;
}
.service-card-new:hover::before { background:var(--g-cyan); }
.service-card-new.featured-card {
  background: var(--g-navy);
  border-color:transparent;
  box-shadow:var(--s-lg);
}
.service-card-new.featured-card:hover::before { background:var(--g-brand); }

.svc-icon-new {
  width:56px; height:56px; border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center;
  font-size:26px; margin-bottom:20px;
  transition:transform var(--t-spring);
}
.service-card-new:hover .svc-icon-new { transform:scale(1.1) rotate(-5deg); }
.svc-icon-cyan    { background:var(--cyan-l); }
.svc-icon-gold    { background:var(--gold-l); }
.svc-icon-magenta { background:var(--magenta-l); }
.svc-icon-dark    { background:rgba(255,255,255,.08); }

.svc-label {
  position:absolute; top:16px;
  <?= isset($current_lang) && $current_lang === 'ar' ? 'left' : 'right' ?>:16px;
  background:var(--g-gold);
  color:white; font-size:0.65rem;
  font-weight:800; padding:4px 10px;
  border-radius:var(--r-full);
}

.svc-title-new {
  font-size:1.1rem; font-weight:800; margin-bottom:10px;
  color:var(--text);
}
.featured-card .svc-title-new { color:white; }

.svc-desc-new {
  font-size:0.85rem; color:var(--text-muted); line-height:1.8; margin-bottom:18px; flex:1;
}
.featured-card .svc-desc-new { color:rgba(255,255,255,.55); }

.svc-features-new { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.svc-feat {
  display:flex; align-items:center; gap:8px;
  font-size:0.82rem; color:var(--text-muted); font-weight:600;
}
.featured-card .svc-feat { color:rgba(255,255,255,.6); }
.feat-dot {
  width:6px; height:6px; border-radius:50%;
  flex-shrink:0;
}

.svc-pricing {
  padding-top:16px;
  border-top:1px solid var(--border);
  margin-top:auto;
}
.featured-card .svc-pricing { border-top-color:rgba(255,255,255,.08); }

.price-tag {
  display:flex; align-items:baseline; gap:4px; margin-bottom:4px;
}
.price-big {
  font-size:2rem; font-weight:900; color:var(--cyan); line-height:1;
}
.price-cur { font-size:0.8rem; color:var(--text-muted); font-weight:700; }
.price-note { font-size:0.72rem; color:var(--text-muted); margin-bottom:14px; }
.featured-card .price-note { color:rgba(255,255,255,.4); }

/* ================================================================
   SECTION: WHY US — Navy Bold
   ================================================================ */
.why-section-new {
  background: #0B1A3B;
  background: var(--g-navy);
  position:relative; overflow:hidden;
  /* Explicit enforcement to prevent inheritance issues */
  color: white;
}
.why-section-new::before {
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(27,191,202,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,191,202,.04) 1px, transparent 1px);
  background-size:72px 72px;
  pointer-events:none;
}

.why-grid-new {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px;
}

.why-card-new {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius:var(--r-xl); padding:32px;
  transition:all var(--t-slow);
  position:relative; overflow:hidden;
}
.why-card-new::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0; height:3px;
  background:transparent;
  transition:background var(--t-slow);
  border-radius:0 0 var(--r-xl) var(--r-xl);
}
.why-card-new:hover {
  background: rgba(255,255,255,.09);
  transform:translateY(-6px);
  border-color:rgba(27,191,202,.25);
}
.why-card-new:hover::after { background:var(--g-brand); }

.why-icon-new {
  width:56px; height:56px; border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center;
  font-size:26px; margin-bottom:20px;
  transition:transform var(--t-spring);
}
.why-card-new:hover .why-icon-new { transform:scale(1.1) rotate(-5deg); }

/* EXPLICIT white text for why cards — prevents white-on-white bug */
.why-title-new {
  font-size:1rem; font-weight:800;
  color: #ffffff !important;
  margin-bottom:10px;
}
.why-desc-new {
  font-size:0.85rem;
  color: rgba(255,255,255,0.85) !important;
  line-height:1.8;
}

/* ================================================================
   SECTION: PORTFOLIO
   ================================================================ */
.portfolio-section-new { background:var(--cream); }

.portfolio-grid-new {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px;
}

.p-card {
  background:white;
  border-radius:var(--r-xl);
  overflow:hidden;
  border:1.5px solid var(--border);
  transition:all var(--t-slow);
  display:flex; flex-direction:column;
}
.p-card:hover {
  transform:translateY(-8px);
  box-shadow:var(--s-xl);
  border-color:transparent;
}

.p-img {
  aspect-ratio:16/10;
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.p-img-bg {
  position:absolute; inset:0;
  transition:transform var(--t-slow);
}
.p-card:hover .p-img-bg { transform:scale(1.05); }

.p-img-icon { position:relative; z-index:1; font-size:52px; }
.p-img-domain {
  position:relative; z-index:1;
  margin-top:8px;
  font-size:0.72rem; font-weight:700;
  color:rgba(255,255,255,.4);
}

.p-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to bottom, transparent 50%, rgba(11,26,59,.85) 100%);
  opacity:0; transition:opacity var(--t-slow);
  display:flex; align-items:flex-end; padding:16px;
}
.p-card:hover .p-overlay { opacity:1; }

.p-visit-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 16px; background:white; color:var(--navy);
  border-radius:var(--r-full); font-size:0.78rem; font-weight:800;
  transition:all var(--t-base);
}
.p-visit-btn:hover { background:var(--cyan); color:white; }

.p-info { padding:22px; flex:1; display:flex; flex-direction:column; }
.p-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.p-tag {
  padding:3px 10px;
  background:var(--cyan-l);
  color:var(--cyan-d);
  border-radius:var(--r-full);
  font-size:0.68rem; font-weight:800;
  letter-spacing:.02em;
}
.p-name { font-size:1rem; font-weight:800; color:var(--text); margin-bottom:8px; }
.p-desc { font-size:0.82rem; color:var(--text-muted); line-height:1.7; margin-bottom:12px; flex:1; }
.p-services { display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:12px; border-top:1px solid var(--border); }
.p-svc-tag { padding:3px 8px; background:var(--light); border-radius:var(--r-full); font-size:0.68rem; font-weight:600; color:var(--text-muted); }

/* ================================================================
   SECTION: PROCESS — Timeline style
   ================================================================ */
.process-section-new { background:var(--white); }

.process-timeline {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:32px; margin-top:56px;
  position:relative;
}
.process-timeline::before {
  content:'';
  position:absolute;
  top:48px; left:12.5%; right:12.5%; height:2px;
  background:linear-gradient(90deg, var(--cyan), var(--magenta));
  z-index:0;
}
[dir="rtl"] .process-timeline::before { left:12.5%; right:12.5%; }

.process-step-new {
  text-align:center; position:relative; z-index:1;
}
.step-num {
  width:96px; height:96px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.6rem; font-weight:900; margin:0 auto 20px;
  border:4px solid white;
  position:relative; z-index:1;
  transition:transform var(--t-spring), box-shadow var(--t-base);
}
.process-step-new:hover .step-num { transform:scale(1.1); }
.step-num.s1 { background:var(--g-cyan); color:white; box-shadow:var(--s-cyan); }
.step-num.s2 { background:var(--g-gold); color:white; box-shadow:var(--s-gold); }
.step-num.s3 { background:var(--g-magenta); color:white; box-shadow:var(--s-magenta); }
.step-num.s4 { background:var(--g-navy); color:var(--cyan); box-shadow:var(--s-md); border:4px solid var(--cyan); }

.step-title-new { font-size:0.95rem; font-weight:800; color:var(--text); margin-bottom:8px; }
.step-desc-new  { font-size:0.8rem; color:var(--text-muted); line-height:1.7; }

/* ================================================================
   SECTION: FAQ
   ================================================================ */
.faq-section-new { background:var(--cream); }

.faq-layout-new {
  display:grid; grid-template-columns:1fr 2fr; gap:64px; margin-top:48px;
}
.faq-sidebar-new { position:sticky; top:100px; height:fit-content; }

.faq-sidebar-card-new {
  background:var(--g-navy);
  border-radius:var(--r-xl); padding:36px;
  position:relative; overflow:hidden;
}
.faq-sidebar-card-new::before {
  content:'';
  position:absolute; top:-50px; right:-50px;
  width:160px; height:160px;
  background:radial-gradient(circle, rgba(27,191,202,.15), transparent 70%);
  border-radius:50%;
}

.faq-list-new { display:flex; flex-direction:column; gap:12px; }

.faq-item-new {
  border:1.5px solid var(--border);
  border-radius:var(--r-lg); overflow:hidden;
  transition:border-color var(--t-base);
  background:white;
}
.faq-item-new.open { border-color:var(--cyan); box-shadow:var(--s-sm); }

.faq-q-new {
  width:100%; text-align:start;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 24px;
  font-weight:700; font-size:0.92rem; color:var(--text);
  background:transparent; cursor:pointer;
  transition:all var(--t-base);
}
.faq-item-new.open .faq-q-new { color:var(--cyan); background:var(--cyan-l); }

.faq-icon {
  width:28px; height:28px; border-radius:50%;
  border:1.5px solid var(--border-2);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); font-size:12px; flex-shrink:0;
  transition:all var(--t-base);
}
.faq-item-new.open .faq-icon { background:var(--cyan); border-color:var(--cyan); color:white; transform:rotate(180deg); }

.faq-a-new { max-height:0; overflow:hidden; transition:max-height var(--t-slow); }
.faq-item-new.open .faq-a-new { max-height:300px; }
.faq-a-inner { padding:0 24px 20px; font-size:0.85rem; color:var(--text-muted); line-height:1.85; }

/* ================================================================
   SECTION: CONTACT
   ================================================================ */
.contact-section-new { background:var(--white); }

.contact-layout {
  display:grid; grid-template-columns:1fr 1.6fr; gap:48px; margin-top:48px;
}

.contact-info-item-new {
  display:flex; align-items:flex-start; gap:14px;
  padding:18px 20px; background:var(--light);
  border-radius:var(--r-lg); border:1px solid var(--border);
  margin-bottom:14px;
  transition:all var(--t-base);
}
.contact-info-item-new:hover { border-color:var(--cyan); transform:translateX(-4px); box-shadow:var(--s-sm); }
[dir="ltr"] .contact-info-item-new:hover { transform:translateX(4px); }
.contact-icon-new {
  width:44px; height:44px; border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; flex-shrink:0;
}
.contact-label-new { font-size:0.7rem; font-weight:800; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; margin-bottom:3px; }
.contact-val-new   { font-size:0.92rem; font-weight:800; color:var(--text); }

.contact-form-new {
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--r-xl); padding:36px;
  box-shadow:var(--s-card);
}

.form-grp { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.form-lbl { font-size:0.82rem; font-weight:800; color:var(--text); }
.form-inp, .form-sel, .form-txt {
  width:100%; padding:13px 16px;
  border:1.5px solid var(--border-2);
  border-radius:var(--r-md);
  font-size:0.88rem; font-family:var(--font);
  color:var(--text); background:white;
  transition:all var(--t-base);
}
.form-inp:focus, .form-sel:focus, .form-txt:focus {
  border-color:var(--cyan);
  box-shadow:0 0 0 3px rgba(27,191,202,.1);
  outline:none;
}
.form-txt { min-height:110px; resize:vertical; }
.form-row-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }

/* ================================================================
   SECTION: CTA
   ================================================================ */
.cta-section-new {
  background: var(--g-hero);
  position:relative; overflow:hidden;
}
.cta-section-new::before {
  content:'';
  position:absolute; top:-100px; right:-100px;
  width:400px; height:400px;
  background:radial-gradient(circle, rgba(27,191,202,.1), transparent 70%);
  border-radius:50%;
  pointer-events:none;
}
.cta-section-new::after {
  content:'';
  position:absolute; bottom:-80px; left:-80px;
  width:300px; height:300px;
  background:radial-gradient(circle, rgba(233,30,140,.1), transparent 70%);
  border-radius:50%;
  pointer-events:none;
}
.cta-content-new {
  position:relative; z-index:1;
  text-align:center; max-width:720px; margin:0 auto;
}
.cta-title-new { font-size:clamp(1.75rem,4vw,3rem); font-weight:900; color:black; margin-bottom:14px; line-height:1.2; }
.cta-sub-new   { font-size:1rem; color:rgba(0,0,0,0.6); margin-bottom:36px; line-height:1.8; }
.cta-btns { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero-new {
  background: var(--g-hero);
  padding: calc(76px + 56px) 0 56px;
  position:relative; overflow:hidden;
}
.page-hero-new::after {
  content:'';
  position:absolute; inset:0;
  background-image: radial-gradient(circle at 75% 50%, rgba(27,191,202,.08) 0%, transparent 50%);
}
.page-hero-content { position:relative; z-index:1; }
.page-hero-title-new { font-size:clamp(1.8rem,4vw,3rem); font-weight:900; color:white; margin-bottom:12px; }
.page-hero-sub-new   { font-size:1rem; color:rgba(255,255,255,.55); max-width:500px; line-height:1.8; }

/* Breadcrumb */
.breadcrumb-new { display:flex; align-items:center; gap:8px; margin-bottom:20px; flex-wrap:wrap; }
.bc-item { font-size:0.8rem; color:rgba(255,255,255,.45); }
.bc-item.active { color:var(--cyan); }
.bc-sep { color:rgba(255,255,255,.25); font-size:0.7rem; }

/* ================================================================
   MAP SECTION
   ================================================================ */
.map-section-new { background:var(--light); }
.map-wrap-new { border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--s-md); height:420px; }
.map-wrap-new iframe { width:100%; height:100%; border:none; display:block; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer-new { background:var(--navy); border-top:1px solid rgba(255,255,255,.06); }

.footer-body { padding:80px 0 48px; }

.footer-grid-new {
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.4fr; gap:48px;
}

.footer-brand-col { }
.footer-brand-logo { margin-bottom:16px; }
.footer-tagline-new { font-size:0.82rem; color:rgba(255,255,255,.4); line-height:1.8; margin-bottom:14px; }
.footer-lic-badge {
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px;
  background:rgba(27,191,202,.07);
  border:1px solid rgba(27,191,202,.15);
  border-radius:var(--r-sm);
  font-size:0.72rem; font-weight:800; color:var(--cyan);
}

.footer-col-title-new {
  font-size:0.85rem; font-weight:800; color:white;
  margin-bottom:20px;
  padding-bottom:12px;
  border-bottom:2px solid rgba(255,255,255,.06);
}

.footer-links-new { display:flex; flex-direction:column; gap:10px; }
.footer-link-new {
  font-size:0.82rem; color:rgba(255,255,255,.4);
  transition:color var(--t-base);
  display:flex; align-items:center; gap:6px;
}
.footer-link-new:hover { color:var(--cyan); }

.footer-contact-row {
  display:flex; align-items:center; gap:10px;
  font-size:0.82rem; color:rgba(255,255,255,.4);
  margin-bottom:10px;
  transition:color var(--t-base);
}
.footer-contact-row:hover { color:var(--cyan); }
.footer-c-icon {
  width:30px; height:30px; border-radius:var(--r-sm);
  background:rgba(255,255,255,.05);
  display:flex; align-items:center; justify-content:center;
  font-size:14px; flex-shrink:0;
}

.socials { display:flex; gap:10px; margin-top:16px; }
.social-btn {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; color:rgba(255,255,255,.4);
  transition:all var(--t-base);
}
.social-btn:hover { background:var(--cyan); border-color:var(--cyan); color:white; transform:translateY(-3px); }

.footer-bottom-new {
  border-top:1px solid rgba(255,255,255,.06);
  padding:24px 0;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.footer-copy { font-size:0.78rem; color:rgba(255,255,255,.3); }
.footer-legal-links { display:flex; gap:24px; }
.footer-legal-link { font-size:0.78rem; color:rgba(255,255,255,.3); transition:color var(--t-base); }
.footer-legal-link:hover { color:var(--cyan); }

/* ================================================================
   CONTENT PAGES (privacy, terms)
   ================================================================ */
.content-page-new { padding:64px 0; background:var(--white); }
.content-card-new {
  background:white; border-radius:var(--r-xl);
  padding:48px; border:1.5px solid var(--border);
  box-shadow:var(--s-card); max-width:840px; margin:0 auto;
}
.content-card-new h2 { font-size:1.1rem; font-weight:800; color:var(--text); margin:32px 0 10px; border-bottom:2px solid var(--light-2); padding-bottom:10px; }
.content-card-new h2:first-child { margin-top:0; }
.content-card-new p { color:var(--text-muted); line-height:1.9; margin-bottom:14px; font-size:0.92rem; }
.content-card-new ul { padding-inline-start:20px; color:var(--text-muted); line-height:1.9; margin-bottom:14px; font-size:0.92rem; list-style:disc; }

/* ================================================================
   404
   ================================================================ */
.page-404-new {
  min-height:100vh; background:var(--g-navy);
  display:flex; align-items:center; justify-content:center; text-align:center;
}
.p404-num { font-size:8rem; font-weight:900; background:var(--g-brand); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; }
.p404-title { font-size:1.5rem; font-weight:800; color:white; margin:16px 0 10px; }
.p404-sub { color:rgba(255,255,255,.4); margin-bottom:32px; }

/* ================================================================
   ALERTS
   ================================================================ */
.alert-new { padding:14px 18px; border-radius:var(--r-md); font-size:0.85rem; font-weight:700; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.alert-ok  { background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.25); color:#15803D; }
.alert-err { background:rgba(233,30,140,.1); border:1px solid rgba(233,30,140,.25); color:var(--magenta); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal { opacity:0; transform:translateY(32px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal-delay-4 { transition-delay:.4s; }
.reveal-delay-5 { transition-delay:.5s; }

@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeInUp   { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeInRight{ from{opacity:0;transform:translateX(32px);} to{opacity:1;transform:translateX(0);} }

/* ================================================================
   RESPONSIVE — TABLET < 1024px
   ================================================================ */
@media (max-width:1024px) {
  .hero-grid           { grid-template-columns:1fr !important; }
  .hero-visual         { display:none !important; }
  .about-layout        { grid-template-columns:1fr !important; }
  .about-visual-block  { display:none !important; }
  .services-grid-new   { grid-template-columns:1fr 1fr !important; }
  .why-grid-new        { grid-template-columns:1fr 1fr !important; }
  .portfolio-grid-new  { grid-template-columns:1fr 1fr !important; }
  .process-timeline    { grid-template-columns:1fr 1fr !important; }
  .process-timeline::before { display:none !important; }
  .faq-layout-new      { grid-template-columns:1fr !important; }
  .faq-sidebar-new     { position:static !important; }
  .contact-layout      { grid-template-columns:1fr !important; }
  .footer-grid-new     { grid-template-columns:1fr 1fr !important; }
}

/* ================================================================
   RESPONSIVE — MOBILE < 768px
   ================================================================ */
@media (max-width:768px) {
  html,body { overflow-x:hidden !important; max-width:100vw !important; }
  * { max-width:100% !important; box-sizing:border-box !important; }

  .main-nav, .header-actions .btn-primary, .header-actions .btn { display:none !important; }
  .menu-toggle  { display:flex !important; }
  .mobile-nav   { display:block; }
  .wa-float     { display:none; }
  .wa-mobile-bar{ display:flex; }

  .hero-main { padding:100px 0 40px; }
  .hero-h1   { font-size:2rem !important; }
  .hero-ctas { flex-direction:column !important; }
  .hero-ctas .btn { width:100% !important; justify-content:center; }
  .hero-proof { flex-direction:column; gap:14px; }
  .hero-stats-grid { flex-wrap:wrap; gap:0; }
  .stat-block { flex:0 0 50%; border-bottom:1px solid var(--border); padding:16px; }
  .stat-block + .stat-block::before { display:none; }

  .services-grid-new   { grid-template-columns:1fr !important; }
  .why-grid-new        { grid-template-columns:1fr !important; }
  .portfolio-grid-new  { grid-template-columns:1fr !important; }
  .process-timeline    { grid-template-columns:1fr !important; }
  .process-timeline::before { display:none !important; }
  .faq-layout-new      { grid-template-columns:1fr !important; }
  .contact-layout      { grid-template-columns:1fr !important; }
  .footer-grid-new     { grid-template-columns:1fr !important; }
  .footer-bottom-new   { flex-direction:column; text-align:center; }
  .footer-legal-links  { flex-wrap:wrap; justify-content:center; gap:14px; }
  .about-points-grid   { grid-template-columns:1fr !important; }
  .form-row-2          { grid-template-columns:1fr !important; }
  .section-pad         { padding:56px 0 !important; }
  .section-pad-lg      { padding:72px 0 !important; }
  .content-card-new    { padding:24px !important; }

  body { padding-bottom:60px; } /* room for WA bar */
}

@media (max-width:480px) {
  .container { padding:0 16px !important; }
  .hero-h1   { font-size:1.75rem !important; }
  .stat-block { flex:0 0 100%; }
  .btn-xl    { padding:16px 28px !important; font-size:0.95rem !important; }
}
