/* ═══════════════════════════════════════════════════════════════
   MLD TECH — LIGHT PROFESSIONAL THEME
   Clean white · Teal accent · Premium Arabic tech
   ═══════════════════════════════════════════════════════════════ */

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

/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:    #FFFFFF;
  --bg-2:  #F6F9FC;
  --bg-3:  #EEF4F9;
  --bg-4:  #E3ECF3;
  --bg-5:  #D6E5EF;

  /* Brand */
  --teal:      #0098A6;
  --teal-lt:   #00B4C4;
  --teal-dk:   #007A87;
  --teal-soft: rgba(0,152,166,.10);
  --teal-dim:  rgba(0,152,166,.06);
  --teal-glow: rgba(0,152,166,.20);
  --teal-line: rgba(0,152,166,.22);

  --gold:      #C08A2E;
  --gold-soft: rgba(192,138,46,.10);

  /* Text */
  --tx-1: #0C1F2A;
  --tx-2: #4A6070;
  --tx-3: #8BA4B0;

  /* Borders */
  --b1: rgba(0,0,0,.08);
  --b2: rgba(0,152,166,.20);
  --b3: rgba(0,152,166,.38);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 60px rgba(0,0,0,.13);

  /* Radii */
  --r:    10px;
  --r-md: 16px;
  --r-lg: 22px;

  /* Easing */
  --ease:   cubic-bezier(.4,0,.2,1);
  --spring: cubic-bezier(.22,.68,0,1.2);
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--tx-1);
  line-height: 1.75;
  overflow-x: hidden;
  padding-top: 100px;
}
a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; }
em  { font-style: normal; color: var(--teal); }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.wrap    { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
/* legacy sub-page class */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec--dark { background: var(--bg-2); }
.sec--alt  { background: var(--bg); }

/* ─── LIVE DOT ────────────────────────────────────────────────── */
.dot {
  display: inline-block; width: 7px; height: 7px;
  background: #16A34A; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22,163,74,.5);
  animation: ping 2s ease infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0   rgba(22,163,74,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0   rgba(22,163,74,0); }
}

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════ */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 400;
  height: 36px;
  background: var(--teal-dk);
  display: flex; align-items: center;
}
.topbar__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar__left  { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.80); }
.topbar__right { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  font-size: 11px; font-weight: 800; color: #fff; letter-spacing: .8px;
  border: 1px solid rgba(255,255,255,.35); padding: 3px 11px; border-radius: 5px;
  transition: background .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.15); }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed; top: 36px; inset-inline: 0; z-index: 399;
  height: 64px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--b1);
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled {
  border-color: var(--b2);
  box-shadow: 0 4px 32px rgba(0,0,0,.10);
}
/* sub-page header (no topbar) */
.header--sub {
  position: fixed; top: 0; inset-inline: 0; z-index: 399;
  height: 60px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--b1);
  box-shadow: var(--shadow-sm);
}
.header__inner, .header--sub .header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
/* alias used in sub-pages */
.brand { display: flex; align-items: center; }
.brand__logo, .logo img { height: 32px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-size: 13.5px; font-weight: 600; color: var(--tx-2);
  padding: 7px 13px; border-radius: var(--r);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav a:hover { color: var(--teal); background: var(--teal-dim); }

.nav-cta {
  background: var(--teal); color: #fff;
  padding: 9px 22px; border-radius: var(--r);
  font-weight: 800; font-size: 13.5px; white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,152,166,.28);
  transition: transform .2s var(--spring), box-shadow .2s, background .2s;
}
.nav-cta:hover { background: var(--teal-lt); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,152,166,.38); }

