/* ============================================================
   MRZ CANADA INC. — PREMIUM DESIGN SYSTEM v9.0
   Typography: Playfair Display (headings) + Inter (body)
   Palette: Deep Navy #0D1630 | Gold #C6A66B | Soft White #F7F5F0
   ============================================================ */

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

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --navy:         #0A1128; /* Deeper Onyx Navy */
  --navy-deep:    #050816;
  --navy-accent:  #0F1934;
  --navy-mid:     #121F42;
  --navy-light:   #1A2B5E;
  --gold:         #0D1630; /* New Navy Blue from screenshot */
  --gold-light:   #1A2B5E;
  --gold-dim:     #050816;
  --red:          #0D1630; /* Legacy red now navy */
  --white:        #FFFFFF;
  --soft-white:   #F9F8F6;
  --off-white:    #F2F1ED;
  --charcoal:     #161B22;
  --text-dark:    #0D121F;
  --text-mid:     #4A5468;
  --text-muted:   #717B8A;
  --border:       #EAE6DE;
  --border-dark:  rgba(13, 22, 48, 0.15);
  
  /* Advanced Tokens */
  --glass:        rgba(10, 17, 40, 0.72);
  --glass-border: rgba(13, 22, 48, 0.25);
  --glow-gold:    0 0 20px rgba(13, 22, 48, 0.4);
  --glow-inner:   inset 0 0 15px rgba(13, 22, 48, 0.1);

  --ff-heading:   'Playfair Display', Georgia, serif;
  --ff-body:      'Inter', system-ui, sans-serif;

  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;

  --shadow-sm:    0 2px 8px rgba(13,22,48,0.08);
  --shadow:       0 8px 32px rgba(13,22,48,0.12);
  --shadow-lg:    0 20px 60px rgba(13,22,48,0.2);
  --shadow-gold:  0 8px 24px rgba(255,49,49,0.2);

  --transition:   0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: 0.25s cubic-bezier(0.23, 1, 0.32, 1);

  --container:    1240px;
  --section-pad:  140px; /* Slightly more space for premium feel */
  --section-pad-sm: 90px;
  
  /* Modern Image Effects */
  --img-opacity:  0.85;
  --img-filter:   grayscale(10%) contrast(105%);
}

.section-dark, .home-hero {
  --gold: #FF3131;
  --gold-light: #FF6B6B;
  --gold-dim: #D01E1E;
  --red: #FF3131;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* Accounts for floating header height + gap */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Noise Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 9999;
}

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

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h4 { font-size: 1.25rem; font-weight: 600; font-family: var(--ff-body); }
p  { line-height: 1.8; color: var(--text-mid); }

.display-xl {
  font-family: var(--ff-heading);
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 720px;
  margin-bottom: 32px;
}

/* ─── LAYOUT ──────────────────────────────────────────────── */
/* Utility Fixes */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 5;
}

/* ─── TYPOGRAPHY UTILITIES ────────────────────────────────── */
.lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 500;
}

.display-xl { font-size: clamp(3.5rem, 8vw, 5rem); line-height: 1.05; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(3rem, 7vw, 4rem); line-height: 1.1; letter-spacing: -0.02em; }
.display-md { font-size: clamp(2.5rem, 6vw, 3.2rem); line-height: 1.15; letter-spacing: -0.01em; }
.display-sm { font-size: clamp(2rem, 5vw, 2.5rem); line-height: 1.2; }
.display-xs { font-size: clamp(1.5rem, 4vw, 1.8rem); line-height: 1.3; }

