/* ═══════════════════════════════════════════════════════════════
   TUYE TRADING CC — Global Stylesheet
   Design System: Navy · Blue · Gold
   Author: Professional Web Development
   Version: 2.0 — Production
   ═══════════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Lato:ital,wght@0,300;0,400;0,700;1,300&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Core palette */
  --navy:         #0f1f2e;
  --navy-mid:     #0d1e2c;
  --navy-light:   #162840;
  --navy-glass:   rgba(15, 31, 46, 0.92);

  /* Brand blue — #016AA2 + derived scale */
  --blue:         #016AA2;
  --blue-dark:    #014f78;
  --blue-deeper:  #013a58;
  --blue-light:   #017dbf;
  --blue-bright:  #0191d8;
  --blue-pale:    #e6f3fa;
  --blue-glass:   rgba(1, 106, 162, 0.12);
  --blue-border:  rgba(1, 106, 162, 0.25);

  /* Champagne gold */
  --gold:         #c9a96e;
  --gold-dark:    #b8944f;
  --gold-light:   #e2c48a;
  --gold-pale:    #f5edd8;
  --gold-border:  rgba(201, 169, 110, 0.25);
  --gold-glass:   rgba(201, 169, 110, 0.12);

  /* Neutrals */
  --cream:        #faf8f4;
  --white:        #ffffff;
  --off-white:    #f8f9fa;
  --text-dark:    #0d1e2c;
  --text-body:    #334155;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;
  --border:       rgba(15, 31, 46, 0.08);
  --border-mid:   rgba(15, 31, 46, 0.14);

  /* Shadows */
  --shadow-xs:    0 1px 4px rgba(15,31,46,0.06);
  --shadow-sm:    0 2px 12px rgba(15,31,46,0.08);
  --shadow-md:    0 8px 32px rgba(15,31,46,0.12);
  --shadow-lg:    0 20px 60px rgba(15,31,46,0.16);
  --shadow-xl:    0 32px 80px rgba(15,31,46,0.2);
  --shadow-blue:  0 8px 30px rgba(1,106,162,0.22);
  --shadow-gold:  0 8px 30px rgba(201,169,110,0.28);

  /* Geometry */
  --radius-xs:    4px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-xl:    24px;
  --radius-pill:  9999px;

  /* Easing */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --nav-h:        76px;
  --container:    1200px;
  --container-w:  1440px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--blue-pale); color: var(--blue-dark); }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ── LAYOUT UTILITIES ── */
.container      { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: var(--container-w); margin: 0 auto; padding: 0 2rem; }
.section        { padding: 7rem 0; }
.section-sm     { padding: 4.5rem 0; }
.section-lg     { padding: 9rem 0; }
.section-white  { background: var(--white); }
.section-cream  { background: var(--cream); }
.section-navy   { background: var(--navy); }
.section-blue   { background: var(--blue); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1.5px;
  background: var(--blue);
  flex-shrink: 0;
}
.eyebrow.gold     { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }
.eyebrow.white    { color: rgba(255,255,255,0.7); }
.eyebrow.white::before { background: rgba(255,255,255,0.4); }

.h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-dark);
}
.h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}
.h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}
.h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}
.lead {
  font-family: 'Lato', sans-serif;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}
.body { font-size: 0.95rem; line-height: 1.8; color: var(--text-body); }
.small { font-size: 0.82rem; line-height: 1.7; color: var(--text-muted); }
.light  { color: rgba(255,255,255,0.75) !important; }
.light-strong { color: #fff !important; }
.gold-text { color: var(--gold) !important; }
.blue-text { color: var(--blue) !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.88rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(201,169,110,0.2);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(1,106,162,0.2);
}
.btn-blue:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,31,46,0.28);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}
.btn-lg { padding: 1.05rem 2.5rem; font-size: 0.8rem; }
.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.72rem; }
.btn-icon { transition: transform 0.22s var(--ease); font-style: normal; }
.btn:hover .btn-icon { transform: translateX(4px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 80% 50%, rgba(1,106,162,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 10% 20%, rgba(201,169,110,0.07) 0%, transparent 55%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* Two-column layout: text left, illustration right */
.page-hero .container {
  position: relative; z-index: 1;
}
.page-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 200px;
}
.page-hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 1rem;
}
.page-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; z-index: 1;
}
.page-hero-illustration svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(1,106,162,0.35));
  animation: heroIllFloat 5s ease-in-out infinite;
}
@keyframes heroIllFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%     { transform: translateY(-10px) rotate(1deg); }
  66%     { transform: translateY(-5px) rotate(-0.5deg); }
}
@media (max-width: 768px) {
  .page-hero-layout { grid-template-columns: 1fr; }
  .page-hero-illustration { display: none; }
}
.page-hero-inner .eyebrow { margin-bottom: 0.5rem; }
.page-hero-inner h1 { color: #fff; }
.page-hero-inner .lead { max-width: 600px; color: rgba(255,255,255,0.65); }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 2rem;
}
.breadcrumb a, .breadcrumb span {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); font-size: 0.65rem; }
.breadcrumb .current { color: var(--gold); }

