/* =====================================================================
   WAG Human Resources Consultancy - Global Stylesheet
   ---------------------------------------------------------------------
   1.  Design tokens (CSS variables)      9.  Stats / trust strip
   2.  Reset & base typography           10.  Split sections & media frames
   3.  Layout utilities                  11.  Cards (service, why, values...)
   4.  Buttons                           12.  Timeline & stepper
   5.  Preloader / page transition       13.  Tiles (industries / workforce)
   6.  Header & navigation               14.  CTA band
   7.  Hero (home + inner pages)         15.  Contact page & form
   8.  Scroll reveal animations          16.  Footer, floating widgets, modal
                                         17.  Responsive & reduced motion
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  --primary: #003C70;          /* Navy blue */
  --secondary: #005A96;        /* Royal blue */
  --gold: #D6A526;             /* Premium gold */
  --gold-light: #F2D271;       /* Light gold */
  --light: #F6F8FB;            /* Light background */
  --dark: #15202B;             /* Dark text */
  --white: #FFFFFF;

  --primary-deep: #022A4F;     /* Extra-deep navy for dark sections */
  --gold-text: #9A6F0B;        /* Darker gold for small text on white (contrast) */
  --gold-grad: linear-gradient(135deg, #F2D271 0%, #D6A526 55%, #B98A14 100%);
  --muted: #566677;
  --line: #E2E8F0;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 18px rgba(0, 40, 80, .07);
  --shadow-md: 0 14px 40px rgba(0, 40, 80, .11);
  --shadow-lg: 0 30px 70px rgba(0, 40, 80, .20);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 88px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
[id] { scroll-margin-top: 96px; }
::selection { background: var(--gold); color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.16;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(2.3rem, 5.3vw, 4.3rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.45rem); }

/* Custom scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--gold) #e9eef5; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #e9eef5; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--secondary), var(--primary)); border-radius: 10px; border: 2px solid #e9eef5; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Icons (injected by js/script.js) */
.ic { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
.ic svg { width: 100%; height: 100%; display: block; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* ---------- 3. LAYOUT UTILITIES ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { position: relative; padding-block: clamp(72px, 9vw, 124px); }
.section-light { background: var(--light); }
.section-navy {
  background: radial-gradient(1000px 500px at 85% -10%, rgba(0, 90, 150, .55), transparent 60%), var(--primary-deep);
  color: #d3dfec; overflow: hidden; isolation: isolate;
}
.section-navy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.section-navy h2, .section-navy h3 { color: #fff; }
.center { text-align: center; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; animation: float 12s ease-in-out infinite; }
.orb-gold { background: radial-gradient(circle, rgba(214,165,38,.28), transparent 65%); }
.orb-blue { background: radial-gradient(circle, rgba(0,90,150,.5), transparent 65%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--gold-grad); transform-origin: left; }
.js .eyebrow::before { transform: scaleX(0); transition: transform .9s var(--ease) .25s; }
.js .in-view .eyebrow::before, .js .eyebrow.in-view::before { transform: scaleX(1); }
.section-navy .eyebrow, .on-dark .eyebrow { color: var(--gold-light); }
.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-head p { color: #b9cadb; }
.section-head h2::after {
  content: ""; display: block; width: 68px; height: 3px; margin-top: 20px; border-radius: 3px;
  background: var(--gold-grad); transform-origin: left;
}
.section-head.center h2::after { margin-inline: auto; transform-origin: center; }
.js .section-head h2::after { transform: scaleX(0); transition: transform .9s var(--ease) .45s; }
.js .section-head.in-view h2::after { transform: scaleX(1); }
.accent { color: var(--secondary); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.check-list { list-style: none; display: grid; gap: 14px; margin: 26px 0 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--dark); }
.check-list .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(214,165,38,.17); color: var(--gold-text); margin-top: 1px; }
.check-list.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.on-dark .check-list li, .section-navy .check-list li { color: #e4edf6; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); position: relative; padding-bottom: 3px; }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(.25); transform-origin: left; transition: transform .4s var(--ease); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover .ic { transform: translateX(5px); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; min-height: 52px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .97rem; letter-spacing: .01em; text-align: center; line-height: 1.2;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn .ic { width: 19px; height: 19px; transition: transform .35s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(5px); }
.btn-gold { background: var(--gold-grad); color: #0b2440; box-shadow: 0 10px 26px rgba(214,165,38,.38); }
.btn-gold:hover { box-shadow: 0 16px 34px rgba(214,165,38,.5); }
.btn-navy { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(0,60,112,.28); }
.btn-navy:hover { background: var(--secondary); box-shadow: 0 16px 34px rgba(0,60,112,.36); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.07); }
.btn-ghost:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-wa { background: #25D366; color: #06371c; box-shadow: 0 10px 26px rgba(37,211,102,.35); }
.btn-wa:hover { box-shadow: 0 16px 34px rgba(37,211,102,.5); }
.btn-sm { padding: 11px 22px; min-height: 46px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 5. PRELOADER / PAGE TRANSITION ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(800px 500px at 50% 40%, rgba(0,90,150,.55), transparent 70%), linear-gradient(160deg, var(--primary-deep), var(--primary));
  transition: transform .85s var(--ease);
  animation: loaderFailsafe .01s linear 6s forwards; /* never block the site if JS fails */
}
.loader.is-hidden { transform: translateY(-100%); }
.loader.is-below { transform: translateY(100%); }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.loader-logo {
  position: relative; background: transparent; padding: 8px; border-radius: 0; box-shadow: none;
  animation: loaderPop .9s var(--ease) both;
}
.loader-logo img { height: 118px; width: auto; max-width: min(78vw, 620px); object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0,0,0,.32)); }
.loader-logo::after { display: none; }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; animation: loaderBar 1.5s var(--ease) forwards; }

/* ---------- 6. HEADER & NAVIGATION ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .35s var(--ease);
}
.site-header.scrolled { background: #fff; box-shadow: 0 8px 30px rgba(0,40,80,.10); height: 74px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand {
  display: inline-flex; align-items: center; flex: none; background: transparent; padding: 0; border-radius: 0;
  box-shadow: none; transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.brand img { height: 68px; width: auto; max-width: 360px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); transition: height .4s var(--ease); }
.scrolled .brand { background: transparent; box-shadow: none; padding: 0; }
.scrolled .brand img { height: 60px; filter: drop-shadow(0 2px 5px rgba(0,0,0,.18)); }

.main-nav { display: flex; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 4px; }
.nav-links a { position: relative; display: block; padding: 10px 14px; color: #fff; font-weight: 500; font-size: .95rem; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--gold-light); }
.scrolled .nav-links a { color: var(--primary); }
.scrolled .nav-links a:hover { color: var(--secondary); }
.drawer-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .92rem; }
.nav-phone .ph-ic {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-light);
  border: 1.5px solid rgba(242,210,113,.7); transition: background .3s, color .3s, transform .3s;
}
.nav-phone .ph-ic .ic { width: 20px; height: 20px; animation: ringShake 5s ease-in-out infinite; }
.nav-phone:hover .ph-ic { background: var(--gold); color: var(--primary); }
.scrolled .nav-phone { color: var(--primary); }
.scrolled .nav-phone .ph-ic { border-color: var(--gold); color: var(--gold-text); }
.scrolled .nav-phone:hover .ph-ic { color: var(--primary); }

.burger { display: none; position: relative; z-index: 1003; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: #fff; border-radius: 3px; transition: transform .4s var(--ease), opacity .3s, background .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.scrolled .burger span { background: var(--primary); }
.burger.active span { background: var(--primary); }
.burger.active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; z-index: 990; background: rgba(2,26,50,.6); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ---------- 7. HERO ---------- */
.hero, .page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 200px; }
.page-hero { min-height: clamp(440px, 62vh, 600px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 70px) 0 110px; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: #fff; z-index: 1;
  clip-path: ellipse(62% 100% at 50% 100%);
}
.hero-bg { position: absolute; inset: -6% 0; z-index: -3; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(2,30,58,.95) 0%, rgba(0,60,112,.84) 46%, rgba(0,60,112,.5) 100%), linear-gradient(0deg, rgba(2,30,58,.55), transparent 45%);
}
.hero-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape { position: absolute; }
.shape.ring { width: 520px; height: 520px; right: -150px; top: 10%; border-radius: 50%; border: 1px solid rgba(242,210,113,.38); animation: spin 70s linear infinite; }
.shape.ring::after { content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 24px var(--gold); }
.shape.ring2 { width: 340px; height: 340px; right: -50px; top: calc(10% + 90px); border-radius: 50%; border: 1px dashed rgba(255,255,255,.2); animation: spin 46s linear infinite reverse; }
.shape.glow { width: 600px; height: 600px; left: -200px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(0,110,180,.55), transparent 65%); animation: float 12s ease-in-out infinite; }
.shape.dots { width: 190px; height: 190px; left: 5%; top: 20%; background-image: radial-gradient(rgba(242,210,113,.55) 1.6px, transparent 1.9px); background-size: 22px 22px; opacity: .5; animation: float 9s ease-in-out infinite; }
.shape.diamond { width: 26px; height: 26px; border-radius: 4px; border: 2px solid var(--gold); right: 44%; bottom: 24%; animation: diamond 9s ease-in-out infinite; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; margin-bottom: 26px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(242,210,113,.45);
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(214,165,38,.7); animation: pulseDot 2.2s infinite; }
.hero h1, .page-hero h1 { color: #fff; margin-bottom: .45em; }
.hero-text { max-width: 640px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #d7e3ef; margin-bottom: 34px; }
.hero-trust { margin: 38px 0 0; display: flex; align-items: center; gap: 14px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.hero-trust::before { content: ""; width: 44px; height: 2px; background: var(--gold-grad); flex: none; }
.page-hero-inner { position: relative; z-index: 2; max-width: 860px; }
.page-hero-inner p { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #d7e3ef; max-width: 700px; margin: 0; }
.breadcrumb { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; font-size: .88rem; color: #b9cadb; letter-spacing: .04em; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }

.hero-card {
  justify-self: end; width: 100%; max-width: 360px; padding: 28px; border-radius: 26px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 70px rgba(0,0,0,.25);
  animation: bob 7s ease-in-out infinite;
}
.hero-card h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.hero-card h2::after { display: none; }
.hc-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 600; transition: transform .35s var(--ease), color .3s; }
.hc-item:hover { transform: translateX(6px); color: var(--gold-light); }
.hc-item .hc-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(214,165,38,.18); color: var(--gold-light); display: grid; place-items: center; flex: none; }
.hc-item .hc-ic .ic { width: 22px; height: 22px; }
.hc-item .ic-arrow { margin-left: auto; width: 18px; height: 18px; opacity: .7; }

.scroll-cue { position: absolute; left: 50%; bottom: 110px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.55); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold-light); animation: scrollCue 1.9s ease-in-out infinite; }

/* Hero entrance animation (triggered when body gets .loaded) */
.js .hero-anim { opacity: 0; transform: translate3d(0, 36px, 0); }
.loaded .hero-anim { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * .13s + .2s); }