.eyebrow, .svc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.text-white { color: var(--white) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-6 { margin-bottom: 24px !important; }
.mb-8 { margin-bottom: 32px !important; }
.mb-10 { margin-bottom: 40px !important; }
.mb-12 { margin-bottom: 48px !important; }
.mt-8 { margin-top: 32px !important; }

.gap-4 { gap: 16px !important; }
.gap-6 { gap: 24px !important; }
.gap-8 { gap: 32px !important; }
.gap-12 { gap: 48px !important; }
.gap-16 { gap: 64px !important; }
.gap-20 { gap: 80px !important; }


.page-hero .reveal, .service-hero .reveal, .home-hero .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.relative { position: relative !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }

.section-pad {
  padding: var(--section-pad) 0;
  scroll-margin-top: 110px;
}

.section-pad-sm {
  padding: var(--section-pad-sm) 0;
  scroll-margin-top: 110px;
}

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

/* ─── COLOR SECTIONS ──────────────────────────────────────── */
.section-dark {
  background: var(--navy);
  color: var(--soft-white);
  position: relative;
  overflow: hidden;
}

/* Mesh Backgrounds */
.mesh-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--navy);
  background-image: 
    radial-gradient(at 0% 0%, hsla(220,100%,15%,1) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(38,50%,40%,0.15) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(220,100%,10%,1) 0, transparent 50%),
    radial-gradient(at 100% 100%, hsla(38,50%,30%,0.2) 0, transparent 50%),
    radial-gradient(at 0% 100%, hsla(220,100%,5%,1) 0, transparent 50%);
  z-index: 1;
}

.section-dark p { color: rgba(255,255,255,0.7); }
.section-dark h2, .section-dark h3 { color: var(--soft-white); }

.section-charcoal {
  background: var(--charcoal);
  color: var(--soft-white);
}

.section-light {
  background: var(--soft-white);
  color: var(--text-dark);
}

.section-white {
  background: var(--white);
  color: var(--text-dark);
}

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 15px; 
  left: 50%; 
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px; /* Modern rounded edges */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(13, 22, 48, 0.12); /* Enhanced premium shadow */
}

.site-header.scrolled {
  top: 10px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px; 
  padding: 0 40px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .header-inner {
  height: 58px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
  transition: transform var(--transition-fast);
}

.site-logo:hover {
  transform: translateY(-1px);
}

.site-logo img {
  height: 45px; 
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .site-logo img { height: 38px; }
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 16px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-accent);
  padding: 10px 18px;
  border-radius: 40px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.03em;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(198, 166, 107, 0.08); /* Sophisticated gold tint */
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #ffffff; /* Light theme dropdown */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 24px;
  min-width: 1100px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-col-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  padding-bottom: 8px;
}

.dropdown-menu a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-mid); /* Darker text for white background */
  padding: 6px 0;
  transition: all 0.2s ease;
  line-height: 1.4;
  margin-bottom: 4px;
}

/* ─── BURGER BUTTON ───────────────────────────────────────── */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
  margin-left: 20px;
}

.burger-btn span {
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(10, 17, 40, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
  padding: 40px;
}

.mobile-link {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

@media (max-width: 1024px) {
  .site-header { width: 92%; top: 15px; }
  .header-inner { height: 62px; padding: 0 24px; }
  .nav-links, .btn-header, .nav-dropdown .dropdown-menu {
    display: none !important;
  }
  .burger-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .site-header { width: 90%; top: 10px; }
  .header-inner { height: 54px; padding: 0 16px; }
  .site-logo img { max-height: 28px !important; width: auto !important; }
}

.dropdown-menu a:hover {
  color: var(--gold); /* Change from white to gold for visibility */
  padding-left: 6px;
}
.dropdown-col-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 14px 4px;
  margin-top: 4px;
}

.dropdown-col-label:first-child { margin-top: 0; }

/* Header CTA */
.btn-header {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-header:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.burger-btn:hover { background: rgba(255,255,255,0.06); }
.burger-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--navy-deep);
  overflow-y: auto;
  padding: 32px 24px 48px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open { display: flex; }

.mobile-menu .mobile-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-menu .mobile-link:hover { color: var(--gold); }

.mobile-menu-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 20px 0 8px;
}

.mobile-menu .mobile-sub-link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.08);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-menu .mobile-sub-link:hover { color: var(--gold); }

.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(13, 22, 48, 0.2);
}

