/* =========================================================================
   AL ASR CONSULTING — ELITE DESIGN SYSTEM v5
   Dot deflection canvas, dock nav, glass UI, scroll-away logo
   ========================================================================= */

:root {
  --page-canvas: #FFFFFF;
  --page-dot: rgba(26, 26, 26, 0.22);
  --page-dot-spacing: 34px;
  --primary: #FF0000;
  --primary-light: #FF2A2A;
  --accent: #FF0000;
  --support-blue: #60A5FA;
  --secondary: #5E4932;
  --dark: #111111;
  --text-body: #242424;
  --text-muted: #3F3F3F;
  --bg-light: var(--page-canvas);
  --bg-platinum: var(--page-canvas);
  --surface: #FFFFFF;
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-h1: clamp(2.8rem, 5vw + 1rem, 4.5rem);
  --text-h2: clamp(2rem, 3vw + 0.8rem, 3rem);
  --text-h3: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'DM Sans', 'Inter', sans-serif;
  --border-radius: 20px;
  --container-pad: max(1.5rem, 4vw);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 60px -15px rgba(0,0,0,0.15);
  --glass-blur: blur(20px) saturate(180%);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   RESET
   ========================================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  background-color: var(--page-canvas) !important;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--text-body);
  position: relative;
  isolation: isolate;
  background: transparent !important;
  line-height: 1.7;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  padding-bottom: 90px;
  animation: pageFadeIn 0.35s ease forwards;
}

/* Keep the dotted page canvas anchored to the viewport while page content
   scrolls above it. A fixed layer also works reliably on mobile browsers. */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background-color: var(--page-canvas);
  background-image: radial-gradient(circle, var(--page-dot) 1px, transparent 1.15px);
  background-size: var(--page-dot-spacing) var(--page-dot-spacing);
  background-position: 0 0;
  pointer-events: none;
}

/* The site uses one uninterrupted page canvas; cards and deliberate dark
   feature panels remain separate content surfaces. */
.page-header,
.services-bento,
.hiw-section,
.testimonials-v2,
.trust-section {
  background-color: transparent !important;
  background-image: none !important;
}

/* Let the white dotted page canvas remain visible through the principal
   content bands while preserving cards, imagery and deliberate dark panels. */
.split-hero,
.split-hero .split-bg,
.split-hero .split-bg .bg-left,
.split-hero .split-bg .bg-right,
.countries-section,
body > section.section:not(.difference-section):not(.section-dark-card) {
  background-color: transparent !important;
  background-image: none !important;
}

/* The former dark audit-area strip now sits on the dotted canvas, so its
   headings, descriptions and card labels use the same dark text system. */
.countries-section .section-header h2,
.countries-section .section-header p,
.countries-section .tagline,
.country-card-v2 h4 {
  color: var(--dark) !important;
}

.country-card-v2 {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(17, 17, 17, 0.12) !important;
}

/* Decorative paper scenes are removed from backgrounds. Foreground project
   photographs such as the homepage, About and service images remain. */
.subpage-bg-art,
.testimonial-bg-art,
.trust-bg-art,
.cta-bg-art {
  display: none !important;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.pt-0 { padding-top: 0 !important; }

/* =========================================================================
   HOMEPAGE TOP BAR — Scrolls with page (NOT fixed)
   ========================================================================= */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
}
.top-bar-inner, .subpage-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 1rem;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  position: relative;
}
.logo img {
  height: clamp(55px, 7vw, 75px);
  width: auto;
  border-radius: 0;
  transition: transform 0.3s ease;
  mix-blend-mode: multiply;
}
.logo:hover img { transform: scale(1.03); }

/* Render the prepared brand artwork directly so the red GR mark is reliable. */
img[src$="grsafi-care-solutions-logo.png"] {
  content: url('../img/grsafi-care-solutions-logo-red.png');
  filter: none;
  opacity: 1;
}

.logo-icon,
.page-brand {
  position: relative;
}

/* Reverse the complete footer logo to white against the black footer. */
.footer-about img[src$="grsafi-care-solutions-logo.png"] {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* =========================================================================
   SUBPAGE TOP BAR — Fixed/Sticky with icon-only logo + centered heading
   ========================================================================= */
.subpage-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.subpage-bar.scrolled {
  padding: 0.5rem 0;
}
.subpage-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
/* Icon-only logo pinned left */
.subpage-bar .logo-icon img {
  height: 52px;
  width: auto;
  border-radius: 0;
  flex-shrink: 0;
}

/* Compact search bar for subpages (Right-aligned) */
.subpage-search-glass {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 320px;
  width: 100%;
  margin-left: auto; 
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 4px 6px 4px 16px;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.3), 0 4px 20px rgba(0,0,0,0.08);
  z-index: 10;
}
.subpage-search-glass .search-icon {
  color: rgba(0,0,0,0.5);
  font-size: 0.95rem;
  margin-right: 10px;
}
.subpage-search-glass input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--dark);
  outline: none;
  min-width: 0;
}
.subpage-search-glass input::placeholder {
  color: rgba(0,0,0,0.4);
}
.subpage-search-glass .search-btn {
  background: rgba(0,0,0,0.08);
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 6px;
  white-space: nowrap;
}
.subpage-search-glass .search-btn:hover {
  background: rgba(0,0,0,0.15);
}