/* ---------- 8. SCROLL REVEAL ANIMATIONS ---------- */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { opacity: 0; }
.js .reveal.in-view { opacity: 1; animation: revealUp .95s var(--ease) backwards; animation-delay: var(--d, 0s); }
.js .reveal-left.in-view { opacity: 1; animation: revealLeft 1s var(--ease) backwards; animation-delay: var(--d, 0s); }
.js .reveal-right.in-view { opacity: 1; animation: revealRight 1s var(--ease) backwards; animation-delay: var(--d, 0s); }
.js .reveal-zoom.in-view { opacity: 1; animation: revealZoom 1s var(--ease) backwards; animation-delay: var(--d, 0s); }

/* Image reveal (curtain wipe + gentle zoom-out) */
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--primary); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.img-reveal:hover img { transform: scale(1.07); }
.js .img-reveal::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--primary); transform-origin: right; pointer-events: none; }
.js .img-reveal.in-view::after { animation: wipe 1.15s var(--ease) forwards; }
.js .img-reveal.in-view img { animation: imgSettle 1.7s var(--ease) backwards; }

/* ---------- 9. STATS / TRUST STRIP ---------- */
.stats { position: relative; z-index: 5; margin-top: -104px; padding-bottom: clamp(60px, 7vw, 90px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card {
  position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 30px 26px 28px; box-shadow: var(--shadow-md); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--gold-grad); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.stat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.stat-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--gold-light); transition: transform .5s var(--ease); }