.page-hero .btn-primary,
.svc-hero .btn-primary,
.services-hero .btn-primary {
  color: var(--navy);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.7s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold), 0 0 20px rgba(198, 166, 107, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(198, 166, 107, 0.15);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-wa:hover {
  background: #1EBE58;
  border-color: #1EBE58;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cta-section .btn-group,
.service-cta .btn-group,
.service-hero .btn-group,
.section-header.centered .btn-group {
  justify-content: center;
}

/* ─── HERO ────────────────────────────────────────────────── */
.page-hero {
  --gold: var(--white);
  padding: 180px 0 100px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Specific heroes for About, Contact and Services */
.svc-hero, .services-hero {
  --gold: var(--white);
  padding: 180px 0 100px !important;
  position: relative;
  overflow: hidden;
}

/* Global fix for sections that start a page */
main > section:first-of-type.section-pad {
  padding-top: 180px !important;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(198,166,107,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border-dark);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}


.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(247,245,240,0.78);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-micro {
  font-size: 0.8rem;
  color: rgba(247,245,240,0.45);
  margin-top: 20px;
  font-weight: 400;
}

/* Home Hero (larger) */
.home-hero {
  padding: 180px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Increased for better presence */
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 17, 40, 0.5) 0%,
    rgba(10, 17, 40, 0.8) 100%
  );
  z-index: 2;
}

.home-hero .mesh-bg {
  z-index: 3;
  pointer-events: none;
}

.home-hero .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* Reduced from 5.2rem */
  letter-spacing: 0.03em;
}

/* ─── SECTION HEADERS ─────────────────────────────────────── */
.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .eyebrow {
  margin-bottom: 16px;
  display: block;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 580px;
}

.section-header.centered p {
  margin: 0 auto;
}

/* ─── DIVIDER ─────────────────────────────────────────────── */
.gold-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

/* ─── ENGAGEMENT MODEL SECTION ─── */
.engagement-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #fcfbf9);
}

.engagement-accent-line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 24px;
    border-radius: 2px;
}

.engagement-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 48px;
    box-shadow: 0 30px 60px rgba(13, 22, 48, 0.06);
    border: 1px solid rgba(13, 22, 48, 0.04);
    position: relative;
    z-index: 2;
    transition: transform var(--transition);
}

.engagement-card:hover {
    transform: translateY(-5px);
}

.engagement-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: var(--gold);
    border-radius: 0 4px 4px 0;
}

.engagement-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.engagement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.engagement-item:hover {
    background: rgba(255, 49, 49, 0.04);
    transform: translateX(8px);
}

.engagement-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-top: 3px;
}

.engagement-text {
    font-weight: 500;
    color: var(--navy-accent);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .engagement-card {
        padding: 32px 24px;
    }
}

/* ─── SERVICE MATRIX SECTION ─── */
.service-matrix-section {
    background: #fcfbf9;
}

.matrix-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    border: 1px solid rgba(13, 22, 48, 0.05);
    transition: all var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 22, 48, 0.02);
}

.matrix-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(13, 22, 48, 0.08);
    border-color: var(--gold);
}

.matrix-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 49, 49, 0.08);
    color: var(--gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 24px;
    transition: all var(--transition-fast);
}

.matrix-card:hover .matrix-icon-wrapper {
    background: var(--gold);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(255, 49, 49, 0.2);
}

.matrix-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.matrix-card h3 {
    font-size: 1.35rem;
    margin-bottom: 28px;
    color: var(--navy);
    line-height: 1.3;
    font-family: var(--ff-heading);
}

.matrix-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    width: 100%;
    align-items: center;
}

.matrix-link {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-mid);
    padding: 10px 0;
    border-bottom: 1px solid rgba(13, 22, 48, 0.03);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.matrix-link:hover {
    color: var(--gold);
    padding-left: 6px;
    border-bottom-color: var(--gold);
}

.matrix-link i {
    font-size: 0.7rem;
    opacity: 0.3;
    transition: all var(--transition-fast);
}

.matrix-link:hover i {
    opacity: 1;
    transform: translateX(4px);
}