/* ── NAVBAR ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
/* Unified white navbar — all pages, always solid white */
#nav.scrolled,
#nav.solid {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 28px rgba(15,31,46,0.10);
  border-color: rgba(15,31,46,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.85rem;
  flex-shrink: 0;
}
.nav-logo img {
  height: 62px;
  width: auto;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.nav-logo:hover img { transform: scale(1.12); }
.nav-logo-text { display: none; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
  margin-left: 2rem;   /* space between logo and first nav item */
}
.nav-links a {
  display: block;
  font-size: 0.73rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-dark);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover {
  color: var(--blue);
  background: var(--blue-pale);
}
.nav-links a.active {
  color: var(--blue);
  background: var(--blue-pale);
}
.nav-cta-btn {
  background: #e05a2b !important;
  color: #fff !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 2px 12px rgba(224,90,43,0.35);
}
.nav-cta-btn:hover {
  background: #c94d22 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(224,90,43,0.45) !important;
}

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem); left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--navy);
  border: 1px solid rgba(1,106,162,0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s var(--ease);
  z-index: 100;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.7) !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: var(--radius-xs) !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  background: transparent !important;
  transition: all 0.2s !important;
}
.nav-dropdown a:hover { color: var(--gold) !important; background: rgba(255,255,255,0.06) !important; }
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--navy);
  border-left: 1px solid rgba(1,106,162,0.2);
  border-top: 1px solid rgba(1,106,162,0.2);
  transform: translateX(-50%) rotate(45deg);
}