.stat-ic .ic { width: 26px; height: 26px; }
.stat-card:hover .stat-ic { transform: rotate(-8deg) scale(1.08); }
.stat-tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); text-align: right; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 700; line-height: 1; color: var(--primary); margin-bottom: 8px; }
.stat-num sup { font-size: .45em; color: var(--gold); top: -.9em; }
.stat-label { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.stat-desc { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* ---------- 10. SPLIT SECTIONS & MEDIA FRAMES ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.split.media-wide { grid-template-columns: 1.08fr .92fr; }
.split.text-wide { grid-template-columns: .92fr 1.08fr; }
.media-frame { position: relative; padding: 0 0 30px 30px; }
.media-frame .img-reveal { aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.media-frame.tall .img-reveal { aspect-ratio: 4 / 5; }
.media-frame.right { padding: 0 30px 30px 0; }
.frame-accent { position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; border: 3px solid var(--gold); border-radius: var(--radius-lg); z-index: 0; opacity: .9; }
.media-frame.right .frame-accent { left: auto; right: 0; }
.dots-deco { position: absolute; top: -20px; right: -10px; width: 120px; height: 120px; z-index: 0; background-image: radial-gradient(var(--gold) 1.8px, transparent 2px); background-size: 18px 18px; opacity: .55; }
.float-badge {
  position: absolute; z-index: 3; right: 16px; bottom: 6px; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; border-radius: 18px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.7); animation: bob 6s ease-in-out infinite;
}
.media-frame.right .float-badge { right: auto; left: 16px; }
.float-badge .fb-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: var(--gold-light); flex: none; }
.float-badge strong { display: block; color: var(--primary); font-size: .98rem; line-height: 1.3; }
.float-badge small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.media-frame .img-reveal.second-img { position: absolute; z-index: 3; width: 46%; right: -14px; bottom: 0; border: 6px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.media-frame.right .second-img { right: auto; left: -14px; }
.media-frame.has-second { padding-bottom: 60px; }

/* Mosaic (services page manpower) */
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1; }
.mosaic .img-reveal { box-shadow: var(--shadow-md); }
.mosaic .img-reveal:first-child { grid-row: span 2; }

/* ---------- 11. CARDS ---------- */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(214,165,38,.16), transparent 62%); }
.spot:hover::after { opacity: 1; }