/* ─── THE MRZ METHOD SECTION ─── */
.method-card {
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.method-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.method-number {
    font-family: var(--ff-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.4;
    position: relative;
    margin-bottom: 20px;
    line-height: 1;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 2;
}

.method-card:hover .method-number {
    opacity: 0.8;
    transform: scale(1.1);
}

.method-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.method-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 49, 49, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.method-card:hover::before {
    opacity: 1;
}

.why-it-works-box {
    margin-top: 80px;
    padding: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 49, 49, 0.2);
    border-radius: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.why-it-works-box h3 {
    color: var(--gold);
    margin-bottom: 12px;
}

.why-it-works-box p {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ─── STRATEGIC VALUE SECTION ─── */
.value-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid rgba(13, 22, 48, 0.04);
    box-shadow: 0 10px 30px rgba(13, 22, 48, 0.03);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 49, 49, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(13, 22, 48, 0.08);
    border-color: rgba(255, 49, 49, 0.2);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon-box {
    width: 60px;
    height: 60px;
    background: var(--soft-white);
    color: var(--gold);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 28px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 0 0 1px rgba(255, 49, 49, 0.1);
}

.value-card:hover .value-icon-box {
    background: var(--gold);
    color: #ffffff;
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 10px 20px rgba(255, 49, 49, 0.2);
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-mid);
}

/* ─── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.3);
}

.card-dark {
  background: var(--navy-accent);
  border-color: var(--border-dark);
  color: var(--soft-white);
}

.card-dark p { color: rgba(247,245,240,0.7); }
.card-dark:hover { border-color: rgba(198,166,107,0.4); }

.card-number {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}

/* ─── SERVICE GRID ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  background: transparent;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.section-dark .service-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(198, 166, 107, 0.15);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow-inner);
  border-color: var(--gold);
}

.service-card:hover p { color: rgba(247,245,240,0.7); }

.service-card:hover .service-arrow {
  color: var(--gold);
  transform: translateX(6px);
}

.service-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--ff-heading);
  line-height: 1.3;
  color: inherit;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.service-arrow {
  font-size: 1rem;
  color: var(--gold);
  transition: all var(--transition-fast);
  align-self: flex-end;
}

/* ─── THREE PILLARS ───────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  padding: 60px 48px;
  border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--transition);
}

.pillar:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--gold);
  transform: translateY(-8px);
}

.pillar-number {
  font-family: var(--ff-heading);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(198,166,107,0.1);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 32px;
}

.pillar h3 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.pillar p { color: rgba(247,245,240,0.8); font-size: 1rem; line-height: 1.7; }

/* ─── WHO WE WORK WITH ────────────────────────────────────── */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.profile-card {
  padding: 48px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.profile-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-10px);
  border-color: var(--gold);
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  opacity: 0.6;
}

.profile-icon {
  width: 56px;
  height: 56px;
  background: var(--soft-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--gold);
  transition: all var(--transition-fast);
}

.profile-card:hover .profile-icon {
  background: var(--navy);
  border-color: var(--gold);
  transform: scale(1.1) rotate(5deg);
}

/* ─── WHY MRZ GRID ────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.why-item {
  background: var(--soft-white);
  padding: 36px 28px;
  transition: background var(--transition);
}

.why-item:hover { background: var(--white); }

.why-number {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
  line-height: 1;
}

.why-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; color: var(--navy); }
.why-item p { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); }

/* ─── SELECTED WORK V3 (Scrolling Mockups) ───────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .work-grid { grid-template-columns: 1fr; }
}

.work-card-v3 {
  background: #151d38;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.work-card-v3:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.work-viewport {
  width: 100%;
  height: 280px; /* Viewport height */
  overflow: hidden;
  position: relative;
  background: #0a1128;
  border-bottom: 2px solid rgba(198, 166, 107, 0.1);
}

/* Browser Dots Mockup */
.work-viewport::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 15px;
  width: 8px;
  height: 8px;
  background: #ff5f56;
  border-radius: 50%;
  box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f;
  z-index: 10; /* Ensure dots are on top */
}

/* live-preview logic */
.iframe-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 5s ease-in-out;
  transform-origin: top center;
}