.burger {
  display: none;
  width: 38px; height: 38px; border-radius: var(--r);
  border: 1px solid var(--b2); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background .2s;
}
.burger:hover { background: var(--teal-dim); }
.burger span  { display: block; width: 16px; height: 1.5px; background: var(--teal); border-radius: 2px; }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: 100px; inset-inline: 0; z-index: 398;
  background: rgba(255,255,255,.99);
  border-bottom: 1px solid var(--b2);
  padding: 12px 20px 20px;
  display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  padding: 13px 18px; border-radius: var(--r);
  font-weight: 600; font-size: 15px; color: var(--tx-2);
  border: 1px solid var(--b1);
  transition: color .2s, background .2s, border-color .2s;
}
.mobile-nav a:hover { color: var(--teal); background: var(--teal-dim); border-color: var(--b2); }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 800; color: var(--teal);
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px;
}
.sec-eyebrow::before {
  content: ''; display: block; width: 22px; height: 2px;
  background: var(--teal); flex-shrink: 0; border-radius: 2px;
}
.sec-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900; line-height: 1.12; letter-spacing: -.5px; margin-bottom: 14px;
}
.sec-body { font-size: 15.5px; color: var(--tx-2); max-width: 58ch; margin-bottom: 52px; line-height: 1.8; }
.sec-head  { margin-bottom: 48px; }

/* ═══════════════════════════════════════════════════════════════
   HERO — VIDEO BACKGROUND
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 100px);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 80px 0 64px;
}

/* Video layer */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

/* Dark overlay so text stays readable */
.hero__bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0,30,45,.88) 0%, rgba(0,60,70,.80) 50%, rgba(0,20,35,.85) 100%);
}

/* Subtle grid on top */
.hero__grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,200,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,200,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 65% 40%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 100% 100% at 65% 40%, black 20%, transparent 70%);
}

/* Glows */
.hero__glow1 {
  position: absolute; width: 700px; height: 600px;
  top: -20%; right: -10%; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse, rgba(0,180,190,.14) 0%, transparent 60%);
  filter: blur(50px);
  animation: glowFloat 8s ease-in-out infinite;
}
.hero__glow2 {
  position: absolute; width: 500px; height: 450px;
  bottom: -15%; left: -8%; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse, rgba(192,138,46,.10) 0%, transparent 62%);
  filter: blur(60px);
  animation: glowFloat 11s ease-in-out infinite reverse;
}
@keyframes glowFloat {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.1); opacity: .7; }
}
/* Scan line on grid */
.hero__grid::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,212,200,.04) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: scanLine 7s ease-in-out infinite;
}
@keyframes scanLine {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}
/* Noise */
.hero__noise {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}

/* Hero content */
.hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px; width: 100%;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  position: relative; z-index: 3;
}
.hero__copy { display: flex; flex-direction: column; }

/* Tag pill */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 7px 16px; border-radius: 30px; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

/* Headline */
.hero__h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 20px;
  color: #fff;
}
.hero__h1 .accent {
  background: linear-gradient(135deg, #00D4C8 0%, #4EE8E0 50%, #00A89E 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%; animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero__p {
  color: rgba(255,255,255,.80); font-size: 16px; line-height: 1.85;
  max-width: 46ch; margin-bottom: 32px;
}
.hero__p strong { color: #fff; font-weight: 800; }

/* Buttons */
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  padding: 13px 26px; border-radius: var(--r);
  font-weight: 800; font-size: 14.5px; white-space: nowrap;
  box-shadow: 0 0 28px rgba(0,152,166,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .2s var(--spring), box-shadow .2s, background .2s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--teal-lt); box-shadow: 0 12px 36px rgba(0,152,166,.45); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary svg { fill: #fff; flex-shrink: 0; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #fff;
  padding: 13px 26px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.30); font-weight: 700; font-size: 14.5px;
  backdrop-filter: blur(8px);
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.20); }

/* ── On light background sections ── */
.section .btn-primary, .sec--dark .btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-md); }
.section .btn-secondary, .sec--dark .btn-secondary {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal-line);
}
.section .btn-secondary:hover { background: var(--teal-dim); }