.header-socials {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-socials .social-btn {
  width: 42px;
  height: 42px;
}
.btn-get-in-touch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.78rem;
  color: white;
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* =========================================================================
   BOTTOM DOCK NAV
   ========================================================================= */
.dock-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-1 * var(--footer-offset, 0px)));
  z-index: 1000;
  transition: transform 0.1s linear, opacity 0.3s ease, visibility 0.3s ease;
  opacity: 1;
  visibility: visible;
}
@media (min-width: 993px) {
  .dock-nav.dock-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(calc(-1 * var(--footer-offset, 0px) + 20px)) !important;
  }
}

@media (min-width: 993px) and (max-width: 1279px) {
  .subpage-search-glass { display: none !important; }
}

.nav-links {
  position: relative;
  display: flex;
  gap: 2px;
  align-items: center;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  padding: 5px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-body);
  padding: 8px 16px;
  border-radius: 50px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
  display: block;
  z-index: 2;
  white-space: nowrap;
}

.nav-link:hover:not(.active) {
  background: rgba(0,0,0,0.04);
  color: var(--dark);
}

.nav-link.active {
  color: #ffffff;
  background: transparent;
}

.nav-slider {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  background: var(--primary);
  border-radius: 50px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

@view-transition { navigation: auto; }

/* =========================================================================
   BUTTONS (Glass)
   ========================================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  background: rgba(255, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  color: white;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: rgba(255, 0, 0, 1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.28);
  color: white;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--dark);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 0 4px 16px rgba(0,0,0,0.06);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.5), 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================= */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
}
.section-header h2 { font-size: var(--text-h2); margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); line-height: 1.8; }

.tagline {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* =========================================================================
   CARDS (Glass)
   ========================================================================= */
.fluid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.service-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.5);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--dark) 0%, #3A3A3A 100%);
  z-index: -1;
  opacity: 0;
  transform: scale(0.96);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  color: white;
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; transform: scale(1); }
.service-card:hover .service-icon { background: rgba(255,255,255,0.12); color: var(--secondary); }
.service-card:hover h3, .service-card:hover p { color: white; }
.service-card h3 { font-size: var(--text-h3); margin-bottom: 0.75rem; }

.service-icon {
  width: 60px; height: 60px;
  background: var(--bg-platinum);
  color: var(--primary);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes papercraftPan {
  0% { transform: scale(1.05) translate(0, 0); }
  50% { transform: scale(1.05) translate(-1.5%, 1%); }
  100% { transform: scale(1.05) translate(0, 0); }
}
@keyframes papercraftFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}
.papercraft-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.25;
  mix-blend-mode: multiply;
  animation: papercraftPan 30s ease-in-out infinite;
  pointer-events: none;
}
.papercraft-fg {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: papercraftFloat 8s ease-in-out infinite;
  object-fit: cover;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  background: #000000;
  color: rgba(255,255,255,0.55);
  padding: 5rem 0 2rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 4rem;
  margin-bottom: -90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-about img { filter: brightness(0) invert(1); margin-bottom: 1.25rem; border-radius: 0; }
.footer-heading { color: white; font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { transition: var(--transition); font-size: 0.9rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
}
footer .fa-solid {
  color: #ffffff !important;
}

/* =========================================================================
   HAMBURGER TOGGLE BUTTON (hidden on desktop)
   ========================================================================= */
.hamburger-btn {
  display: none; /* hidden on desktop */
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-1 * var(--footer-offset, 0px)));
  height: 48px;
  padding: 0 20px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: background 0.3s ease, color 0.3s ease, transform 0.1s linear;
  z-index: 1100;
}
.hamburger-btn span { margin-top: 1px; }
.hamburger-btn .fa-xmark { display: none; }
.hamburger-btn.active .fa-bars { display: none; }
.hamburger-btn.active .fa-xmark { display: inline-block; }
.hamburger-btn.active {
  background: rgba(255,255,255,0.9);
  color: var(--primary);
}

/* =========================================================================
   MOBILE SEARCH ICON BUTTON (hidden on desktop)
   ========================================================================= */
.mobile-search-btn {
  display: none; /* hidden on desktop */
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  z-index: 1001;
  position: fixed;
  top: 16px;
  right: 16px;
}
.mobile-search-btn:hover {
  background: rgba(255,255,255,0.85);
}

/* =========================================================================
   MOBILE SEARCH OVERLAY (hidden on desktop)
   ========================================================================= */
.mobile-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 1rem 1rem;
}
.mobile-search-overlay.active {
  display: flex;
}
.mobile-search-overlay .mobile-search-container {
  width: 100%;
  max-width: 500px;
  position: relative;
}
.mobile-search-overlay .mobile-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.mobile-search-overlay .mobile-search-bar .search-icon {
  color: rgba(0,0,0,0.5);
  font-size: 1.1rem;
  margin-right: 12px;
}
.mobile-search-overlay .mobile-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--dark);
  outline: none;
  min-width: 0;
}
.mobile-search-overlay .mobile-search-bar input::placeholder {
  color: rgba(0,0,0,0.4);
}
.mobile-search-overlay .mobile-search-bar .search-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  color: var(--dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: all 0.2s ease;
}
.mobile-search-overlay .mobile-search-bar .search-close-btn:hover {
  background: rgba(0,0,0,0.15);
}