.live-preview {
  width: 1280px; /* Standard desktop width for render */
  height: 2000px; /* Render a long part of the page */
  border: none;
  transform: scale(0.3); /* Scale down 1280px to fit ~384px card */
  transform-origin: 0 0;
  pointer-events: none; /* Clicking the card works, not the iframe */
}

/* Hover to scroll the LIVE site */
.work-card-v3:hover .iframe-wrapper {
  transform: translateY(-200px); /* Adjust based on preference */
}

.work-meta-v3 {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 17, 40, 0.8);
  backdrop-filter: blur(10px);
}

.meta-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.work-cat-v3 {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.9;
}

.work-title-v3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.meta-right {
  width: 40px;
  height: 40px;
  background: rgba(198, 166, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s ease;
}

.work-card-v3:hover .meta-right {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}

/* ─── RESOURCES SECTION ───────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resource-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.3);
}

.resource-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
}

.resource-card h3 { font-size: 1.1rem; }
.resource-card p { font-size: 0.9rem; flex: 1; }

/* ─── STATS / HIGHLIGHTS ──────────────────────────────────── */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  gap: 24px;
}

.stat-item { text-align: center; flex: 1; }

.stat-value {
  font-family: var(--ff-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(247,245,240,0.65);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-dark);
  flex-shrink: 0;
}

/* ─── CATEGORY EXPANDED INFO ────────────────────────────────── */
.category-expanded-info {
  background: #F8FAFC;
  border-left: 5px solid var(--navy); /* Changed to brand navy blue */
  border-radius: 8px 24px 24px 8px;
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: inset 0 0 20px rgba(13, 22, 48, 0.02);
  transition: all var(--transition);
}

.category-expanded-info:hover {
  transform: translateX(8px);
  border-left-width: 8px;
  background: #F1F5F9;
}

.category-expanded-info p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .category-expanded-info {
    padding: 30px 24px;
    margin-bottom: 40px;
    border-radius: 4px 16px 16px 4px;
  }
  
  .category-expanded-info:hover {
    transform: none;
  }
}

/* ─── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(247,245,240,0.72);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.cta-contact-line {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(247,245,240,0.45);
}

.cta-contact-line a { color: var(--gold); text-decoration: none; }
.cta-contact-line a:hover { text-decoration: underline; }

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: var(--soft-white);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1); /* Optional: white version for dark footer if needed, or keep original */
}

.footer-summary {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(247,245,240,0.6);
  margin-bottom: 24px;
}

.footer-contact-line {
  font-size: 0.85rem;
  color: rgba(247,245,240,0.55);
  line-height: 1.8;
}

.footer-contact-line a {
  color: var(--soft-white);
  text-decoration: none;
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.footer-contact-line a:hover { 
  color: var(--white);
  opacity: 1;
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--ff-body);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 0.88rem;
  color: rgba(247,245,240,0.62);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.4;
}

.footer-link:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(198,166,107,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247,245,240,0.55);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 160, 89, 0.08);
}

.footer-disclaimer {
  margin-bottom: 24px;
  padding: 0 16px;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.7rem;
  color: rgba(247, 245, 240, 0.5);
  line-height: 1.6;
  margin: 0;
  max-width: 900px;
  margin: 0 auto;
}

.footer-disclaimer strong {
  color: rgba(247, 245, 240, 0.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 32px 0;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.45);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(247, 245, 240, 0.4);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--gold);
}

/* ─── WHATSAPP FLOAT ───────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9000;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ─── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(247,245,240,0.45);
  margin-bottom: 24px;
}

.breadcrumb a { color: rgba(247,245,240,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.35; }

/* ─── FORMS ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-label .required { color: #C85C5C; margin-left: 3px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.form-textarea { min-height: 140px; resize: vertical; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2368707C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--gold);
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ─── FAQ ACCORDION ────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-list {
  max-width: 900px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.faq-item.open {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  width: 100%;
  text-align: left; /* Back to left for better readability in cards */
}

.faq-item.open .faq-question {
  color: var(--gold);
  background: rgba(13, 22, 48, 0.02);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--white);
}

.faq-item.open .faq-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 32px 32px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  text-align: left;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Dark FAQ Overrides */
.svc-section-dark .faq-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.svc-section-dark .faq-question {
  color: var(--white);
}