/* Trust badges */
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  padding: 6px 14px; border-radius: 20px; backdrop-filter: blur(8px);
  transition: border-color .2s, color .2s;
}
.badge:hover { border-color: rgba(255,255,255,.40); color: #fff; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--r-lg); overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,200,.8), rgba(212,153,58,.6), transparent);
  animation: borderFlow 3.5s linear infinite;
  background-size: 200% 100%;
}
@keyframes borderFlow {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.hc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 16px; border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.hc-head span { font-size: 12.5px; font-weight: 800; color: #00D4C8; letter-spacing: .6px; }
.hc-head-dot  { width: 8px; height: 8px; background: #00D4C8; border-radius: 50%; box-shadow: 0 0 12px rgba(0,212,200,.9); animation: ping 2s ease infinite; }
.hc-list  { list-style: none; padding: 6px 0; }
.hc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 22px; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.hc-item:last-child { border-bottom: none; }
.hc-item:hover { background: rgba(255,255,255,.06); }
.hc-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.hc-item:hover .hc-icon { background: rgba(0,212,200,.15); border-color: rgba(0,212,200,.4); }
.hc-text { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.4; }
.hc-foot { padding: 14px 22px; border-top: 1px solid rgba(255,255,255,.10); }
.hc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; color: #00D4C8;
  background: rgba(0,212,200,.15); border: 1px solid rgba(0,212,200,.30);
  padding: 9px 18px; border-radius: var(--r);
  transition: background .2s, box-shadow .2s;
}
.hc-cta:hover { background: rgba(0,212,200,.25); box-shadow: 0 0 18px rgba(0,212,200,.22); }

/* ═══════════════════════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════════════════════ */
.stats {
  background: var(--teal-dk);
  border-top: none; border-bottom: none;
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.04) 50%, transparent);
  animation: statsShine 5s ease-in-out infinite; background-size: 200% 100%;
}
@keyframes statsShine {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.stats__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4,1fr); position: relative; z-index: 1;
}
.stat-cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px; gap: 5px;
  border-inline-start: 1px solid rgba(255,255,255,.14);
}
.stat-cell:last-child { border-inline-start: none; }
.stat-num { font-size: 30px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -1px; }
.stat-lbl { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.70); text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.about-body { display: flex; flex-direction: column; gap: 14px; }
.about-body p   { font-size: 15px; color: var(--tx-2); line-height: 1.85; }
.about-body .seo { font-size: 13px; color: var(--tx-3); }