/* =========================================================================
   MOBILE MENU BACKDROP (no glitch)
   ========================================================================= */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
}
.mobile-menu-backdrop.active {
  display: block;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
/* Force-hide mobile elements on desktop (safety net) */
@media (min-width: 993px) {
  .hamburger-btn { display: none !important; }
  .mobile-search-btn { display: none !important; }
  .mobile-search-overlay { display: none !important; }
  .mobile-menu-backdrop { display: none !important; }
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-split { grid-template-columns: 1fr; gap: 3rem; }
  .service-split:nth-child(even) { direction: ltr; }

  /* === TABLET+PHONE: Hamburger nav === */
  .hamburger-btn { display: flex; }
  .mobile-search-btn { display: flex; }

  /* Hide social icons on tablet/phone */
  .header-socials { display: none !important; }

  /* Let buttons free on mobile/tablet (ignore footer offset) */
  .hamburger-btn, .scroll-to-top { 
    bottom: 16px !important; 
    height: 44px !important;
  }
  .hamburger-btn { transform: translateX(-50%) translateY(0) !important; }
  .scroll-to-top { left: 24px; transform: translateY(0) !important; }
  .scroll-to-top.visible { transform: translateY(0) !important; }
  .dock-nav { transform: translateX(-50%) translateY(0) !important; }

  /* Hide the full search bar on homepage top bar */
  .header-search-glass { display: none !important; }

  /* Hide the subpage search bar */
  .subpage-search-glass { display: none !important; }

  /* Dock nav becomes hamburger menu — NO fade, instant toggle */
  .dock-nav {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(-1 * var(--footer-offset, 0px)));
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: none;
  }
  .dock-nav.mobile-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
  }
  .dock-nav .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 20px;
    min-width: 220px;
    overflow: visible;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
  }
  .dock-nav .nav-link {
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    width: 100%;
    color: var(--dark);
    transition: all 0.2s ease;
  }
  .dock-nav .nav-link.active {
    background: rgba(255, 0, 0, 0.08);
    color: var(--primary);
  }
  .dock-nav .nav-slider { display: none; }

  /* Page header adjustments */
  .page-header { padding: 7rem 0 3rem; }
  .page-header h1 { font-size: clamp(2rem, 8vw, 3rem); }

  /* About page grid */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { position: relative; bottom: auto; right: auto; margin-top: 1.5rem; }
  .about-image { border-radius: 24px; }

  /* Contact cards */
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem; }

  /* Partner grid */
  .partner-grid { grid-template-columns: 1fr; }

  /* Service images */
  .service-img { border-radius: 24px; width: 100%; max-height: 400px; object-fit: cover; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  :root { --border-radius: 16px; }
  .btn-primary { width: 100%; text-align: center; }

  /* Subpage bar */
  .subpage-bar-inner { gap: 0; }
  .subpage-bar .logo-icon { display: flex; align-items: center; }
  .subpage-bar .logo-icon img { height: 40px; }
  
  /* Mobile search button */
  .mobile-search-btn { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1rem; }

  /* Scroll-to-top reposition on phone to match hamburger level */
  .scroll-to-top { left: 16px; height: 40px !important; bottom: 16px !important; }
  .hamburger-btn { height: 40px !important; bottom: 16px !important; }

  /* Footer mobile */
  footer { border-top-left-radius: 24px; border-top-right-radius: 24px; padding: 3rem 0 2rem; }

  /* Section padding reduce */
  .section { padding: clamp(3rem, 8vw, 5rem) 0; }

  /* CTA Banner */
  .cta-banner { border-radius: 16px; padding: 3rem 1.5rem; margin: 0 1rem; }

  /* Fluid grid single column */
  .fluid-grid { grid-template-columns: 1fr; }

  /* Service cards */
  .service-card { padding: 2rem 1.5rem; }
  
  /* FAQ question text */
  .faq-question { font-size: 1rem; padding: 1.2rem; }

  /* Form controls */
  .form-control { padding: 1rem; font-size: 0.95rem; }
  .form-container { padding: 2rem 1.5rem; }

  /* Benefit items */
  .benefit-item { gap: 1rem; }
  .benefit-icon { width: 44px; height: 44px; font-size: 1rem; border-radius: 12px; }

  /* Section header */
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Tagline */
  .tagline { font-size: 0.65rem; letter-spacing: 2px; }

  /* Timeline tweaks */
  .step-card { padding: 1.5rem; }
  .step-number { font-size: 3.5rem; }

  /* Contact card spacing */
  .contact-card { padding: 2rem 1.5rem; }

  /* Highlight box */
  .highlight-box { padding: 1.5rem; }
}

/* =========================================================================
   APPLE GLASS SEARCH BAR
   ========================================================================= */