.svc-section-dark .faq-icon {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.svc-section-dark .faq-answer {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── CONTACT BLOCKS ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  border-color: rgba(197, 160, 89, 0.3);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--soft-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.5;
}

.contact-card a:hover { color: var(--gold); }

/* ─── LEGAL PAGE ────────────────────────────────────────────── */
.legal-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.legal-anchor {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.legal-anchor:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--soft-white);
}

.legal-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type { border-bottom: none; }

.legal-section h2 { margin-bottom: 24px; font-size: 1.8rem; }
.legal-section h3 { font-size: 1.1rem; margin: 28px 0 10px; font-family: var(--ff-body); }
.legal-section p { margin-bottom: 16px; }
.legal-section ul { margin: 12px 0 16px 20px; }
.legal-section ul li { list-style: disc; font-size: 0.92rem; color: var(--text-mid); margin-bottom: 6px; line-height: 1.65; }

/* ─── ABOUT PAGE ────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-item {
  padding: 28px 24px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}

.value-item h4 {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--ff-body);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.value-item p { font-size: 0.9rem; color: rgba(247,245,240,0.65); }

/* ─── RESOURCES PAGE ────────────────────────────────────────── */
.resource-full-card {
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  margin-bottom: 24px;
}

.resource-full-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(197, 160, 89, 0.3);
  transform: translateY(-2px);
}