/* Burger lines always dark — white nav */
.burger span { background: var(--navy); }
/* Hamburger */
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 6px; cursor: pointer;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: #fff; border-radius: 1px;
  transition: all 0.3s var(--ease);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--navy);
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile-header {
  position: absolute; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(1,106,162,0.15);
}
.nav-mobile-close {
  font-size: 1.6rem; color: rgba(255,255,255,0.4);
  cursor: pointer; transition: color 0.2s; padding: 0.25rem;
}
.nav-mobile-close:hover { color: var(--gold); }
.nav-mobile-links { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; width: 100%; padding: 0 2rem; }
.nav-mobile-links a {
  display: block; width: 100%; text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-mobile-links a:hover { color: var(--gold); background: rgba(201,169,110,0.07); }
.nav-mobile-footer {
  position: absolute; bottom: 2rem; left: 0; right: 0;
  text-align: center;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ── TRUST TICKER ── */
.trust-bar {
  background: var(--blue-deeper);
  border-bottom: 1px solid rgba(1,106,162,0.3);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.trust-track {
  display: flex; gap: 3rem; align-items: center;
  animation: tickerScroll 35s linear infinite;
  min-width: max-content;
  will-change: transform;
}
.trust-track:hover { animation-play-state: paused; }
/* Trust bar positioned correctly after fixed nav on inner pages */
nav + .trust-bar {
  margin-top: var(--nav-h);
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.trust-dot { color: var(--gold); font-size: 0.5rem; flex-shrink: 0; }
.trust-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.12); flex-shrink: 0; }

/* ── SECTION HEADERS ── */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head .lead { margin: 1rem auto 0; max-width: 600px; }
.section-head-left { margin-bottom: 3.5rem; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-border);
}
.card-pad { padding: 2rem; }

/* ── SCROLL REVEAL ── */
.sr {
  opacity: 0;
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.sr.up    { transform: translateY(36px); }
.sr.left  { transform: translateX(-36px); }
.sr.right { transform: translateX(36px); }
.sr.scale { transform: scale(0.95); }
.sr.in    { opacity: 1; transform: none; }
.sr-d1 { transition-delay: 0.08s; }
.sr-d2 { transition-delay: 0.16s; }
.sr-d3 { transition-delay: 0.24s; }
.sr-d4 { transition-delay: 0.32s; }
.sr-d5 { transition-delay: 0.40s; }
.sr-d6 { transition-delay: 0.48s; }

/* ── STAT BLOCKS ── */
.stat-block { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-block .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; line-height: 1;
  color: var(--blue);
}
.stat-block .num.gold { color: var(--gold); }
.stat-block .num.white { color: #fff; }
.stat-block .lbl {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.stat-block .lbl.white { color: rgba(255,255,255,0.5); }

/* ── VALUE PILLS ── */
.value-pill {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-left: 2.5px solid var(--blue);
  border-radius: var(--radius-xs);
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-dark);
  transition: all 0.25s;
}
.value-pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── DIVIDERS ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  margin: 0;
}
.divider-blue {
  background: linear-gradient(90deg, transparent, var(--blue-border), transparent);
}

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.badge-blue { background: var(--blue-pale); color: var(--blue); border: 1px solid var(--blue-border); }
.badge-gold { background: var(--gold-pale); color: var(--gold-dark); border: 1px solid var(--gold-border); }
.badge-navy { background: var(--navy); color: rgba(255,255,255,0.8); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.85rem; line-height: 1.7;
  color: var(--text-body);
}
.highlight-box.gold {
  background: var(--gold-pale);
  border-color: var(--gold-border);
  border-left-color: var(--gold);
}

/* ── WHATSAPP ── */
#wa-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 9999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.42);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  animation: waPulse 3.5s ease-in-out infinite;
}
#wa-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.52);
  animation: none;
}
#wa-btn svg { width: 28px; height: 28px; fill: #fff; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.42), 0 0 0 0 rgba(37,211,102,0.3); }
  55%     { box-shadow: 0 6px 24px rgba(37,211,102,0.42), 0 0 0 13px rgba(37,211,102,0); }
}
#wa-tip {
  position: fixed;
  bottom: 2.65rem; right: 4.8rem;
  z-index: 9998;
  background: var(--navy); color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-xs);
  font-size: 0.73rem; font-weight: 600;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateX(6px);
  transition: all 0.22s var(--ease);
}
#wa-btn:hover + #wa-tip { opacity: 1; transform: translateX(0); }

/* ── SCROLL TO TOP ── */
#stt {
  position: fixed;
  bottom: 5.6rem; right: 2rem;
  z-index: 9990;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue); color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-blue);
}
#stt.show { opacity: 1; pointer-events: all; }
#stt:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2rem;
  transition: opacity 0.65s var(--ease), visibility 0.65s;
}
#loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  width: 176px;
  height: 176px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(1,106,162,0.6);
  box-shadow: 0 0 0 8px rgba(1,106,162,0.12), 0 0 38px rgba(1,106,162,0.3);
  animation: loaderPulse 1.8s ease-in-out infinite;
  background: #fff;
}
.loader-bar { width: 160px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.loader-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); animation: loaderRun 1.4s var(--ease) forwards; }
@keyframes loaderPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.65;transform:scale(.96)} }
@keyframes loaderRun   { from{width:0} to{width:100%} }

/* ── FOOTER ── */
#footer { background: var(--navy); }
.footer-top {
  padding: 5.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(1,106,162,0.15);
}
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 4rem; }
.footer-brand img {
  width: 160px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.4rem;
}
.footer-brand p {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem; line-height: 1.78;
  color: rgba(255,255,255,0.45);
  max-width: 300px; margin-bottom: 1.75rem;
}
.footer-socials { display: flex; gap: 0.6rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700;
  color: rgba(255,255,255,0.45);
  transition: all 0.22s;
}
.social-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600;
  color: #fff; margin-bottom: 1.4rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.83rem; color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.6rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-reg { display: flex; flex-direction: column; gap: 0.15rem; text-align: right; }
.footer-reg span { font-size: 0.68rem; color: rgba(255,255,255,0.2); letter-spacing: 0.04em; }
.footer-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue));
}