.header-search-glass {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 4px 5px 4px 14px;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.3), 0 6px 28px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
}
.header-search-glass .search-icon {
  color: rgba(0,0,0,0.6);
  font-size: 0.95rem;
  margin-right: 8px;
  flex-shrink: 0;
}
.header-search-glass input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--dark);
  outline: none;
}
.header-search-glass input::placeholder {
  color: rgba(0,0,0,0.45);
}
.header-search-glass .search-btn {
  background: rgba(0,0,0,0.08);
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-search-glass .search-btn:hover {
  background: rgba(0,0,0,0.14);
}

/* =========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================= */
.scroll-to-top {
  position: fixed;
  bottom: 16px;
  left: 24px;
  height: 48px;
  padding: 0 16px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--dark);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: opacity 0.4s ease, transform 0.1s linear, background 0.3s ease;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-1 * var(--footer-offset, 0px)));
}
.scroll-to-top span { margin-top: 1px; }
.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-to-top:hover {
  background: rgba(255,255,255,0.9);
}

/* =========================================================================
   CLIENT-SIDE SEARCH RESULTS UI
   ========================================================================= */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0,0,0,0.06);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 0.5rem;
}

.search-results-dropdown.active {
  display: flex;
}

.search-result-item {
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.2s ease;
  display: block;
  text-align: left;
  border-bottom: 1px solid transparent;
}

.search-result-item:hover {
  background: rgba(166, 138, 100, 0.1);
  transform: translateX(4px);
}

.search-result-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-result-category {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--bg-platinum);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-weight: 600;
}

.search-result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.search-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

.search-empty i {
  font-size: 2rem;
  color: rgba(0,0,0,0.1);
  margin-bottom: 0.8rem;
  display: block;
}

.search-results-dropdown mark {
  background: rgba(166, 138, 100, 0.25);
  color: var(--dark);
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 600;
}

/* =========================================================================
   TESTIMONIALS — Stacked Card Slider
   ========================================================================= */
.testimonials-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(238,236,232,0.6) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 40%, rgba(166,138,100,0.06) 0%, transparent 60%);
  z-index: -1;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: 400px;
}

.testimonial-stack {
  position: relative;
  height: 360px;
  perspective: 800px;
}

.testimonial-card-new {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), inset 0 1px 2px rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.testimonial-card-new.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 3;
}
.testimonial-card-new.behind-1 {
  opacity: 0.6;
  transform: translateY(12px) scale(0.96);
  z-index: 2;
}
.testimonial-card-new.behind-2 {
  opacity: 0.3;
  transform: translateY(24px) scale(0.92);
  z-index: 1;
}

.testimonial-card-new .testimonial-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}
.testimonial-card-new .testimonial-quote {
  font-size: 1.05rem;
  color: var(--dark);
  font-style: italic;
  line-height: 1.75;
  flex: 1;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1rem;
}
.testimonial-info .testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.testimonial-info .testimonial-author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.testimonial-info .testimonial-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  opacity: 0.6;
  max-height: 100px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.testimonial-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  color: var(--dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.testimonial-nav button:hover {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}
.testimonial-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .testimonial-slider {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }
  .testimonial-stack {
    height: 300px;
  }
  .testimonial-card-new {
    padding: 1.5rem;
  }
  .testimonial-card-new .testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .testimonial-info {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }
  .testimonial-nav {
    justify-content: center;
  }
}

/* =========================================================================
   COUNTRIES WE SUPPORT
   ========================================================================= */
.countries-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 2rem;
  scrollbar-width: none;
}
.countries-scroll::-webkit-scrollbar { display: none; }

.country-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--border-radius);
  padding: 2rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.country-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(166,138,100,0.2);
}
.country-flag {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 auto 0.75rem;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.country-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}
.country-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stagger animation for countries */
.countries-scroll .country-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.countries-scroll.active .country-card {
  opacity: 1;
  transform: translateY(0);
}
.countries-scroll.active .country-card:nth-child(1) { transition-delay: 0s; }
.countries-scroll.active .country-card:nth-child(2) { transition-delay: 0.06s; }
.countries-scroll.active .country-card:nth-child(3) { transition-delay: 0.12s; }
.countries-scroll.active .country-card:nth-child(4) { transition-delay: 0.18s; }
.countries-scroll.active .country-card:nth-child(5) { transition-delay: 0.24s; }
.countries-scroll.active .country-card:nth-child(6) { transition-delay: 0.30s; }
.countries-scroll.active .country-card:nth-child(7) { transition-delay: 0.36s; }
.countries-scroll.active .country-card:nth-child(8) { transition-delay: 0.42s; }
.countries-scroll.active .country-card:nth-child(9) { transition-delay: 0.48s; }
.countries-scroll.active .country-card:nth-child(10) { transition-delay: 0.54s; }

@media (max-width: 768px) {
  .country-card { flex: 0 0 150px; padding: 1.5rem 1rem; }
  .country-flag { font-size: 2rem; }
  .country-card h4 { font-size: 0.85rem; }
}

/* =========================================================================
   SERVICES SNAPSHOT
   ========================================================================= */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.snapshot-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.snapshot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--dark) 0%, #3A3A3A 100%);
  z-index: -1;
  opacity: 0;
  transform: scale(0.96);
  transition: var(--transition);
}
.snapshot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.snapshot-card:hover::before { opacity: 1; transform: scale(1); }
.snapshot-card:hover .snapshot-icon { background: rgba(255,255,255,0.12); color: var(--secondary); }
.snapshot-card:hover h4 { color: white; }
.snapshot-card:hover p { color: rgba(255,255,255,0.7); }