/* Service cards */
.service-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: rgba(214,165,38,.55); }
.sc-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-card:hover .sc-media img { transform: scale(1.09); }
.sc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,30,58,.05) 40%, rgba(2,30,58,.7)); }
.sc-num { position: absolute; z-index: 2; top: 14px; left: 22px; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; font-weight: 700; color: rgba(255,255,255,.92); }
.sc-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 52px 30px 32px; }
.sc-icon { position: absolute; top: -32px; left: 30px; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--primary); color: var(--gold-light); box-shadow: 0 14px 28px rgba(0,60,112,.35); transition: transform .5s var(--ease), background .4s, color .4s; }
.sc-icon .ic { width: 30px; height: 30px; animation: bob 4s ease-in-out infinite; }
.service-card:hover .sc-icon { background: var(--gold-grad); color: var(--primary-deep); transform: translateY(-5px) rotate(-7deg); }
.sc-body h3 { margin-bottom: .45em; }
.sc-body p { color: var(--muted); margin-bottom: 22px; }
.sc-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* "Why choose" cards */
.why-card { position: relative; height: 100%; padding: 32px 28px; border-radius: var(--radius); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); transition: transform .45s var(--ease), background .4s, border-color .4s, box-shadow .4s; }
.why-card:hover { transform: translateY(-9px); background: rgba(255,255,255,.1); border-color: rgba(242,210,113,.65); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.why-icon { position: relative; width: 62px; height: 62px; margin-bottom: 22px; border-radius: 18px; display: grid; place-items: center; color: var(--gold-light); background: linear-gradient(135deg, rgba(242,210,113,.24), rgba(214,165,38,.06)); border: 1px solid rgba(242,210,113,.3); transition: transform .5s var(--ease), background .4s, color .4s; }
.why-icon .ic { width: 28px; height: 28px; }
.why-icon::after { content: ""; position: absolute; inset: -1px; border-radius: 18px; border: 2px solid var(--gold); opacity: 0; }
.why-card:hover .why-icon { background: var(--gold-grad); color: var(--primary-deep); transform: rotate(-8deg) scale(1.1); }
.why-card:hover .why-icon::after { animation: ringOut 1.1s ease-out infinite; }
.why-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.why-card p { margin: 0; font-size: .95rem; color: #b9cadb; }

/* Values / benefits / light cards */
.value-card { position: relative; height: 100%; overflow: hidden; padding: 34px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.value-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.value-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon { width: 62px; height: 62px; margin-bottom: 22px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--gold-light); transition: transform .5s var(--ease); }
.value-icon .ic { width: 28px; height: 28px; }
.value-card:hover .value-icon { transform: rotate(-8deg) scale(1.08); }
.value-card p { margin: 0; color: var(--muted); }
.value-num { position: absolute; right: 22px; top: 12px; font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; color: rgba(0,60,112,.06); line-height: 1; }

.mv-stack { display: grid; gap: 24px; }
.mv-card { position: relative; overflow: hidden; padding: 34px 34px 34px 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); box-shadow: var(--shadow-md); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.mv-card:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
.mv-card .mv-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.mv-card .mv-head h3 { margin: 0; font-size: 1.6rem; }
.mv-card .mv-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--primary); color: var(--gold-light); flex: none; }
.mv-card p { margin: 0; color: var(--muted); font-size: 1.04rem; }

.benefit { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.benefit:hover { transform: translateY(-5px); border-color: rgba(214,165,38,.6); box-shadow: var(--shadow-md); }
.benefit .b-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: var(--gold-light); flex: none; }
.benefit strong { display: block; color: var(--primary); margin-bottom: 2px; line-height: 1.35; }
.benefit span { font-size: .92rem; color: var(--muted); line-height: 1.5; display: block; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 34px; }