.resource-icon-lg {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.resource-full-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.resource-full-card p { margin-bottom: 16px; }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.staggered-container {
  overflow: visible;
}

.staggered-container .reveal {
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ─── UTILITIES ─────────────────────────────────────────────── */
.text-gold       { color: var(--gold); }
.text-white      { color: var(--white); }
.text-muted      { color: var(--text-muted); }
.text-navy       { color: var(--navy); }
.text-center     { text-align: center; }
.text-right      { text-align: right; }

.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-3       { gap: 12px; }
.gap-4       { gap: 16px; }
.gap-6       { gap: 24px; }

.w-full { width: 100%; }
.hidden { display: none; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 900px) {
  :root { --section-pad: 72px; --section-pad-sm: 48px; }

  .nav-links, .btn-header { display: none; }
  .burger-btn { display: flex; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .pillar:last-child { border-bottom: none; }

  .profiles-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .resource-full-card { grid-template-columns: 1fr; }
  .resource-icon-lg { width: 56px; height: 56px; font-size: 1.6rem; }

  .footer-bottom { flex-direction: column; }
  .footer-compliance { text-align: left; }

  .stats-row { flex-direction: column; gap: 32px; }
  .stat-divider { width: 40px; height: 1px; }

  .services-grid { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── HERO & VIDEO ────────────────────────────────────────── */
.home-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  padding-top: 180px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 17, 40, 0.4) 0%,
    rgba(10, 17, 40, 0.7) 50%,
    rgba(10, 17, 40, 0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 100 !important;
  max-width: 850px;
  padding-top: 0; /* Removed extra padding */
  text-align: left;
  margin: 0 auto;
}

.hero-z-fix {
  position: relative;
  z-index: 100 !important;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px; /* Reduced */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height:1.1;
  color: var(--white);
  margin-bottom: 32px;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 48px;
  max-width: 700px;
}

.hero-micro {
  margin-top: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.btn-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 900px) {
  :root { --section-pad: 72px; --section-pad-sm: 48px; }

  .nav-links, .header-actions .btn-primary { display: none !important; }
  .burger-btn { display: flex; }

  .site-header {
    top: 15px; /* Floating style restored */
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .header-inner {
    height: 60px;
    padding: 0 15px;
  }

  .home-hero {
    padding-top: 150px !important; /* Increased to accommodate floating header */
    padding-bottom: 60px !important;
    min-height: auto;
  }

  .hero-content {
    padding-top: 0 !important;
    text-align: left;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .logo-name { font-size: 0.9rem; }
  .logo-sub { font-size: 0.55rem; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .pillar:last-child { border-bottom: none; }

  .profiles-grid { 
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 20px 0;
  }

  .profile-card {
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .resource-full-card { grid-template-columns: 1fr; }
  .resource-icon-lg { width: 56px; height: 56px; font-size: 1.6rem; }

  .footer-bottom { flex-direction: column; }
  .footer-compliance { text-align: left; }

  .stats-row { flex-direction: column; gap: 32px; }
  .stat-divider { width: 40px; height: 1px; }

  .services-grid { 
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .service-card {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 49, 49, 0.1);
  }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 56px; --section-pad-sm: 40px; }

  .header-inner { padding: 0 12px; height: 56px; }
  .hero-title { font-size: 1.75rem; line-height: 1.2; }
  .display-xl { font-size: 1.8rem; }
  
  .home-hero {
    padding-top: 120px !important;
    padding-bottom: 40px !important;
  }

  .hero-subtitle { font-size: 1rem !important; margin-bottom: 20px !important; }
  .hero-supporting-text { display: none; } /* Hide long text on small phones for cleanliness */
  
  .btn-group { gap: 10px; }
  .btn-group .btn { padding: 12px 20px; font-size: 0.9rem; }

  .btn-group { flex-direction: column; width: 100%; }
  .btn-group .btn { width: 100%; text-align: center; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { margin-top: 8px; }

  .why-grid { grid-template-columns: 1fr; }

  .legal-nav { flex-direction: column; }
  .legal-anchor { text-align: center; }
  
  .whatsapp-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }

  .service-card { padding: 24px 20px; }
  .pillar { padding: 36px 24px; }
}

.mesh-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--navy);
  background-image: 
    radial-gradient(at 0% 0%, rgba(198,166,107,0.06) 0, transparent 50%), 
    radial-gradient(at 50% 0%, rgba(13,22,48,1) 0, transparent 50%), 
    radial-gradient(at 100% 0%, rgba(198,166,107,0.06) 0, transparent 50%), 
    radial-gradient(at 50% 50%, rgba(13,22,48,0.8) 0, transparent 50%),
    radial-gradient(at 0% 100%, rgba(198,166,107,0.04) 0, transparent 50%), 
    radial-gradient(at 100% 100%, rgba(198,166,107,0.04) 0, transparent 50%);
  background-size: 200% 200%;
  animation: mesh-move 15s ease infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes mesh-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Stats section modern styling */
.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 0;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-value {
  font-family: var(--ff-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height:1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-dark);
}

  .whatsapp-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }

  .service-card { padding: 24px 20px; }
  .pillar { padding: 36px 24px; }
}

/* ─── SERVICES MATRIX PAGE ────────────────────────────────── */
.services-grid-section {
  padding: 100px 0;
  background: var(--soft-white);
}

.service-category-group {
  margin-bottom: 80px;
}

.service-category-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.service-category-title {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.service-category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.services-page .service-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.service-number {
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(198, 166, 107, 0.3);
  margin-bottom: 16px;
}

.service-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.services-page .service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

.arrow-icon {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.services-page .service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.services-page .service-card:hover .arrow-icon {
  transform: translateX(8px);
}

/* ─── PAGE HERO RESPONSIVE ────────────────────────────────── */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 180px 0 100px;
}

@media (max-width: 900px) {
  .page-hero, .svc-hero, .services-hero, main > section:first-of-type.section-pad { 
    padding-top: 150px !important; 
    padding-bottom: 60px !important; 
    min-height: auto !important; 
  }
  .page-hero h1 { font-size: clamp(2rem, 7vw, 3.5rem) !important; }
}

@media (max-width: 640px) {
  .page-hero, .svc-hero, .services-hero, main > section:first-of-type.section-pad { 
    padding-top: 170px !important; 
    padding-bottom: 80px !important; 
    text-align: center;
  }
  .display-xl { font-size: 2.4rem !important; }
  .display-lg { font-size: 2.1rem !important; }
  .display-md { font-size: 1.8rem !important; }
  
  .page-hero h1 { font-size: 2.4rem !important; line-height: 1.1; }
  .page-hero .hero-ctas {
    flex-direction: column;
    width: 100%;
    margin-top: 40px !important;
    gap: 15px !important;
    padding: 0 20px;
  }
  .page-hero .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 24px !important;
  }
}

@media (max-width: 1100px) {
  .service-grid { 
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  .services-page .service-card {
    padding: 24px;
  }
  .service-category-title { font-size: 1.8rem; }
  .services-grid-section { padding: 60px 0; }

  .grid-2, .grid-3, .grid-4 { 
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* Newsletter Mobile Fix */
@media (max-width: 640px) {
  .section-dark form {
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 15px !important;
  }
  
  .section-dark form input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 40px !important;
    padding: 16px 24px !important;
    width: 100% !important;
  }
  
  .section-dark form button {
    width: 100% !important;
  }
}

/* ─── ABOUT PAGE SPECIALS ────────────────────────────────── */
.about-page .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-page .stat-item {
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition-fast);
}

.about-page .stat-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .about-page .grid-2 { gap: 40px !important; }
}

/* ─── ABOUT PAGE UTILITIES ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  
  .about-page .stats-grid { 
    grid-template-columns: 1fr !important; 
    gap: 16px !important;
  }
  
  .about-page .stat-item {
    padding: 24px !important;
    text-align: center;
  }

  .about-quote-box {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin: -30px 15px 0 !important;
    max-width: none !important;
    padding: 24px !important;
    text-align: left !important;
    border-radius: 16px !important;
    font-size: 0.9rem !important;
  }
}

.about-quote-box {
  position: absolute;
  bottom: 60px;
  left: -20px;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 20px;
  border-left: 5px solid var(--gold);
  color: #FFFFFF;
  max-width: 280px;
  box-shadow: var(--shadow-lg);
  z-index: 20;
}

.contact-form-card {
  background: white;
  padding: 56px;
  border-radius: 32px;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 32px 24px;
    border-radius: 24px;
  }
}

/* ─── EXPERIENCE SECTION (PROVEN EXPERTISE) ────────────────── */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.experience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gold);
  transition: height var(--transition);
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 49, 49, 0.1);
}

.experience-card:hover::before {
  height: 100%;
}

.exp-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--soft-white);
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition);
}