.toggle { border: 1.5px solid var(--b1); border-radius: var(--r); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.toggle[open] { border-color: var(--b2); box-shadow: var(--shadow-sm); }
.toggle summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; cursor: pointer; list-style: none;
  font-size: 13.5px; font-weight: 700; color: var(--teal);
  user-select: none; transition: background .2s;
}
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary:hover { background: var(--teal-dim); }
.toggle summary::after { content: '+'; font-size: 20px; font-weight: 300; transition: transform .28s var(--spring); }
.toggle[open] summary::after { transform: rotate(45deg); }
.toggle-body { padding: 4px 18px 16px; color: var(--tx-2); font-size: 14px; line-height: 1.8; }
.toggle-body ul { padding-inline-end: 16px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.toggle-body li { color: var(--tx-2); }

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-card {
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-md); padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.about-card:hover { border-color: var(--b2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-card__ico { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.about-card h3   { font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--tx-1); }
.about-card p    { font-size: 13px; color: var(--tx-2); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   VALUES
   ═══════════════════════════════════════════════════════════════ */
.values-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 44px; }
.val-cell {
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-md); padding: 24px 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .3s var(--spring), box-shadow .25s;
}
.val-cell::before {
  content: ''; position: absolute; bottom: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.val-cell:hover { border-color: var(--b2); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.val-cell:hover::before { transform: scaleX(1); }
.val-n { font-size: 11px; font-weight: 900; color: var(--teal); letter-spacing: 1.5px; opacity: .65; display: block; margin-bottom: 14px; }
.val-cell h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--tx-1); }
.val-cell p  { font-size: 13px; color: var(--tx-2); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   CLIENTS
   ═══════════════════════════════════════════════════════════════ */
.clients-outer {
  overflow: hidden; margin-top: 36px; padding: 6px 0; position: relative;
}
.clients-outer::before, .clients-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 130px; z-index: 2; pointer-events: none;
}
.clients-outer::before { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.clients-outer::after  { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.sec--dark .clients-outer::before { background: linear-gradient(to left,  var(--bg-2), transparent); }
.sec--dark .clients-outer::after  { background: linear-gradient(to right, var(--bg-2), transparent); }

.clients-track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.cl {
  flex: 0 0 auto; width: 148px; height: 80px;
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  padding: 12px 16px; box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.cl:hover { border-color: var(--b2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cl img   { max-height: 52px; max-width: 116px; object-fit: contain; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.svc {
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; cursor: pointer;
  position: relative; box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .35s var(--ease), box-shadow .35s;
}
.svc::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
  background-size: 200%; opacity: .7;
  animation: borderSweep 3s linear infinite paused;
  transition: opacity .25s;
}
.svc:hover::before { opacity: 1; animation-play-state: running; }
@keyframes borderSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.svc:hover { border-color: var(--b2); transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Service image */
.svc__img {
  height: 200px; overflow: hidden; background: var(--bg-3); position: relative;
}
.svc__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.svc__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,31,42,.5) 0%, transparent 50%);
}
.svc:hover .svc__img img { transform: scale(1.08); }

.svc__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.svc-label {
  display: inline-block; font-size: 10.5px; font-weight: 800; color: var(--teal); letter-spacing: 1.2px;
  background: var(--teal-soft); border: 1px solid var(--b2);
  padding: 4px 10px; border-radius: 5px; margin-bottom: 10px;
}
.svc__body h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; color: var(--tx-1); }
.svc-list { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.svc-list li {
  font-size: 13px; color: var(--tx-2); line-height: 1.65;
  padding-inline-end: 16px; position: relative;
}
.svc-list li::before {
  content: '▸'; position: absolute; inset-inline-end: 0; top: 2px;
  color: var(--teal); font-size: 9px; opacity: .8;
}
.svc__body p { font-size: 13.5px; color: var(--tx-2); flex: 1; margin-bottom: 18px; line-height: 1.75; }

.svc__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.svc-btn {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: var(--r);
  font-size: 12.5px; font-weight: 700;
  background: var(--bg-2); border: 1.5px solid var(--b1); color: var(--tx-1);
  transition: background .2s, border-color .2s, color .2s;
}
.svc-btn:hover { background: var(--teal-dim); border-color: var(--b2); color: var(--teal); }
.svc-btn--wa  { background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.25); color: #15803D; }
.svc-btn--wa:hover { background: rgba(37,211,102,.14); }

/* Duo */
.svc--duo { flex-direction: row; }
.svc-half { flex: 1; padding: 18px; display: flex; flex-direction: column; border-inline-start: 1px solid var(--b1); }
.svc-half:first-child { border-inline-start: none; }
.svc-half .svc__img { height: 100px; border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.svc-half .svc__img img { height: 100%; }

/* Bundles */
.bundles { margin-top: 52px; }
.bundles > h3 { font-size: 18px; font-weight: 800; margin-bottom: 18px; color: var(--tx-1); }
.bundles-row  { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.bundle {
  background: var(--bg-2); border: 1.5px solid var(--b1);
  border-radius: var(--r-md); padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.bundle:hover { border-color: var(--b2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bundle > span, .bundle-ico { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.bundle p { font-size: 13.5px; color: var(--tx-2); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process-flow {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
  position: relative; margin-top: 48px;
}
.process-flow::before {
  content: ''; position: absolute;
  top: 26px; inset-inline: 26px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dk));
  background-size: 200%; animation: connectorFlow 3s linear infinite; z-index: 0;
}
@keyframes connectorFlow {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.pstep {
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-md); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; z-index: 1; box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .3s var(--spring), box-shadow .25s;
}
.pstep:hover { border-color: var(--b2); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pstep__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--b2);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900; color: var(--teal);
  transition: background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.pstep:hover .pstep__num { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 0 24px rgba(0,152,166,.35); }
.pstep h4 { font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--tx-1); }
.pstep p  { font-size: 12.5px; color: var(--tx-2); line-height: 1.65; }

.deliver-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.dbox {
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-sm);
  transition: border-color .25s;
}
.dbox:hover { border-color: var(--b2); }
.dbox h4 { font-size: 16px; font-weight: 800; color: var(--teal); margin-bottom: 18px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: var(--tx-2); line-height: 1.65;
}
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 900; flex-shrink: 0; font-size: 11px; margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-grid { display: grid; gap: 8px; margin-top: 52px; }
.faq {
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}
.faq[open] { border-color: var(--b2); box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 700; color: var(--tx-1);
  transition: background .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--teal-dim); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-3); border: 1.5px solid var(--b1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 18px; font-weight: 300; flex-shrink: 0;
  transition: transform .3s var(--spring), background .2s, border-color .2s;
}
.faq[open] .faq-icon { transform: rotate(45deg); background: var(--teal-soft); border-color: var(--b2); }
.faq-body { padding: 0 24px 22px; color: var(--tx-2); font-size: 14.5px; line-height: 1.85; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
  align-items: start; margin-top: 52px;
}
.contact-items { display: flex; flex-direction: column; }
.ci { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1.5px solid var(--b1); }
.ci:last-of-type { border-bottom: none; }
.ci__ico {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--teal-soft); border: 1.5px solid var(--b2);
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
  transition: box-shadow .2s;
}
.ci:hover .ci__ico { box-shadow: 0 0 16px rgba(0,152,166,.22); }
.ci__lbl { font-size: 11px; font-weight: 700; color: var(--tx-2); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 3px; }
.ci__val { font-size: 15px; font-weight: 700; color: var(--tx-1); }
a.ci__val:hover { color: var(--teal); }

.map-box { margin-top: 22px; border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--b2); box-shadow: var(--shadow-sm); }
.map-box iframe { width: 100%; height: 256px; display: block; }
.contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

.form-wrap {
  background: var(--bg); border: 1.5px solid var(--b1);
  border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.form-wrap::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold) 50%, var(--teal));
}
.form-wrap h3 { font-size: 18px; font-weight: 800; margin-bottom: 22px; color: var(--tx-1); }
.f-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f-group label { font-size: 12.5px; font-weight: 700; color: var(--tx-2); }
.f-group input, .f-group select, .f-group textarea {
  width: 100%; background: var(--bg-2); border: 1.5px solid var(--b1);
  border-radius: var(--r); padding: 12px 16px;
  color: var(--tx-1); font-family: inherit; font-size: 14px; outline: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,152,166,.12);
}
.f-group textarea { resize: vertical; min-height: 100px; }
.f-hint { font-size: 12px; color: var(--tx-3); text-align: center; margin-top: 10px; }
.btn-submit {
  width: 100%; padding: 14px; border-radius: var(--r);
  background: var(--teal); color: #fff; font-family: inherit; font-weight: 800; font-size: 15px;
  box-shadow: 0 4px 20px rgba(0,152,166,.28);
  transition: transform .2s var(--spring), box-shadow .2s, background .2s;
}
.btn-submit:hover { transform: translateY(-2px); background: var(--teal-lt); box-shadow: 0 10px 32px rgba(0,152,166,.40); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer { background: var(--tx-1); border-top: none; padding: 28px 0; }
.footer__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
/* sub-page footer aliases */
.footer .container { padding: 0 32px; }
.footer__logo { height: 36px; opacity: .92; }
.footer__nav, .footer__links { display: flex; gap: 12px; }
.footer__nav a, .footer__links a { font-size: 13px; color: rgba(255,255,255,.60); font-weight: 600; transition: color .2s; }
.footer__nav a:hover, .footer__links a:hover { color: #fff; }
.footer__contacts, .footer__contact { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.f-cl, .footer__contactLink {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.65); font-size: 13px; font-weight: 600;
  padding: 7px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--r);
  transition: color .2s, border-color .2s, background .2s;
}
.f-cl:hover, .footer__contactLink:hover { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.f-cl svg, .footer__contactLink svg, .footerIcon__svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.footer__contactText { font-size: 13px; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,.40); }

/* ═══════════════════════════════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.fab {
  position: fixed; z-index: 500;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .25s var(--spring), box-shadow .25s;
}
.fab:hover { transform: translateY(-4px) scale(1.08); }
.fab svg   { width: 23px; height: 23px; fill: currentColor; }
.fab--wa  { bottom: 22px; left: 22px; background: #25D366; box-shadow: 0 8px 24px rgba(37,211,102,.40); }
.fab--wa:hover  { box-shadow: 0 16px 40px rgba(37,211,102,.55); }
.fab--tel { bottom: 86px; left: 22px; background: var(--teal); box-shadow: 0 8px 24px rgba(0,152,166,.35); }
.fab--tel:hover { box-shadow: 0 16px 40px rgba(0,152,166,.50); }

/* ═══════════════════════════════════════════════════════════════
   SUB-PAGE SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════════ */
body.subpage { padding-top: 60px; } /* no topbar on sub-pages */

/* sub-page hero */
.subpage-hero {
  background: linear-gradient(135deg, var(--teal-dk) 0%, var(--teal) 100%);
  padding: 60px 0 48px; position: relative; overflow: hidden;
}
.subpage-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.subpage-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); font-weight: 900; margin-bottom: 12px; position: relative; }
.subpage-hero p  { color: rgba(255,255,255,.80); font-size: 15.5px; line-height: 1.8; max-width: 60ch; margin-bottom: 20px; position: relative; }

/* breadcrumbs */
.breadcrumbs { font-size: 13px; color: rgba(255,255,255,.65); position: relative; }
.breadcrumbs a { color: rgba(255,255,255,.80); }
.breadcrumbs span { margin: 0 4px; }

/* sub-page content */
.subpage-body h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; margin: 32px 0 10px; color: var(--tx-1); }
.subpage-body h3 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; color: var(--teal); }
.subpage-body p  { font-size: 15px; color: var(--tx-2); line-height: 1.85; margin-bottom: 14px; }
.subpage-body ul { padding-inline-end: 24px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.subpage-body ul li { font-size: 14.5px; color: var(--tx-2); line-height: 1.7; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }

/* legacy btn classes used in sub-pages */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--r); font-weight: 800; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary-alt, .btn.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 4px 18px rgba(0,152,166,.28); }
.btn-primary-alt:hover, .btn.btn-primary:hover { background: var(--teal-lt); transform: translateY(-1px); }
.btn.btn-secondary { background: transparent; color: var(--teal); border: 1.5px solid var(--teal-line); }
.btn.btn-secondary:hover { background: var(--teal-dim); }