/* Services page detail blocks */
.svc-num { font-family: var(--font-head); font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(214,165,38,.7); margin-bottom: 6px; }
.svc-detail + .svc-detail { margin-top: clamp(70px, 9vw, 120px); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 32px; }
.cat-item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--primary); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.cat-item .ic { width: 22px; height: 22px; color: var(--gold-text); transition: color .3s; }
.cat-item:hover { transform: translateY(-4px); background: var(--primary); color: #fff; border-color: var(--primary); }
.cat-item:hover .ic { color: var(--gold-light); }
.section-light .cat-item { background: #fff; }

/* Approach list (about) */
.approach-list { list-style: none; margin-top: 30px; position: relative; counter-reset: ap; }
.approach-list::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--gold), rgba(214,165,38,.15)); }
.approach-list li { position: relative; display: flex; gap: 22px; padding: 16px 0; }
.approach-list .ap-n { position: relative; z-index: 1; width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--gold); color: var(--primary); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; transition: background .35s, color .35s, transform .35s var(--ease); }
.approach-list li:hover .ap-n { background: var(--gold-grad); transform: scale(1.1); }
.approach-list h3 { font-size: 1.2rem; margin: 2px 0 4px; }
.approach-list p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- 12. TIMELINE & STEPPER ---------- */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; --progress: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; margin-left: -1.5px; border-radius: 3px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--gold-grad); transform: scaleY(var(--progress)); transform-origin: top; }
.tl-item { position: relative; width: 50%; padding: 0 60px 44px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 44px 60px; }
.tl-item:nth-child(even):last-child { padding-bottom: 0; }
.tl-dot { position: absolute; z-index: 2; top: 30px; right: -15px; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: border-color .4s, background .4s, box-shadow .4s, transform .4s var(--ease); }
.tl-item:nth-child(even) .tl-dot { right: auto; left: -15px; }
.tl-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .4s var(--ease); }
.tl-item.active .tl-dot { border-color: var(--gold); box-shadow: 0 0 0 8px rgba(214,165,38,.2); transform: scale(1.1); }
.tl-item.active .tl-dot::after { transform: scale(1); }
.tl-card { position: relative; padding: 28px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.tl-item.active .tl-card { border-color: rgba(214,165,38,.6); box-shadow: var(--shadow-md); }
.tl-card:hover { transform: translateY(-5px); }
.tl-card::before { content: ""; position: absolute; top: 38px; right: -11px; width: 20px; height: 20px; background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.tl-item:nth-child(even) .tl-card::before { right: auto; left: -11px; transform: rotate(-135deg); }
.tl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.tl-num { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; line-height: 1; color: var(--gold); }
.tl-head h3 { margin: 0; font-size: 1.25rem; }
.tl-card p { margin: 0; color: var(--muted); font-size: .97rem; }

.stepper { --sp: 0; margin-top: 10px; }
.steps-nav { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.steps-nav::before, .steps-nav::after { content: ""; position: absolute; top: 28px; left: calc(100% / 14); right: calc(100% / 14); height: 3px; border-radius: 3px; }
.steps-nav::before { background: rgba(255,255,255,.16); }
.steps-nav::after { background: var(--gold-grad); transform: scaleX(var(--sp)); transform-origin: left; transition: transform .7s var(--ease); }
.step-btn { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: #b9cadb; cursor: pointer; }
.step-btn .sn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-deep); border: 3px solid rgba(255,255,255,.22); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; transition: transform .45s var(--ease), background .4s, border-color .4s, color .4s, box-shadow .4s; }
.step-btn .sl { font-size: .8rem; font-weight: 600; line-height: 1.3; text-align: center; max-width: 118px; transition: color .3s; }
.step-btn:hover .sn { border-color: var(--gold-light); }
.step-btn.done .sn { border-color: var(--gold); color: var(--gold-light); }
.step-btn.active .sn { background: var(--gold-grad); border-color: var(--gold-light); color: var(--primary-deep); transform: scale(1.14); box-shadow: 0 0 0 9px rgba(214,165,38,.2); }
.step-btn.active .sl { color: #fff; }
.step-panels { margin-top: 48px; }
.step-panel { display: none; grid-template-columns: auto 1fr; gap: 34px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.step-panel.active { display: grid; animation: panelIn .65s var(--ease); }
html:not(.js) .step-panel { display: grid; margin-bottom: 18px; } /* no-JS fallback: show every step */
.sp-badge { width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; background: var(--gold-grad); color: var(--primary-deep); box-shadow: 0 18px 40px rgba(214,165,38,.35); }
.sp-badge .ic { width: 44px; height: 44px; }
.step-panel small { display: block; color: var(--gold-light); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .76rem; margin-bottom: 6px; }
.step-panel h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: .4em; }
.step-panel p { margin: 0; color: #c7d5e3; font-size: 1.04rem; max-width: 720px; }

/* ---------- 13. TILES (industries / workforce) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile.sq { aspect-ratio: 1 / 1; }
.tile:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.tile:hover > img { transform: scale(1.1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,30,58,.12) 25%, rgba(2,30,58,.95) 100%); transition: background .5s; }
.tile:hover::before { background: linear-gradient(180deg, rgba(0,60,112,.3) 0%, rgba(2,30,58,.96) 100%); }
.tile-icon { position: absolute; top: 18px; left: 18px; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: var(--gold-light); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s, color .4s, transform .5s var(--ease); }
.tile:hover .tile-icon { background: var(--gold-grad); color: var(--primary-deep); transform: rotate(-8deg) scale(1.08); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px; }
.tile-body::before { content: ""; display: block; width: 34px; height: 3px; margin-bottom: 14px; border-radius: 3px; background: var(--gold-grad); transition: width .5s var(--ease); }
.tile:hover .tile-body::before { width: 72px; }
.tile-body h3 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.tile-body p { margin: 0; font-size: .92rem; color: #d3dfec; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s var(--ease), opacity .45s; }
.tile:hover .tile-body p, .tile:focus-within .tile-body p { max-height: 100px; opacity: 1; }
.note-box { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 44px auto 0; padding: 18px 24px; background: #fff; border-radius: 14px; border-left: 4px solid var(--gold); box-shadow: var(--shadow-sm); color: var(--muted); font-size: .96rem; }
.note-box .ic { color: var(--gold-text); width: 24px; height: 24px; margin-top: 2px; }
.note-box p { margin: 0; }

/* ---------- 14. CTA BAND ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding-block: clamp(84px, 10vw, 136px); background: linear-gradient(135deg, var(--primary-deep), var(--primary) 60%, var(--secondary)); }
.cta-bg { position: absolute; inset: -12% 0; z-index: -3; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10001; padding: 12px 20px; border-radius: 10px; background: var(--gold); color: var(--primary-deep); font-weight: 700; transition: top .3s; }
.skip-link:focus { top: 16px; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band.has-img::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, rgba(2,30,58,.95), rgba(0,60,112,.87)); }
.cta-band h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.cta-band p { max-width: 660px; margin: 0 auto 36px; color: #d3dfec; font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-band .shape.ring { top: -180px; right: -160px; }
.cta-band .shape.ring2 { display: none; }
.cta-band .shape.dots { left: 4%; top: auto; bottom: 8%; }

/* ---------- 15. CONTACT PAGE & FORM ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: stretch; }
.contact-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: #d3dfec; background: linear-gradient(160deg, var(--primary-deep), var(--primary) 70%, var(--secondary)); box-shadow: var(--shadow-lg); }
.contact-card h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .3em; }
.contact-card h2::after { display: none; }
.contact-card > p { color: #b9cadb; }
.contact-card .shape.ring { width: 340px; height: 340px; right: -140px; top: auto; bottom: -150px; z-index: -1; animation-duration: 50s; }
.ci-row { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.13); transition: transform .35s var(--ease); }
.ci-row:last-of-type { border-bottom: 0; }
a.ci-row:hover { transform: translateX(8px); }
.ci-ic { width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-items: center; background: rgba(214,165,38,.16); border: 1px solid rgba(242,210,113,.4); color: var(--gold-light); transition: background .35s, color .35s; }
a.ci-row:hover .ci-ic { background: var(--gold-grad); color: var(--primary-deep); }
.ci-label { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin-bottom: 2px; }
.ci-value { display: block; color: #fff; font-weight: 600; font-size: 1.06rem; overflow-wrap: anywhere; line-height: 1.4; }

.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.form-card h2::after { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--primary); }
.field label em { color: #c0392b; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; font: inherit; font-size: .98rem; color: var(--dark); background: var(--light);
  border: 1.5px solid transparent; border-radius: 14px; transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23003C70' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,165,38,.18); }
.field .err { display: none; font-size: .8rem; color: #c0392b; font-weight: 500; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d9534f; background: #fff7f6; }
.field.invalid .err { display: block; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.form-alt { font-size: .92rem; color: var(--muted); }
.form-alt button { background: none; border: 0; padding: 0; color: var(--secondary); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; }
.form-status { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: #eaf7ef; border: 1px solid #b7e2c6; color: #1c6b3a; font-size: .94rem; }
.form-status.show { display: block; animation: panelIn .5s var(--ease); }
.form-note { margin: 18px 0 0; font-size: .82rem; color: var(--muted); }

.next-step { position: relative; height: 100%; padding: 30px 28px; text-align: center; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.next-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.next-step .ns-ic { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--gold-light); box-shadow: 0 0 0 8px rgba(0,60,112,.07); }
.next-step .ns-ic .ic { width: 28px; height: 28px; }
.next-step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- 16. FOOTER, FLOATING WIDGETS, MODAL ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; color: #b9cadb; background: var(--primary-deep); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold-grad); }
.site-footer .orb { width: 520px; height: 520px; right: -160px; top: -180px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; padding: 84px 0 56px; }
.footer-brand .brand { display: inline-flex; margin-bottom: 22px; }
.footer-brand .brand img { height: 62px; }
.footer-brand p { max-width: 360px; font-size: .96rem; }
.site-footer h4 { position: relative; margin-bottom: 26px; padding-bottom: 14px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { display: inline-block; transition: color .3s, transform .3s var(--ease); }
.footer-links a:hover { color: var(--gold-light); transform: translateX(6px); }
.footer-contact { list-style: none; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer-contact .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(214,165,38,.14); color: var(--gold-light); }
.footer-contact a { overflow-wrap: anywhere; transition: color .3s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .35s, color .35s, transform .35s var(--ease), border-color .35s; }
.social-row a:hover { background: var(--gold-grad); color: var(--primary-deep); border-color: var(--gold); transform: translateY(-5px); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding: 24px 0 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--gold-light); }

/* Floating action buttons */
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.fab { position: relative; isolation: isolate; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.28); transition: transform .35s var(--ease), box-shadow .35s; }
.fab:hover { transform: translateY(-5px) scale(1.07); box-shadow: 0 18px 38px rgba(0,0,0,.32); }
.fab .ic { width: 28px; height: 28px; }
.fab-wa { background: #25D366; }
.fab-wa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25D366; animation: pulse 2.5s ease-out infinite; }
.fab-call { background: var(--primary); border: 2px solid var(--gold); }
.fab-call .ic { width: 25px; height: 25px; color: var(--gold-light); }
.fab-top { position: absolute; right: 5px; bottom: calc(100% + 14px); width: 48px; height: 48px; background: var(--gold-grad); color: var(--primary-deep); opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .4s, visibility .4s, transform .4s var(--ease); }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-top.show:hover { transform: translateY(-5px) scale(1.07); }
.fab-top .ic { width: 22px; height: 22px; }
.fab-tip { position: absolute; right: calc(100% + 14px); top: 50%; padding: 8px 15px; border-radius: 10px; background: var(--primary); color: #fff; font-size: .84rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(10px, -50%); transition: opacity .3s, transform .3s var(--ease), visibility .3s; box-shadow: var(--shadow-md); }
.fab-tip::after { content: ""; position: absolute; left: 100%; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left-color: var(--primary); }
.fab:hover .fab-tip, .fab-tip.show { opacity: 1; visibility: visible; transform: translate(0, -50%); }

/* Social floating menu: vertical rail on wide desktop, toggle on smaller screens */
.social-float { position: fixed; z-index: 890; left: 0; top: 50%; transform: translateY(-50%); }
.social-toggle { display: none; }
.social-list { display: flex; flex-direction: column; gap: 6px; padding: 8px; background: #fff; border: 1px solid var(--line); border-left: 0; border-radius: 0 18px 18px 0; box-shadow: var(--shadow-md); }
.social-list a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); transition: background .3s, color .3s, transform .35s var(--ease); }
.social-list a:hover { background: var(--primary); color: var(--gold-light); transform: translateX(5px); }
.social-list .ic { width: 20px; height: 20px; }

/* Desktop mouse-follow glow */
.cursor-glow { position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 9; opacity: 0; transition: opacity .5s; background: radial-gradient(circle, rgba(214,165,38,.15) 0%, rgba(0,90,150,.06) 42%, transparent 70%); will-change: transform; }
.cursor-glow.on { opacity: 1; }

/* Modal (Privacy / Terms) */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,26,50,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; width: 100%; max-width: 720px; max-height: 86vh; overflow-y: auto; padding: clamp(28px, 4vw, 46px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); }
.modal.open .modal-dialog { transform: none; }
.modal-dialog h2 { font-size: 1.8rem; }
.modal-dialog h2::after { display: none; }
.modal-dialog h3 { font-size: 1.1rem; margin: 1.4em 0 .3em; }
.modal-dialog p, .modal-dialog li { color: var(--muted); font-size: .96rem; }
.modal-dialog ul { padding-left: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--light); color: var(--primary); cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .3s; }
.modal-close:hover { background: var(--gold); transform: rotate(90deg); }

/* ---------- KEYFRAMES ---------- */
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(-1.2%, -1%, 0); } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -22px, 0); } }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
@keyframes diamond { 0%, 100% { transform: rotate(45deg) translate3d(0, 0, 0); } 50% { transform: rotate(225deg) translate3d(14px, -20px, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(214,165,38,.7); } 100% { box-shadow: 0 0 0 12px rgba(214,165,38,0); } }
@keyframes ringOut { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes ringShake { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-16deg); } 92% { transform: rotate(14deg); } 94% { transform: rotate(-10deg); } 96% { transform: rotate(8deg); } }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes revealUp { from { opacity: 0; transform: translate3d(0, 44px, 0); } to { opacity: 1; transform: none; } }
@keyframes revealLeft { from { opacity: 0; transform: translate3d(-60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes revealRight { from { opacity: 0; transform: translate3d(60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes revealZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes imgSettle { from { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes panelIn { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { transform: scaleX(1); } }
@keyframes loaderPop { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1320px) {
  .nav-links a { padding: 10px 10px; font-size: .92rem; }
  .nav-links a::after { left: 10px; right: 10px; }
  .nav-actions { gap: 12px; }
}
@media (min-width: 1321px) { .nav-phone .ph-text { display: inline; } }
@media (max-width: 1320px) { .nav-phone .ph-text { display: none; } }

/* Social rail becomes a toggle button below wide desktop */
@media (max-width: 1359px) {
  .social-float { top: auto; bottom: 22px; left: 16px; transform: none; display: flex; flex-direction: column-reverse; align-items: center; gap: 12px; }
  .social-toggle { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); background: var(--primary); color: var(--gold-light); cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
  .social-toggle .ic { width: 22px; height: 22px; }
  .social-list { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s, transform .4s var(--ease), visibility .35s; }
  .social-float.open .social-list { opacity: 1; visibility: visible; transform: none; }
  .social-list a { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
  .social-list a:hover { transform: translateY(-4px); }
}

/* Burger menu + drawer */
@media (max-width: 1180px) {
  .burger { display: block; }
  .nav-actions .nav-cta { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 1002; width: min(88vw, 390px); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 104px 30px 34px; overflow-y: auto;
    background: #fff; box-shadow: -20px 0 60px rgba(0,30,60,.25); transform: translateX(105%); visibility: hidden;
    transition: transform .55s var(--ease), visibility 0s linear .55s;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links li { opacity: 0; transform: translateX(28px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .main-nav.open .nav-links li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * .07s); }
  .nav-links a, .scrolled .nav-links a { padding: 17px 4px; font-size: 1.08rem; font-weight: 600; color: var(--primary); border-bottom: 1px solid var(--line); }
  .nav-links a::after { left: 4px; right: auto; width: 34px; bottom: -1px; }
  .nav-links a:hover, .scrolled .nav-links a:hover { color: var(--secondary); }
  .drawer-cta { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
  .drawer-cta .btn { width: 100%; }
  .drawer-cta .btn-outline { border-color: var(--primary); color: var(--primary); }
  .drawer-cta .btn-outline:hover { color: #fff; }
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .steps-nav .sl { font-size: .74rem; }
}
@media (max-width: 1024px) {
  .g-4, .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .split, .split.media-wide, .split.text-wide { grid-template-columns: 1fr; }
  .split .media-frame { max-width: 640px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { aspect-ratio: 4 / 3; }
  .timeline::before, .timeline::after { left: 22px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 64px; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 7px; right: auto; }
  .tl-card::before, .tl-item:nth-child(even) .tl-card::before { left: -11px; right: auto; transform: rotate(-135deg); }
  .steps-nav .sl { display: none; }
  .step-btn .sn { width: 46px; height: 46px; font-size: 1rem; }
  .steps-nav::before, .steps-nav::after { top: 22px; }
  .step-panel, .step-panel.active { grid-template-columns: 1fr; gap: 20px; }
  .sp-badge { width: 74px; height: 74px; border-radius: 20px; }
  .sp-badge .ic { width: 34px; height: 34px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --header-h: 76px; }
  .site-header.scrolled { height: 68px; }
  .brand img { height: 44px; }
  .scrolled .brand img { height: 44px; }
  .brand { padding: 6px 12px; }
  .hero { padding-bottom: 180px; }
  .page-hero { padding-bottom: 96px; min-height: 420px; }
  .scroll-cue { display: none; }
  .btn { padding: 14px 24px; }
  .hero .btn-row .btn, .cta-actions .btn { width: 100%; }
  .stats { margin-top: -84px; }
  .float-stack { right: 14px; bottom: 16px; gap: 12px; }
  .social-float { left: 12px; bottom: 16px; }
  .fab { width: 54px; height: 54px; }
  .fab-tip { display: none; }
  .fab-top { right: 3px; }
  .benefit-grid, .form-grid, .check-list.cols-2 { grid-template-columns: 1fr; }
  .frame-accent { width: 66%; height: 66%; }
  .media-frame { padding: 0 0 22px 22px; }
  .media-frame.right { padding: 0 22px 22px 0; }
  .float-badge { padding: 12px 16px 12px 12px; right: 4px; }
  .media-frame.right .float-badge { left: 4px; }
  .second-img { width: 50%; right: -4px; }
  .media-frame.right .second-img { left: -4px; }
  .footer-top { padding: 64px 0 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }
}
@media (max-width: 640px) {
  .g-4, .g-3, .g-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .tiles { gap: 14px; }
  .tile-body { padding: 18px 16px; }
  .tile-body h3 { font-size: 1.05rem; }
  .tile-body p { max-height: none; opacity: 1; font-size: .82rem; }
  .tile-icon { width: 42px; height: 42px; top: 12px; left: 12px; border-radius: 12px; }
  .mv-card { padding: 26px 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile.sq { aspect-ratio: 16 / 11; }
  .tile-body h3 { font-size: 1.25rem; }
  .tile-body p { font-size: .9rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .loader-logo img { height: 88px; max-width: 86vw; }
  .step-btn .sn { width: 40px; height: 40px; }
  .steps-nav { gap: 2px; }
  .steps-nav::before, .steps-nav::after { top: 19px; }
  .mosaic { gap: 10px; }
}
@media (hover: none) {
  .tile-body p { max-height: none; opacity: 1; }
  .spot::after { display: none; }
}
@media (min-width: 1181px) { .nav-actions .nav-cta { display: inline-flex; } }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .cursor-glow { display: none; }
}

@media (max-width: 640px) {
  .brand img { height: 54px; max-width: 250px; }
  .scrolled .brand img { height: 50px; }
}


/* Hide service numbering per client request */
.svc-num { display: none !important; }