.experience-card:hover .exp-icon {
  background: var(--gold);
  color: var(--white);
  transform: rotateY(180deg);
}

.exp-content h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.exp-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.exp-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.exp-list li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--gold);
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ─── PREMIUM FORMS ────────────────────────────────────────── */
.premium-form .field {
  margin-bottom: 20px;
}

.premium-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.premium-form input, 
.premium-form select, 
.premium-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--soft-white);
  color: var(--navy);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.premium-form input:focus, 
.premium-form select:focus, 
.premium-form textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 49, 49, 0.05);
}

.premium-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2312284C' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C2.185 5.355 2.41 4.856 2.812 4.856h9.717c.41 0 .635.499.37.802l-4.796 5.482a.503.503 0 0 1-.756 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .experience-card {
    flex-direction: column;
    padding: 30px;
    gap: 20px;
  }
  .exp-list {
    grid-template-columns: 1fr;
  }
  
  /* Tool card buttons mobile fix */
  .grid-2 .btn, .grid-3 .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ─── COOKIE BANNER ────────────────────────────────────────── */
.mrz-cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(18, 40, 76, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  padding: 16px 28px;
  z-index: 10001;
  display: none; /* Controlled by JS */
  align-items: center;
  gap: 32px;
  width: calc(100% - 40px);
  max-width: 600px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.mrz-cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.5;
  font-weight: 500;
}

.mrz-cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
}

.mrz-cookie-banner .btn-accept {
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(18, 40, 76, 0.15);
}

.mrz-cookie-banner .btn-accept:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}

@media (max-width: 640px) {
  .mrz-cookie-banner {
    bottom: 15px;
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    border-radius: 16px;
  }
  .mrz-cookie-banner p { 
    font-size: 0.8rem; 
    line-height: 1.4;
  }
  .mrz-cookie-banner .btn-accept { 
    width: 100%; 
    padding: 8px 20px;
    font-size: 0.8rem;
  }
}