.snapshot-icon {
  width: 56px; height: 56px;
  background: var(--bg-platinum);
  color: var(--primary);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}
.snapshot-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: color 0.35s ease;
}
.snapshot-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.35s ease;
}

@media (max-width: 992px) {
  .snapshot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .snapshot-card { padding: 1.5rem 1rem; }
  .snapshot-icon { width: 48px; height: 48px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .snapshot-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   HOW IT WORKS — HORIZONTAL TIMELINE
   ========================================================================= */
.how-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding: 2rem 0;
}
.how-timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(to right, rgba(255,0,0,0.1), rgba(255,0,0,0.3), rgba(255,0,0,0.1));
  border-radius: 3px;
}

.how-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.how-step-dot {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border: 5px solid var(--bg-light);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255,0,0,0.12);
  transition: var(--transition);
}
.how-step:hover .how-step-dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(255,0,0,0.2);
}
.how-step-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.how-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.how-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* Stagger reveal */
.how-timeline .how-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.how-timeline.active .how-step {
  opacity: 1;
  transform: translateY(0);
}
.how-timeline.active .how-step:nth-child(1) { transition-delay: 0.1s; }
.how-timeline.active .how-step:nth-child(2) { transition-delay: 0.25s; }
.how-timeline.active .how-step:nth-child(3) { transition-delay: 0.4s; }
.how-timeline.active .how-step:nth-child(4) { transition-delay: 0.55s; }

@media (max-width: 768px) {
  .how-timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-left: 40px;
  }
  .how-timeline::before {
    top: 0;
    bottom: 0;
    left: 18px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .how-step {
    text-align: left;
    padding: 0 0 0 1.5rem;
  }
  .how-step-dot {
    position: absolute;
    left: -40px;
    top: 0;
    margin: 0;
    width: 32px;
    height: 32px;
  }
  .how-step p {
    max-width: 100%;
  }
}

/* =========================================================================
   WHY CHOOSE US
   ========================================================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trust-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(166,138,100,0.15);
}
.trust-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-platinum);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.trust-card:hover .trust-icon {
  background: var(--primary);
  color: white;
}
.trust-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}
.trust-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stagger */
.trust-grid .trust-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.trust-grid.active .trust-card {
  opacity: 1;
  transform: translateY(0);
}
.trust-grid.active .trust-card:nth-child(1) { transition-delay: 0s; }
.trust-grid.active .trust-card:nth-child(2) { transition-delay: 0.08s; }
.trust-grid.active .trust-card:nth-child(3) { transition-delay: 0.16s; }
.trust-grid.active .trust-card:nth-child(4) { transition-delay: 0.24s; }
.trust-grid.active .trust-card:nth-child(5) { transition-delay: 0.32s; }
.trust-grid.active .trust-card:nth-child(6) { transition-delay: 0.40s; }

@media (max-width: 992px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { padding: 1.5rem; }
}

/* =========================================================================
   COOKIE CONSENT BANNER
   ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  width: calc(100% - 2rem);
  max-width: 480px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.06);
  padding: 1.75rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.cookie-banner-header h3 {
  font-size: 1.1rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.cookie-close:hover {
  background: rgba(0,0,0,0.12);
  color: var(--dark);
}

.cookie-banner p {
  font-size: 0.85rem;
  color: #3a3a3a;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cookie-btns {
  display: flex;
  gap: 0.75rem;
}
.cookie-accept {
  flex: 1;
  padding: 0.7rem 1.5rem;
  background: var(--primary);
  color: white;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-accept:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,0,0,0.25);
}
.cookie-reject {
  flex: 1;
  padding: 0.7rem 1.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: var(--dark);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-reject:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 70px;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
  }
  .cookie-btns { flex-direction: column; }
}

/* =========================================================================
   REVEAL STAGGER (reusable)
   ========================================================================= */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.active > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.active > * { opacity: 1; transform: translateY(0); }

/* =========================================================================
   COOKIE BLUR OVERLAY
   ========================================================================= */
.cookie-blur-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cookie-blur-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================================
   SUBPAGE DECORATIVE ART
   ========================================================================= */
.subpage-bg-art {
  position: absolute;
  right: -5%;
  bottom: 0%;
  width: 50%;
  max-width: 600px;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* =========================================================================
   GRS COMPLIANCE CONTENT + TEMPORARY IMAGE PLACEHOLDERS
   These preserve final image geometry until the commissioned paper-model
   image set is generated and installed.
   ========================================================================= */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  background: rgba(0,0,0,0.055);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.image-placeholder {
  width: 100%;
  min-height: 240px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.7), rgba(231,228,221,0.88)),
    #e7e4dd;
  border: 1px solid rgba(26,26,26,0.08);
  overflow: hidden;
}
.generated-paper-art { display: block; max-width: 100%; }
.video-box > .generated-paper-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-placeholder--hero { height: 100%; min-height: 100%; }
.image-placeholder--square { aspect-ratio: 1 / 1; min-height: 0; }
.decorative-placeholder {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 34%;
  background: linear-gradient(145deg, rgba(255,255,255,0.4), rgba(166,138,100,0.35));
}
.placeholder-backed {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255,255,255,0.76);
}
.placeholder-backed::before {
  content: '';
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  right: -8%;
  bottom: -65%;
  z-index: -1;
  border-radius: 35%;
  background: linear-gradient(145deg, rgba(255,255,255,0.45), rgba(166,138,100,0.3));
  opacity: 0.5;
}