/* sep */
.sep { border: none; border-top: 1.5px solid var(--b1); margin: 0; }

/* muted text */
.muted { color: var(--tx-3); font-size: 13px; }
.h2 { font-size: clamp(20px,2.5vw,30px); font-weight: 800; margin-bottom: 12px; }

/* ═══════════════════════════════════════════════════════════════
   BLOG / ARTICLES
   ═══════════════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.blog-card {
  background: var(--bg); border: 1.5px solid var(--b1); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: border-color .25s, transform .3s, box-shadow .3s;
}
.blog-card:hover { border-color: var(--b2); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card__img { height: 190px; overflow: hidden; background: var(--bg-3); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 20px; }
.blog-card__cat { font-size: 11px; font-weight: 800; color: var(--teal); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; display: block; }
.blog-card__title { font-size: 16px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; color: var(--tx-1); transition: color .2s; }
.blog-card:hover .blog-card__title { color: var(--teal); }
.blog-card__excerpt { font-size: 13.5px; color: var(--tx-2); line-height: 1.7; margin-bottom: 14px; }
.blog-card__meta { font-size: 12px; color: var(--tx-3); display: flex; gap: 12px; align-items: center; }
.blog-card__read { font-size: 13px; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }

/* Article page */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 0 28px; }
.article-header { padding: 56px 0 40px; }
.article-cat    { font-size: 11px; font-weight: 800; color: var(--teal); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; display: block; }
.article-title  { font-size: clamp(26px, 4vw, 44px); font-weight: 900; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 18px; color: var(--tx-1); }
.article-meta   { font-size: 13px; color: var(--tx-3); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.article-meta span::before { content: '·'; margin-inline-end: 16px; }
.article-meta span:first-child::before { display: none; }
.article-cover  { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 48px; }
.article-cover img { width: 100%; height: 400px; object-fit: cover; }

.article-body { font-size: 16px; line-height: 1.9; color: var(--tx-2); }
.article-body h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--tx-1); margin: 40px 0 14px; padding-top: 8px; border-top: 2px solid var(--b1); }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--teal); margin: 28px 0 10px; }
.article-body p  { margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-inline-end: 28px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.article-body li { line-height: 1.75; }
.article-body strong { font-weight: 800; color: var(--tx-1); }
.article-body .highlight-box {
  background: var(--teal-soft); border-inline-start: 4px solid var(--teal);
  border-radius: 0 var(--r) var(--r) 0; padding: 18px 20px; margin: 28px 0;
  color: var(--tx-1); font-size: 15px;
}
.article-cta {
  background: linear-gradient(135deg, var(--teal-dk), var(--teal));
  border-radius: var(--r-lg); padding: 40px 36px; text-align: center; color: #fff; margin: 48px 0;
}
.article-cta h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.article-cta p  { color: rgba(255,255,255,.80); margin-bottom: 22px; }
.article-cta .btn-primary { display: inline-flex; background: #fff; color: var(--teal); box-shadow: none; }
.article-cta .btn-primary:hover { background: rgba(255,255,255,.92); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.on { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .values-grid  { grid-template-columns: repeat(3,1fr); }
  .svc-grid     { grid-template-columns: repeat(2,1fr); }
  .svc--duo     { flex-direction: column; }
  .svc-half     { border-inline-start: none; border-top: 1px solid var(--b1); }
  .svc-half:first-child { border-top: none; }
  .process-flow { grid-template-columns: repeat(2,1fr); }
  .process-flow::before { display: none; }
  .bundles-row  { grid-template-columns: 1fr 1fr; }
  .blog-grid    { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  body { padding-top: 100px; }
  body.subpage { padding-top: 60px; }
  .nav, .nav-cta { display: none; }
  .burger { display: flex; }
  .wrap, .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero__inner   { grid-template-columns: 1fr; }
  .hero-card     { display: none; }
  .hero__h1      { letter-spacing: -.5px; }
  .stats__inner  { grid-template-columns: repeat(2,1fr); }
  .stat-cell     { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-cell:nth-child(2n) { border-inline-start: none; }
  .stat-cell:nth-child(3), .stat-cell:last-child { border-bottom: none; }
  .about-layout  { grid-template-columns: 1fr; gap: 36px; }
  .about-cards   { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .svc-grid      { grid-template-columns: 1fr; }
  .process-flow  { grid-template-columns: 1fr 1fr; }
  .deliver-grid  { grid-template-columns: 1fr; }
  .contact-layout{ grid-template-columns: 1fr; gap: 32px; }
  .contact-btns  { grid-template-columns: 1fr; }
  .bundles-row   { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  .topbar__inner, .header__inner { padding: 0 18px; }
  .hero__inner   { padding: 0 18px; }
  .blog-grid     { grid-template-columns: 1fr; }
  .article-cover img { height: 240px; }
  .mobile-nav    { top: 100px; }
}
@media (max-width: 480px) {
  .values-grid  { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
  .hero__h1     { font-size: 36px; }
  .sec-title    { font-size: 26px; }
}

/* ═══════════════════════════════════════════════════════════════
   SUB-PAGE OVERRIDES — fixes for service pages
   These rules ONLY apply when body has class="subpage"
   ═══════════════════════════════════════════════════════════════ */

/* 1. Sub-page body — no topbar, smaller padding */
body.subpage {
  padding-top: 60px;
}

/* 2. Override .hero on sub-pages — no video, clean teal banner */
body.subpage .hero {
  min-height: auto !important;
  padding: 52px 0 44px !important;
  background: linear-gradient(135deg, #006B77 0%, #009098 50%, #00B4B4 100%) !important;
  display: block !important;
  position: relative;
  overflow: hidden;
}
/* Kill all video/glow/grid effects on sub-pages */
body.subpage .hero__video,
body.subpage .hero__bg,
body.subpage .hero__noise,
body.subpage .hero__glow1,
body.subpage .hero__glow2 { display: none !important; }

/* Keep the grid as subtle decoration */
body.subpage .hero__grid {
  display: block;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: none;
  mask-image: none;
  position: absolute; inset: 0; pointer-events: none;
}
body.subpage .hero__grid::after { display: none; }

/* Text colours inside sub-page hero */
body.subpage .hero h1,
body.subpage .hero p,
body.subpage .hero .breadcrumbs {
  color: rgba(255,255,255,.90) !important;
  position: relative; z-index: 2;
}
body.subpage .hero .breadcrumbs a { color: rgba(255,255,255,.75) !important; }
body.subpage .hero h1 {
  font-size: clamp(24px, 3.5vw, 38px) !important;
  font-weight: 900;
  letter-spacing: -.3px;
  margin-bottom: 12px;
}
body.subpage .hero .container { position: relative; z-index: 2; }

/* cta-row buttons in sub-page hero */
body.subpage .hero .btn,
body.subpage .hero .btn-secondary {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  padding: 10px 22px;
  border-radius: var(--r);
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s;
  backdrop-filter: blur(8px);
}
body.subpage .hero .btn:hover,
body.subpage .hero .btn-secondary:hover {
  background: rgba(255,255,255,.25) !important;
}
body.subpage .hero .btn-primary,
body.subpage .hero .btn.btn-primary {
  background: #fff !important;
  color: var(--teal-dk) !important;
  border-color: transparent !important;
}
body.subpage .hero .btn-primary:hover {
  background: rgba(255,255,255,.92) !important;
}

/* 3. Sub-page content sections */
body.subpage .section:not(.hero) {
  background: var(--bg);
  padding: 56px 0;
}
body.subpage .section:nth-child(even):not(.hero) {
  background: var(--bg-2);
}

/* 4. Sub-page body text */
body.subpage .subpage-body h2 {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--tx-1);
  margin: 32px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--b1);
}
body.subpage .subpage-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  margin: 22px 0 8px;
}
body.subpage .subpage-body p {
  font-size: 15px;
  color: var(--tx-2);
  line-height: 1.85;
  margin-bottom: 14px;
}
body.subpage .subpage-body ul {
  padding-inline-end: 20px;
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
body.subpage .subpage-body li {
  font-size: 14.5px;
  color: var(--tx-2);
  line-height: 1.75;
}

/* 5. cta-row in body sections */
body.subpage .section:not(.hero) .cta-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0;
}
body.subpage .section:not(.hero) .btn.btn-primary {
  background: var(--teal) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 26px;
  border-radius: var(--r);
  font-weight: 800; font-size: 14px;
  box-shadow: 0 4px 18px rgba(0,152,166,.28);
  transition: transform .2s, background .2s, box-shadow .2s;
}
body.subpage .section:not(.hero) .btn.btn-primary:hover {
  background: var(--teal-lt) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,152,166,.38);
}

/* 6. Keywords / muted section */
body.subpage .muted { color: var(--tx-3); font-size: 13px; line-height: 1.8; }
body.subpage .h2 { font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; margin-bottom: 12px; color: var(--tx-1); }

/* 7. Footer in sub-pages */
body.subpage .footer {
  background: var(--tx-1);
}
body.subpage .footer .container {
  max-width: 1200px; margin: 0 auto;
}
body.subpage .footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; padding: 20px 32px;
}
/* Fix footer SVG icons that use old viewbox attribute */
body.subpage .footer svg,
body.subpage .footerIcon__svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
  flex-shrink: 0;
}

/* 8. FABs — IDENTICAL to main page — fixed small circles */
/* Ensure FABs are always 52px circles, nothing can override */
.fab {
  position: fixed !important;
  z-index: 9999 !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  text-decoration: none !important;
  /* kill any inherited padding/margin that could distort size */
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  box-sizing: border-box !important;
}
.fab svg {
  width: 22px !important;
  height: 22px !important;
  fill: #fff !important;
  display: block !important;
  flex-shrink: 0 !important;
}
.fab--wa {
  bottom: 22px !important;
  left: 22px !important;
  background: #25D366 !important;
  box-shadow: 0 8px 24px rgba(37,211,102,.40) !important;
  transition: transform .25s, box-shadow .25s !important;
}
.fab--wa:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 16px 40px rgba(37,211,102,.55) !important;
}
.fab--tel {
  bottom: 86px !important;
  left: 22px !important;
  background: var(--teal) !important;
  box-shadow: 0 8px 24px rgba(0,152,166,.35) !important;
  transition: transform .25s, box-shadow .25s !important;
}
.fab--tel:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 16px 40px rgba(0,152,166,.50) !important;
}

/* 9. Responsive sub-pages */
@media (max-width: 768px) {
  body.subpage { padding-top: 60px; }
  body.subpage .nav, body.subpage .nav-cta { display: none; }
  body.subpage .burger { display: flex; }
  .mobile-nav { top: 60px; }
  body.subpage .hero { padding: 40px 0 32px !important; }
  body.subpage .footer__inner { flex-direction: column; align-items: center; text-align: center; padding: 16px 18px; }
}