/* ── CONTACT FORM (shared) ── */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field textarea, .field select {
  padding: 0.82rem 1rem;
  border: 1.5px solid rgba(15,31,46,0.1);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem; color: var(--text-dark);
  background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1,106,162,0.1);
  background: #fff;
}
.field input:hover, .field textarea:hover, .field select:hover {
  border-color: rgba(1,106,162,0.3);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.captcha-row {
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.captcha-row label { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); flex: 1; }
.captcha-row input {
  width: 74px; padding: 0.5rem 0.6rem;
  border: 1.5px solid var(--blue-border);
  border-radius: var(--radius-xs);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  text-align: center; outline: none; -webkit-appearance: none;
}
.captcha-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(1,106,162,0.12); }
.form-alert {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1rem; display: none; line-height: 1.5;
}
.form-alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; display: block; }
.form-alert.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; display: block; }
.char-count { font-size: 0.68rem; color: var(--text-light); text-align: right; margin-top: -0.5rem; margin-bottom: 0.5rem; }

/* ── MAP CARDS ── */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-card iframe {
  width: 100%; height: 320px;
  display: block; border: none;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.3s;
}
.map-card:hover iframe { filter: grayscale(0%) contrast(1); }
.map-info {
  padding: 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.map-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 0.6rem;
}
.map-info-row {
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.82rem; color: var(--text-muted);
  line-height: 1.55; margin-bottom: 0.4rem;
}
.map-info-icon { color: var(--blue); font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .section { padding: 5rem 0; }
  .section-lg { padding: 6rem 0; }
  .form-wrap { padding: 2rem; }
}
@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-reg { text-align: center; }
  .form-wrap { padding: 1.5rem; }
  .page-hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3.5rem; }
}

/* ── CLIENTS LOGO CAROUSEL ── */
.clients-bar {
  background: var(--white);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clients-track-wrap {
  position: relative;
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: clientsScroll 32s linear infinite;
  min-width: max-content;
  will-change: transform;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}
.client-logo-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: all 0.25s;
  white-space: nowrap;
}
.client-logo-badge:hover {
  background: var(--blue-pale);
  border-color: var(--blue-border);
  transform: scale(1.04);
}
.client-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.client-logo-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  text-transform: uppercase;
}
.client-logo-sector {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.05rem;
}
.client-logo-img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.25s;
}
.client-logo-badge:hover .client-logo-img {
  filter: grayscale(0%);
}

/* ── TESTIMONIALS RESPONSIVE ── */
@media (max-width: 900px) {
  #testimonials .section-head + div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  #testimonials [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .clients-track { animation-duration: 20s; }
}

/* ── TEAM PAGE RESPONSIVE — 3 members stacked on mobile ── */
@media (max-width: 900px) {
  .team-grid-full [style*="grid-template-columns:380px"],
  .team-grid-full [style*="grid-template-columns:1fr 380px"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* ── PACKAGES TABLE RESPONSIVE ── */
@media (max-width: 640px) {
  table { font-size: .78rem; }
  table th, table td { padding: .65rem .75rem !important; }
}

/* ── INSIGHTS GRID RESPONSIVE ── */
@media (max-width: 900px) {
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1.5fr"],
  [style*="grid-template-columns:1fr 1.6fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:380px"],
  [style*="grid-template-columns:1fr 380px"] {
    grid-template-columns: 1fr !important;
  }
  .page-hero-illustration { display: none; }
}


/* ════════════════════════════════════════════════════
   VISUAL & UX ENHANCEMENTS — v12
   ════════════════════════════════════════════════════ */

/* ── Page fade-in on load ── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
main {
  animation: pageFadeIn 0.55s var(--ease) both;
  animation-delay: 0.05s;
}

/* ── Enhanced card hover lift ── */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(15,31,46,0.13);
}

/* ── Service card icon pulse on hover ── */
.svc-icon {
  transition: transform 0.35s var(--ease-spring);
}
.svc-card:hover .svc-icon {
  transform: scale(1.18) rotate(-4deg);
}

/* ── Stat counter shimmer effect ── */
.hero-stat .n {
  background: linear-gradient(90deg, #fff 0%, var(--gold-light) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  from { background-position: 200% center; }
  to   { background-position: -200% center; }
}

/* ── Focus-visible outlines (accessibility) ── */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ── Skip-to-content link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 99999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ── Smooth image reveal on scroll ── */
img {
  transition: opacity 0.5s var(--ease);
}

/* ── Map iframe subtle border polish ── */
.map-card iframe {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  filter: grayscale(10%) contrast(1.02);
  transition: filter 0.4s var(--ease);
}
.map-card:hover iframe {
  filter: grayscale(0%) contrast(1.05);
}

/* ── Testimonial card quote mark animation ── */
.card:hover > div[style*="2.5rem"] {
  opacity: 0.45 !important;
  transform: scale(1.1);
  transition: opacity 0.3s, transform 0.3s;
}

/* ── Footer link hover underline slide ── */
.footer-col ul a {
  position: relative;
  display: inline-block;
}
.footer-col ul a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}
.footer-col ul a:hover::after { width: 100%; }

/* ── Nav link active indicator ── */
.nav-links a.active {
  color: var(--blue) !important;
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.nav-links a { position: relative; }

/* ── Badge hover effect ── */
.badge {
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1,106,162,0.18);
}

/* ── Section divider decoration ── */
.section::before {
  content: none;
}

/* ── Improved trust bar item spacing ── */
.trust-item {
  letter-spacing: 0.04em;
}

/* ── Button ripple on click ── */
.btn {
  overflow: hidden;
  position: relative;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  border-radius: inherit;
  transition: opacity 0.3s;
}
.btn:active::after { opacity: 1; }

/* ── Responsive: team full-width body below photo ── */
@media (max-width: 900px) {
  .jonas-body-full {
    grid-template-columns: 1fr !important;
  }
}

/* ════════════════════════════════════════════════════
   TEAM PAGE — KPMG-STYLE GRID + PROFILE PAGES
   ════════════════════════════════════════════════════ */

/* ── Grid ── */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) { .tm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .tm-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }

/* ── Member card ── */
.tm-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.tm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(1,106,162,0.13);
  border-color: var(--blue);
}

/* ── Photo — links to profile ── */
.tm-card-photo-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream);
}
.tm-card-photo-link img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform 0.5s var(--ease);
}
.tm-card:hover .tm-card-photo-link img { transform: scale(1.06); }

/* ── Card body ── */
.tm-card-body { padding: 1.25rem 1.35rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.tm-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--navy); margin-bottom: .2rem; line-height: 1.3;
  text-decoration: none;
  display: block;
}
.tm-card-name:hover { color: var(--blue); }
.tm-card-role {
  font-size: .78rem; color: var(--text-muted);
  margin-bottom: .15rem; line-height: 1.4;
}
.tm-card-org {
  font-size: .7rem; color: var(--blue);
  font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.tm-card-actions {
  display: flex; gap: .6rem; margin-top: auto;
}
.tm-card-action {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  text-decoration: none; font-size: .85rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.tm-card-action:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.tm-card-action svg { width: 15px; height: 15px; fill: currentColor; }

/* ── Profile page ── */
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: flex-start;
  padding-top: 3.5rem;
}
.profile-photo-col {}
.profile-photo-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid var(--blue);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}
.profile-photo-frame img { width: 100%; display: block; object-fit: cover; object-position: top; }
.profile-contact-card {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}
.profile-contact-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; color: rgba(255,255,255,0.8);
  font-size: .85rem; transition: color 0.2s;
}
.profile-contact-item:last-child { border-bottom: none; }
.profile-contact-item:hover { color: #fff; }
.profile-contact-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }
.profile-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; color: var(--blue);
  text-decoration: none; margin-bottom: 2.5rem;
  letter-spacing: .04em; text-transform: uppercase;
  transition: gap 0.2s;
}
.profile-back:hover { gap: .75rem; }
.profile-badge {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: rgba(1,106,162,0.08);
  border: 1px solid rgba(1,106,162,0.2); border-radius: 20px;
  padding: .22rem .75rem; margin-bottom: .85rem;
}
.profile-name { font-size: 2.4rem; margin-bottom: .3rem; }
.profile-role {
  font-size: .82rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 2rem;
}
.profile-quals {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.75rem;
}
.profile-quals h4 {
  font-size: .9rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.profile-quals-list { display: flex; flex-direction: column; gap: .6rem; list-style: none; }
.profile-quals-list li { display: flex; align-items: flex-start; gap: .75rem; }
.profile-quals-list li strong { color: var(--text-dark); font-size: .88rem; display: block; line-height: 1.4; }
.profile-quals-list .inst { font-size: .77rem; color: var(--text-muted); display: block; }
.pq-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.pq-dot.blue { background: var(--blue); }
.pq-dot.gold { background: var(--gold); }
.profile-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

@media (max-width: 860px) {
  .profile-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .profile-photo-frame { max-width: 280px; }
  .profile-name { font-size: 1.9rem; }
}