.cta-banner {
  margin: 0 var(--container-pad);
  padding: clamp(4rem,8vw,6rem) 2rem;
  text-align: center;
  color: var(--dark);
  background: rgba(255,255,255,0.72);
  border-radius: var(--border-radius);
}
.cta-banner h2 { color: var(--dark); margin-bottom: 1rem; }
.cta-banner p { max-width: 620px; margin: 0 auto 2rem; }

.notice-box {
  background: rgba(166,138,100,0.09);
  border-left: 4px solid var(--secondary);
  border-radius: 0 18px 18px 0;
  padding: 1.4rem 1.6rem;
  margin-top: 2rem;
}
.notice-box strong { color: var(--primary); }
.notice-box p { margin: 0.45rem 0 0; font-size: 0.9rem; }

.country-card-v2 > i {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: var(--secondary);
  background: rgba(255,255,255,0.08);
  font-size: 1.35rem;
}

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.footer-contact li + li { margin-top: 0.55rem; }
.footer-contact i { margin-top: 0.35rem; color: var(--secondary); }

@media (max-width: 768px) {
  .image-placeholder { min-height: 220px; }
  .image-placeholder--square { min-height: 0; }
  .cta-banner { margin: 0 1rem; padding: 3rem 1.5rem; }
}
@media (max-width: 768px) {
  .subpage-bg-art {
    width: 70%;
    opacity: 0.05;
  }
}

/* =========================================================================
   PAPER ART FINISHING
   Keep photographic paper scenes still, lift foreground art from the page,
   and feather decorative scenes so their square source canvas is invisible.
   ========================================================================= */
.generated-paper-art {
  animation: none !important;
}

.papercraft-fg {
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    0 38px 82px rgba(28, 22, 18, 0.22),
    0 16px 34px rgba(28, 22, 18, 0.14),
    0 3px 10px rgba(28, 22, 18, 0.10);
}

.video-box {
  box-shadow:
    0 42px 96px rgba(28, 22, 18, 0.24),
    0 18px 40px rgba(28, 22, 18, 0.15),
    0 4px 12px rgba(28, 22, 18, 0.10) !important;
}

.subpage-bg-art {
  right: 0;
  opacity: 0.10;
  mix-blend-mode: multiply;
  filter: saturate(0.82) contrast(1.04);
  -webkit-mask-image: radial-gradient(ellipse at 62% 58%, #000 0%, rgba(0, 0, 0, 0.92) 42%, rgba(0, 0, 0, 0.46) 68%, transparent 96%);
  mask-image: radial-gradient(ellipse at 62% 58%, #000 0%, rgba(0, 0, 0, 0.92) 42%, rgba(0, 0, 0, 0.46) 68%, transparent 96%);
}

@media (max-width: 768px) {
  .papercraft-fg,
  .video-box {
    box-shadow:
      0 24px 54px rgba(28, 22, 18, 0.20),
      0 10px 24px rgba(28, 22, 18, 0.13) !important;
  }

  .subpage-bg-art {
    right: 0;
    opacity: 0.07;
  }
}

/* =========================================================================
   TOP PILL NAVIGATION
   Desktop treatment matched to the supplied reference. Mobile keeps the
   existing compact Menu control and vertical navigation panel.
   ========================================================================= */
@media (min-width: 993px) {
  body { padding-bottom: 0; }

  .hero-nav-links { display: none !important; }

  .subpage-bar {
    display: none;
  }

  .top-bar-inner > .brand-lockup,
  .subpage-bar-inner > .logo-icon {
    display: none;
  }

  .subpage-bar .subpage-search-glass {
    max-width: 210px;
  }

  .dock-nav,
  .dock-nav.dock-hidden {
    display: flex;
    align-items: center;
    gap: 112px;
    width: max-content;
    max-width: calc(100vw - 32px);
    top: 36px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 3000;
    transition:
      top 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      gap 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.1s linear,
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .dock-nav.nav-page-centered {
    top: 18px;
    gap: 0;
  }

  .nav-links {
    gap: 2px;
    padding: 5px;
    background: rgba(245, 248, 250, 0.50);
    backdrop-filter: blur(28px) saturate(185%);
    -webkit-backdrop-filter: blur(28px) saturate(185%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 16px 38px rgba(34, 45, 56, 0.15),
      0 4px 12px rgba(34, 45, 56, 0.08);
  }

  .nav-link {
    padding: 9px 15px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    visibility: hidden;
    width: 186px;
    overflow: hidden;
    opacity: 1;
    transition:
      width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.24s ease;
  }

  .dock-nav.nav-page-centered .nav-brand {
    width: 0;
    opacity: 0;
  }

  .nav-brand img {
    display: block;
    width: auto;
    height: 60px;
    border-radius: 0;
  }

  .page-brand {
    position: absolute;
    top: 36px;
    z-index: 3001;
    display: flex;
    align-items: center;
  }

  .page-brand img {
    display: block;
    width: auto;
    height: 60px;
    border-radius: 0;
  }
}

@media (min-width: 993px) and (max-width: 1150px) {
  .dock-nav:not(.nav-page-centered) {
    gap: 72px;
  }
}

.page-brand {
  display: none;
}

@media (min-width: 993px) {
  .page-brand {
    display: flex;
  }
}

/* Search is a proper section of the same pill, not a second floating pill. */
.nav-search-item {
  display: none;
}

@media (max-width: 992px) {
  .nav-brand {
    display: none;
  }

  /* Keep the two mobile controls together in the header so the menu trigger
     never floats over portraits, form fields or FAQ copy while scrolling. */
  .hamburger-btn {
    top: 16px !important;
    right: 72px;
    bottom: auto !important;
    left: auto;
    width: 46px;
    height: 46px !important;
    padding: 0;
    border-radius: 50%;
    transform: none !important;
  }

  .hamburger-btn span {
    display: none;
  }

  .dock-nav,
  .dock-nav.mobile-open {
    top: 76px;
    right: 16px;
    bottom: auto;
    left: auto;
    transform: none !important;
  }

  .dock-nav .nav-links {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .hamburger-btn {
    top: 12px !important;
    right: 64px;
    width: 40px;
    height: 40px !important;
  }

  .dock-nav,
  .dock-nav.mobile-open {
    top: 64px;
    right: 12px;
  }
}

@media (min-width: 1280px) {
  .nav-search-item {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    margin-left: 5px;
    padding-left: 10px;
    border-left: 0;
  }

  .nav-search-item .subpage-search-glass {
    display: flex !important;
    width: 194px;
    max-width: 194px !important;
    margin: 0 !important;
    padding: 3px 3px 3px 12px;
    background: rgba(31, 41, 49, 0.075) !important;
    border: 1px solid rgba(31, 41, 49, 0.045);
    border-radius: 50px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-search-item .subpage-search-glass .search-icon {
    margin-right: 8px;
    font-size: 0.82rem;
  }

  .nav-search-item .subpage-search-glass input {
    font-size: 0.8rem;
  }

  .nav-search-item .subpage-search-glass .search-btn {
    margin-left: 4px;
    padding: 7px 12px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.74rem;
  }

  .nav-search-item .subpage-search-glass .search-btn:hover {
    background: var(--primary-light);
  }

  .nav-search-item .search-results-dropdown {
    left: auto;
    right: 0;
    width: 330px;
  }
}

/* =========================================================================
   ALTERNATING DARK CONTENT CARDS
   Page headers and intervening sections stay open on the dotted canvas.
   ========================================================================= */
.section-dark-card {
  position: relative;
  overflow: hidden;
  margin: 2rem var(--container-pad) 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  background: #171717 !important;
  background-image: none !important;
  color: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 30px 72px rgba(17, 17, 17, 0.24),
    0 10px 28px rgba(17, 17, 17, 0.14);
}

.section-dark-card.pt-0 {
  padding-top: clamp(4rem, 8vw, 6rem) !important;
}

.section-dark-card > .container {
  position: relative;
  z-index: 1;
}

.section-dark-card :is(h1, h2, h3, h4, h5, h6),
.section-dark-card .section-header :is(h2, p),
.section-dark-card .tagline {
  color: #ffffff !important;
}

.section-dark-card :is(p, li, label) {
  color: rgba(255, 255, 255, 0.80) !important;
}

.section-dark-card :is(.tagline, .check-list i, .step-details i, .trust-item-icon, .country-card-v2 > i) {
  color: var(--support-blue) !important;
}

.section-dark-card .country-card-v2,
.section-dark-card .trust-item {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.section-dark-card .country-card-v2 h4,
.section-dark-card .trust-item :is(h4, p),
.section-dark-card .hiw-step :is(h4, p),
.section-dark-card .benefit-item :is(h3, p),
.section-dark-card .next-step-card :is(h4, p) {
  color: #ffffff !important;
}

.section-dark-card :is(.price-range, .highlight-box, .notice-box) {
  color: rgba(255, 255, 255, 0.86) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.section-dark-card :is(.price-range, .highlight-box, .notice-box) :is(h3, h4, strong, p) {
  color: #ffffff !important;
}

.section-dark-card :is(.step-card, .form-container, .faq-item, .contact-card, .contact-form, .assurance-card, .cta-banner) {
  color: var(--text-body) !important;
  background: #ffffff !important;
}

.section-dark-card :is(.step-card, .form-container, .faq-item, .contact-card, .contact-form, .assurance-card, .cta-banner) :is(h1, h2, h3, h4, h5, h6, p, li, label, strong) {
  color: var(--text-body) !important;
}

.section-dark-card :is(.step-card, .form-container, .faq-item, .contact-card, .contact-form, .assurance-card, .cta-banner) a:not(.btn-primary) {
  color: var(--primary) !important;
}

.section-dark-card .benefit-icon {
  color: var(--support-blue);
  background: rgba(255, 255, 255, 0.10);
}

/* Reusable picture-left / picture-right showcase rhythm, adapted from the
   approved local templates for the active consultancy pages. */
.template-showcase {
  align-items: center;
  position: relative;
}

.process-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(3.5rem, 8vw, 8rem);
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.template-showcase__media {
  aspect-ratio: 521 / 329;
  border-radius: 32px;
  box-shadow: 40px 40px 52px rgba(0, 0, 0, 0.24);
  margin: 0;
  overflow: hidden;
}

.template-showcase__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.template-showcase__copy h2 {
  color: #ffffff;
  font-size: var(--text-h2);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0.75rem 0 1.35rem;
}

.template-showcase__copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.template-showcase__button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.83rem;
  font-weight: 700;
  gap: 0.7rem;
  margin-top: 2rem;
  min-height: 58px;
  padding: 0 1.4rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.template-showcase__button:hover,
.template-showcase__button:focus-visible {
  background: #ffffff;
  color: var(--dark);
  transform: translateY(-2px);
}

.service-split.template-showcase {
  gap: clamp(3.5rem, 7vw, 7rem);
}

.service-split.template-showcase .service-img {
  border-radius: 32px;
}

@media (max-width: 992px) {
  .process-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .template-showcase__media {
    max-width: 680px;
  }

  .service-split.template-showcase .service-img,
  .about-grid.template-showcase .about-visual {
    grid-row: 1;
  }

  .service-split.template-showcase .service-text,
  .about-grid.template-showcase .about-copy {
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .process-showcase {
    padding-top: 2rem;
  }

  .template-showcase__media {
    border-radius: 24px;
    box-shadow: 24px 24px 36px rgba(0, 0, 0, 0.22);
  }

  .template-showcase__button {
    min-height: 54px;
    width: 100%;
    justify-content: center;
  }

  .service-split.template-showcase .service-img {
    border-radius: 24px;
  }
}

/* YouTube-red accent normalization for page-specific inline components. */
.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.10) !important;
}

.benefit-icon,
.contact-icon {
  background: rgba(255, 0, 0, 0.07) !important;
}

.price-range {
  background: rgba(255, 0, 0, 0.08) !important;
  border-color: rgba(255, 0, 0, 0.18) !important;
}

.timeline-line {
  background: rgba(255, 0, 0, 0.12) !important;
}

.step-dot {
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.18) !important;
}

.step-number {
  color: rgba(255, 0, 0, 0.05) !important;
}

.section-dark-card .trust-badge {
  color: var(--dark) !important;
  background: #ffffff;
}

@media (max-width: 768px) {
  .section-dark-card {
    margin: 1.25rem 1rem 0;
    border-radius: 28px;
  }
}

/* =========================================================================
   MINIMAL TRANSPARENT PAPER CUTOUTS
   The regenerated artwork has genuine alpha transparency. It is presented as
   sparse foreground illustration, never as a cropped photo or tiled backdrop.
   ========================================================================= */
.generated-paper-art {
  animation: none !important;
  background: transparent !important;
}

.papercraft-fg,
.template-showcase__media img,
.service-split.template-showcase .service-img,
.about-visual > .generated-paper-art {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.24));
  object-fit: contain !important;
}

.about-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 420px;
}

.about-visual > .generated-paper-art {
  height: auto;
  max-height: 520px;
  width: 100%;
}

.template-showcase__media {
  align-items: center;
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  min-height: 360px;
  overflow: visible;
}

.template-showcase__media img {
  height: auto;
  max-height: 470px;
  width: 100%;
}

.service-split.template-showcase .service-img {
  align-self: center;
  height: auto;
  justify-self: center;
  max-height: 460px;
  width: 100%;
}

/* One restrained, edge-positioned cutout per long dark content block. */
.section-dark-card > .subpage-bg-art {
  bottom: auto;
  display: block !important;
  filter: none;
  height: auto;
  left: auto;
  mask-image: none;
  -webkit-mask-image: none;
  mix-blend-mode: normal;
  opacity: 0.17;
  pointer-events: none;
  position: absolute;
  right: -2.5rem;
  top: 2.5rem;
  user-select: none;
  width: clamp(190px, 22vw, 340px);
  z-index: 0;
}

.section-dark-card > .subpage-bg-art[data-image-id="IMG-11"] {
  right: -1rem;
  width: clamp(160px, 18vw, 270px);
}

/* About and Services already carry prominent foreground cutouts in the same
   block. Their secondary accents stay hidden to keep those compositions calm. */
.section-dark-card > .subpage-bg-art[data-image-id="IMG-05"],
.section-dark-card > .subpage-bg-art[data-image-id="IMG-08"] {
  display: none !important;
}

@media (max-width: 992px) {
  .about-visual,
  .template-showcase__media {
    min-height: 300px;
  }

  .service-split.template-showcase .service-img {
    max-height: 390px;
    width: min(100%, 680px);
  }
}

@media (max-width: 768px) {
  .about-visual,
  .template-showcase__media {
    min-height: 240px;
  }

  .papercraft-fg,
  .template-showcase__media img,
  .service-split.template-showcase .service-img,
  .about-visual > .generated-paper-art {
    filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.22));
  }

  .section-dark-card > .subpage-bg-art {
    display: none !important;
  }
}

/* Clean closing CTA: the dark card is the component, without a white card
   nested inside it. */
.standalone-cta-card {
  padding: 0 !important;
}

.standalone-cta-card > .cta-banner {
  background: transparent !important;
  border-radius: inherit;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0;
  padding: clamp(4rem, 8vw, 6.5rem) 2rem;
}

.standalone-cta-card > .cta-banner :is(h2, p) {
  color: #ffffff !important;
}
