/* ============================================================
   CANDIDO — Master Stylesheet (Dark Blue Theme)
   ============================================================ */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  /* Deep Blue & White Palette */
  --ink:        #0f172a;      /* Deep Navy Backgrounds */
  --ink-soft:   #1e293b;
  --white:      #ffffff;
  --cream:      #f8fafc;      /* Cool off-white */
  --cream2:     #f1f5f9;
  --stone:      #e2e8f0;
  --muted:      #64748b;
  
  --primary:       #1c1666;   /* Replaced with your custom dark blue */
  --primary-light: #2d24a3;   /* Lighter accent for hovers */
  --primary-dark:  #110d40;   /* Deeper shade */

  --shadow-sm:  0 4px 12px rgba(0,0,0,0.05);
  --shadow-md:  0 12px 30px rgba(0,0,0,0.08);
  --shadow-lg:  0 24px 48px rgba(0,0,0,0.12);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  
  /* Modern Sans-Serif Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  
  --nav-h: 80px;
  --max-w: 1200px;
}

body { font-family: var(--font-body); color: var(--ink); background: var(--white); overflow-x: hidden; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

html.translated-ltr,
html.translated-rtl,
body {
  top: 0 !important;
}

.google-translate-host,
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-menu-frame,
.goog-logo-link,
.goog-te-gadget-icon,
.goog-te-gadget span,
body > .skiptranslate {
  display: none !important;
}

iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

.goog-te-gadget,
.goog-te-combo {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================ PRELOADER */
body.loading-state { overflow: hidden; }
#preloader { position: fixed; inset: 0; z-index: 999999; background: var(--ink); display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s ease; }
.preloader-content { text-align: center; }
/* Increased logo size */
.preloader-logo-img { height: 75px; width: auto; margin-bottom: 1.5rem; display: block; margin-left: 60px; margin-right: auto; }
.preloader-line-container { width: 200px; height: 3px; background: rgba(255,255,255,0.1); margin: 0 auto; overflow: hidden; border-radius: 3px; }
.preloader-line { width: 0%; height: 100%; background: var(--primary-light); animation: loadingLine 2.4s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
@keyframes loadingLine { 0% { width: 0%; } 50% { width: 100%; } 100% { width: 100%; } }
body.loaded #preloader { opacity: 0; visibility: hidden; }
body.loaded { overflow: auto; }

/* ============================================================ SCROLL REVEALS */
.reveal, .reveal-left, .reveal-right, .fade-up { opacity: 0; filter: blur(5px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal { transform: translateY(50px); }
.fade-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .fade-up.visible { opacity: 1; transform: translate(0,0); filter: blur(0); }
.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.3s !important; }

/* ============================================================ TYPOGRAPHY & LAYOUT */
/* Replaced var(--ink) with var(--primary) so theme text uses #1c1666 */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--primary); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; }
p  { font-size: 1.05rem; line-height: 1.85; color: var(--muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 1rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.8rem; }
.eyebrow::before { content: ''; display: block; width: 45px; height: 2px; background: var(--primary); }
.eyebrow-light { color: var(--white) !important; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; width: 100%; }
.section { padding: 120px 0; }
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; }
.text-primary-italic { color:#fff;; font-style: italic; font-family: var(--font-display); font-weight: 400; }

/* ============================================================ NAVBAR */
/* Added slightly larger height when scrolled to accommodate the bigger logo */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; transition: background 0.4s, box-shadow 0.4s, height 0.4s; }
.navbar.transparent { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.1); }
.navbar.scrolled { background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); border-bottom: none; height: 85px; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; width: 100%; display: flex; align-items: center; justify-content: space-between; }

/* LOGO STYLING */
.nav-logo { display: flex; align-items: center; position: relative; }
.nav-logo-img { height: 60px; width: auto; object-fit: contain; transition: height 0.3s; transform: translateZ(0); backface-visibility: hidden; }
.nav-logo-img-brand { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.navbar.scrolled .nav-logo-img { height: 45px; }
.navbar.scrolled .nav-logo-img-white { opacity: 0; }
.navbar.scrolled .nav-logo-img-brand { opacity: 1; }

/* NAVIGATION LINKS */
.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white) !important; transition: color 0.25s; position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.navbar.scrolled .nav-links a:not(.nav-cta-btn) { color: var(--muted) !important; }
.navbar.scrolled .nav-links a:not(.nav-cta-btn):hover, .navbar.scrolled .nav-links a:not(.nav-cta-btn).active { color: var(--primary) !important; }

/* CONTACT BUTTON */
.nav-links a.nav-cta-btn { color: var(--white) !important; text-shadow: none !important; }
.navbar.scrolled .nav-links a.nav-cta-btn { color: var(--white) !important; }
.nav-cta-btn { background: var(--primary) !important; padding: 10px 24px !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important; border: none; }
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover { background: var(--primary-dark) !important; transform: translateY(-1px) !important; box-shadow: 0 4px 16px rgba(28, 22, 102, 0.3) !important; }
.nav-app-icon { display: none; }

.language-switcher {
  position: relative;
  z-index: 1006;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.34rem;
  margin-left: 1.35rem;
  padding: 0.18rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
  touch-action: manipulation;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.language-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-width: auto;
  min-height: 30px;
  padding: 0.14rem 0.16rem 0.2rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.24s ease, opacity 0.24s ease, transform 0.18s ease;
}
.language-flag {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
}
.language-label {
  line-height: 1;
}
.language-option::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -0.09rem;
  height: 1px;
  background: #85f004; /*var(--primary-light); */
  pointer-events: none;
  transition: left 0.24s ease, right 0.24s ease;
}
.language-option:hover,
.language-option.active {
  color: var(--white);
}
.language-option:active {
  transform: translateY(1px);
}
.language-option.active::after {
  left: 0.18rem;
  right: 0.18rem;
}
.language-divider {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.72rem;
  line-height: 1;
}
.navbar.scrolled .language-switcher {
  background: rgba(28, 22, 102, 0.04);
  border-color: rgba(28, 22, 102, 0.12);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}
.navbar.scrolled .language-option {
  color: rgba(28, 22, 102, 0.64);
}
.navbar.scrolled .language-option:hover,
.navbar.scrolled .language-option.active {
  color: var(--primary);
}
.navbar.scrolled .language-divider {
  color: rgba(28, 22, 102, 0.24);
}

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.navbar.scrolled .hamburger span { background: var(--primary); }

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 14px 34px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; transition: all 0.3s var(--transition); overflow: hidden; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(28, 22, 102, 0.25); border: none; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(28, 22, 102, 0.35); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-3px); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-full-width { width: 100%; justify-content: center; padding: 12px 15px; font-size: 0.85rem; }
.btn-whatsapp { background: #25D366; color: var(--white); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25); border: none; }
.btn-whatsapp:hover { background: #1EBE5D; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35); color: var(--white); }
.btn-whatsapp svg { fill: currentColor; width: 22px; height: 22px; margin-right: 4px; }

.divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; color: var(--muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--stone); }
.divider span { padding: 0 10px; }

/* ============================================================ HERO SECTIONS */
.hero-home { position: relative; min-height: 100vh; background: var(--ink); overflow: hidden; display: flex; align-items: center; }
.hero-slider-wrapper { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background-color: var(--ink); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s, visibility 1.2s; z-index: 1; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-bg, .hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1); transform: scale(1.08); }
.hero-slide.active .hero-bg, .hero-slide.active .hero-slide-bg { transform: scale(1); } 
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.5) 50%, rgba(15,23,42,0.2) 100%); }
.hero-content { position: relative; z-index: 3; max-width: 800px; padding: var(--nav-h) 2rem 0; margin: 0 auto; width: 100%; opacity: 0; transform: translateY(30px); transition: all 1s 0.3s; }
.hero-slide.active .hero-content { opacity: 1; transform: translateY(0); }
.hero-content .eyebrow {
  width: max-content;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 560px; margin-bottom: 2.4rem; }

.page-hero { background: var(--ink); padding: 220px 0 120px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; color: var(--white); }
.page-hero p { color: var(--stone); font-size: 1.15rem; }

.full-height-hero { height: 100vh; min-height: 600px; display: flex; align-items: center; padding: 0 !important; }
.services-hero-bg { background-image: url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?w=1600&q=80'); background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(15,23,42,0.4)); }
.page-hero-content { position: relative; z-index: 2; animation: heroFadeUp 0.9s ease-out 0.2s both; }

/* ============================================================ SPLIT SECTIONS */
.split-section { background: var(--white); padding: 120px 0; overflow: hidden; } 
.split-container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-layout.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-image-wrapper, .split-image { position: relative; flex: 1; }

.image-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.image-main img, .split-image img { width: 100%; height: 550px; object-fit: cover; display: block; border-radius: var(--radius-lg); transition: transform 0.6s; }
.image-main:hover img, .split-image:hover img { transform: scale(1.05); }
.home-image-slider { min-height: 550px; }
.home-image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.home-image-slide.active {
  opacity: 1;
  visibility: visible;
}
.home-image-slide img {
  position: absolute;
  inset: 0;
}

.floating-badge { position: absolute; bottom: -30px; right: -30px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); padding: 1.5rem 2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 1.2rem; border: 1px solid rgba(255, 255, 255, 0.5); z-index: 5; }
.badge-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: bold; font-size: 1.2rem; }
.floating-badge h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: 0.2rem; }

.check-list { margin-top: 1.8rem; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--cream2); font-size: 1.05rem; color: var(--muted); }
.check-icon { width: 22px; height: 22px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px; }
.check-icon::after { content: '✓'; color: white; font-size: 12px; font-weight: 700; }

.highlight-block { text-align: center; max-width: 800px; margin: 0 auto; padding: 40px; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }

/* ============================================================ FOUNDER PHILOSOPHY */
.founder-philosophy-section {
  position: relative;
  padding: 130px 0;
  background:
    radial-gradient(circle at top left, rgba(201, 138, 45, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.08), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #f5f7fb 100%);
  overflow: hidden;
}
.founder-philosophy-section::before {
  content: '';
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(133, 92, 33, 0.08);
  border-radius: 36px;
  pointer-events: none;
}
.founder-philosophy-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 5rem;
  align-items: center;
}
.founder-portrait-wrap { position: relative; }
.founder-portrait-shell {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.founder-portrait-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.24));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.45s ease;
}
.founder-portrait-shell::after {
  content: '';
  position: absolute;
  inset: -30% auto auto -60%;
  width: 56%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(14deg) translateX(-120%);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.7s ease, opacity 0.4s ease;
}
.founder-portrait {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.65s ease, filter 0.65s ease;
}
.founder-philosophy-image {
  aspect-ratio: 16 / 9;
  min-height: 420px;
}
.founder-image-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  width: clamp(118px, 34%, 178px);
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 22px rgba(4, 10, 24, 0.28));
}
.founder-portrait-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.45s ease, background 0.45s ease, border-color 0.45s ease;
}
.founder-portrait-wrap:hover .founder-portrait-shell {
  transform: translateY(-8px);
  border-color: rgba(203, 146, 54, 0.28);
  box-shadow: 0 42px 84px rgba(15, 23, 42, 0.18);
}
.founder-portrait-wrap:hover .founder-portrait-shell::before {
  opacity: 0.88;
}
.founder-portrait-wrap:hover .founder-portrait-shell::after {
  opacity: 1;
  transform: rotate(14deg) translateX(250%);
}
.founder-portrait-wrap:hover .founder-portrait {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.02);
}
.founder-portrait-wrap:hover .founder-portrait-card {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
}
.founder-card-label {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.founder-portrait-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}
.founder-philosophy-copy h2 {
  margin-bottom: 1.3rem;
  max-width: 11ch;
}
.founder-lead {
  font-size: 1.24rem;
  line-height: 1.85;
  color: var(--primary-dark);
  max-width: 34ch;
  margin-bottom: 1.15rem;
  font-weight: 500;
}
.founder-philosophy-copy p {
  max-width: 58ch;
}
.founder-philosophy-copy > p:not(.eyebrow):not(.founder-lead) {
  font-size: 1.02rem;
  line-height: 1.95;
  color: rgba(37, 46, 62, 0.88);
}
.founder-signoff {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(133, 92, 33, 0.14);
}
.founder-signoff-line {
  width: 56px;
  height: 1px;
  margin-top: 0.8rem;
  background: linear-gradient(90deg, var(--primary), rgba(28, 22, 102, 0.12));
}
.founder-signoff strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.founder-signoff p {
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================================ STATS STRIP */
.stats-strip { background: var(--white); padding: 80px 0; position: relative; z-index: 15; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 1rem 2rem; position: relative; transition: transform 0.4s; }
.stat-item:hover { transform: scale(1.1); }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: linear-gradient(to bottom, transparent, var(--stone), transparent); }
.stat-num, .stat-text-large { font-family: var(--font-display); font-size: 4.5rem; font-weight: 600; color: var(--primary-dark); line-height: 1; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; transition: color 0.4s; }
.stat-symbol { font-size: 2.2rem; margin-left: 4px; transform: translateY(-16px); }
.stat-item:hover .stat-num, .stat-item:hover .stat-text-large, .stat-item:hover .stat-symbol { color: var(--primary); }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ============================================================ GRIDS (PROCESS & WHY) */
      .process-centered-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
      }
      .process-centered-flex .step-card {
        width: calc(33.333% - 1.34rem); /* 3 columns minus the gap */
      }
      @media (max-width: 900px) {
        .process-centered-flex .step-card {
          width: calc(50% - 1rem); /* 2 columns on tablets */
        }
      }
      @media (max-width: 768px) {
        .process-centered-flex .step-card {
          width: 100%; /* 1 column on mobile */
        }
      }
.process-section { background: var(--cream); position: relative; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { background: var(--white); padding: 3.5rem 2.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--stone); position: relative; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); z-index: 2; }
.step-icon-premium { margin: 0 auto 1.5rem; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--cream); border-radius: 50%; color: var(--primary); transition: all 0.3s; text-align: center; }
.step-card:hover .step-icon-premium { background: var(--primary); color: var(--white); }
.step-num { position: absolute; top: 1.5rem; right: 2rem; font-family: var(--font-display); font-size: 4.5rem; font-weight: 800; color: var(--cream2); line-height: 1; z-index: 0; pointer-events: none; transition: color 0.3s; }
.step-card:hover .step-num { color: var(--stone); }
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; position: relative; z-index: 1; text-align: center; color: var(--primary); }
.step-card p { font-size: 0.95rem; color: var(--muted); position: relative; z-index: 1; text-align: center;}
.step-card-last { grid-column: 2; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-md); padding: 2.4rem 2rem; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--cream); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; transition: background 0.3s; }
.why-card-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.5; }
.why-card:hover .why-card-icon { background: var(--primary); }
.why-card:hover .why-card-icon svg { stroke: var(--white); }

/* ============================================================ PRODUCTS GRID */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card { position: relative; height: 320px; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s; }
.product-card:hover .product-card-bg { transform: scale(1.08); }
.product-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 50%, transparent 100%); transition: background 0.4s; }
.product-card:hover .product-card-overlay { background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.2) 100%); }
.product-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; transform: translateY(8px); transition: transform 0.4s; }
.product-card:hover .product-card-content { transform: translateY(0); }
.product-card-content h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.5rem; }
.product-card-content p { color: rgba(255,255,255,0.7); font-size: 0.85rem; max-height: 0; overflow: hidden; transition: max-height 0.5s, opacity 0.4s; opacity: 0; }
.product-card:hover .product-card-content p { max-height: 80px; opacity: 1; }
.product-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary-light); margin-bottom: 0.5rem; }

.product-grid-5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.product-card-zoom { width: calc(33.333% - 1.67rem); min-width: 300px; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--stone); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); transition: transform 0.5s, box-shadow 0.5s, border-color 0.5s; color: inherit; text-decoration: none; }
.product-card-zoom:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.mini-slideshow { width: 100%; height: 250px; overflow: hidden; position: relative; background: var(--cream2); cursor: grab; }
.mini-slideshow img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s, transform 0.4s; pointer-events: none; }
.mini-slideshow img.active { opacity: 1; z-index: 2; }
.product-card-zoom:hover .mini-slideshow img.active { transform: scale(1.10); }
.product-card-zoom-details { padding: 2rem 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-card-zoom-details h3 { font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--primary); }
.product-card-zoom-details p { font-size: 0.9rem; flex-grow: 1; margin-bottom: 1.5rem; }
#detailed-categories { scroll-margin-top: 110px; }

/* ============================================================ MODALS */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 99999; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; padding: 1rem; overflow-y: auto; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { background: var(--white); padding: 3rem 2.5rem; border-radius: var(--radius-md); width: 100%; max-width: 500px; max-height: calc(100vh - 2rem); overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); transform: translateY(20px); transition: transform 0.3s; }
.modal-overlay.active .modal-box { transform: translateY(0); }
#galleryModal { overflow: hidden; }
.gallery-modal-box { width: fit-content !important; max-width: 95vw !important; max-height: none !important; overflow: visible !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 auto !important; display: flex; flex-direction: column; align-items: center; }
.gallery-slider-container { position: relative; display: flex; align-items: center; justify-content: center; cursor: grab; aspect-ratio: 9 / 16; }
.gallery-slider-container img { max-height: calc(100vh - 120px); max-width: 100%; width: auto; height: auto; display: none; border-radius: var(--radius-sm); pointer-events: none; object-fit: cover; }
.gallery-slider-container img.active { display: block; animation: smoothFadeIn 0.5s ease forwards; }
@keyframes smoothFadeIn { from { opacity: 0; } to { opacity: 1; } }
.gallery-modal-box .modal-close-btn { top: -15px; right: 0px; color: var(--white); font-size: 3rem; z-index: 15; text-shadow: 0 2px 10px rgba(0,0,0,0.5); background: none; border: none; cursor: pointer; position: absolute; }
.gallery-modal-box .modal-close-btn:hover { color: var(--primary-light); }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255, 255, 255, 0.9); border: none; color: var(--primary); width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.gallery-arrow:hover { background: var(--primary); color: var(--white); transform: translateY(-50%) scale(1.1); }
.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

/* INQUIRY FORM */
.modal-close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem; color: var(--muted); cursor: pointer; transition: color 0.2s; z-index: 10; }
.modal-close-btn:hover { color: var(--primary); }
.modal-box h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--primary); }
.form-msg { padding: 12px 15px; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 1.5rem; display: none; }
.form-msg.active, .form-error.active { display: block; }
.form-error { padding: 12px 15px; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 1.5rem; display: none; }
.msg-error { color: #d9534f; background: #fdf0f0; border: 1px solid #f2dede; }
.msg-success { color: #155724; background: #eef9f1; border: 1px solid #c8ead0; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.btn:disabled { cursor: not-allowed; opacity: 0.82; transform: none !important; }
.btn.is-loading { pointer-events: none; }
.btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.42); border-top-color: var(--white); border-radius: 50%; animation: btnSpin 0.75s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.25s ease; }
.form-group input,
.form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--stone); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease; }
.form-group textarea { resize: vertical; min-height: 124px; max-height: 280px; line-height: 1.55; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group.has-field-error label { color: #a63232; }
.form-group input.field-invalid,
.form-group textarea.field-invalid,
.custom-multiselect.field-invalid .custom-multiselect-trigger {
  border-color: rgba(196, 54, 54, 0.82);
  background: rgba(196, 54, 54, 0.055);
  box-shadow: 0 0 0 3px rgba(196, 54, 54, 0.08);
}
.form-group input.field-invalid:focus,
.form-group textarea.field-invalid:focus,
.custom-multiselect.field-invalid .custom-multiselect-trigger:focus {
  border-color: #b83232;
  box-shadow: 0 0 0 4px rgba(196, 54, 54, 0.12);
}
.custom-multiselect { position: relative; }
.custom-multiselect-input {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
.custom-multiselect-trigger {
  width: 100%;
  min-height: 49px;
  padding: 12px 44px 12px 15px;
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}
.custom-multiselect-trigger:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(28, 22, 102, 0.08); }
.custom-multiselect-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-multiselect-value.is-placeholder { color: #8a94a6; }
.custom-multiselect-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.24s ease;
}
.custom-multiselect.is-open .custom-multiselect-chevron { transform: translateY(-35%) rotate(225deg); }
.custom-multiselect-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  padding: 8px;
  border: 1px solid rgba(28, 22, 102, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.custom-multiselect.is-open .custom-multiselect-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.form-group .custom-multiselect-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease;
}
.form-group .custom-multiselect-option:hover { background: rgba(28, 22, 102, 0.06); color: var(--primary); }
.form-group .custom-multiselect-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--primary);
  flex: 0 0 auto;
}
.field-error-message {
  min-height: 0;
  max-height: 0;
  margin-top: 0;
  color: #b83232;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-4px);
  overflow: hidden;
  transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.24s ease, margin-top 0.24s ease;
}
.field-error-message.active {
  max-height: 48px;
  margin-top: 0.42rem;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================ CONTACT PAGE DETAILS */
.contact-main-section {
  overflow: visible;
  padding-top: 100px;
  padding-bottom: clamp(96px, 9vw, 130px);
}
.contact-layout {
  align-items: flex-start;
}
.contact-form-column {
  min-width: 0;
  overflow: visible;
}
.contact-inquiry-card {
  width: 100%;
  max-height: none;
  overflow: visible;
}
.contact-inquiry-card .divider {
  margin: 1.65rem 0;
}

.contact-details-list { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-detail-box { display: flex; align-items: flex-start; gap: 1.5rem; }
.contact-icon { color: var(--primary); flex-shrink: 0; margin-top: 4px; }
.contact-text h3 { font-size: 1.4rem; font-family: var(--font-display); color: var(--primary); margin-bottom: 0.4rem; font-weight: 600; }
.contact-text p { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 0.2rem; }
.contact-text p.text-muted { color: var(--muted); }

/* ============================================================ CTA & FOOTER */
.bg-cream { background-color: var(--cream); }
.cta-section { position: relative; padding: 110px 0; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070'); background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.7)); }
.cta-content { position: relative; z-index: 2; }

.cta-section h2, .cta-content h2 { color: var(--white) !important; margin-bottom: 1.2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.cta-section p:not(.eyebrow), .cta-content p:not(.eyebrow) { color: rgba(255,255,255,0.9) !important; max-width: 480px; margin: 0 auto 2.6rem; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }

.site-footer {
  position: relative;
  padding: 88px 0 30px;
  background:
    radial-gradient(circle at top left, rgba(206, 154, 58, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(72, 99, 160, 0.16), transparent 30%),
    linear-gradient(145deg, #020611 0%, #081224 45%, #0b1528 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2.15rem;
  padding: 2rem 0 2.75rem;
}
.footer-col {
  min-width: 0;
  padding: 0 1.25rem;
  position: relative;
}
.footer-col:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}
.footer-logo { display: inline-flex; margin-bottom: 1.15rem; }
.footer-logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-brand-copy {
  max-width: 29ch;
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(228, 232, 242, 0.82);
  margin-bottom: 1.35rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.45rem;
}
.footer-social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.footer-social-link svg { width: 17px; height: 17px; fill: currentColor; }
.footer-social-link:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(209, 156, 58, 0.95), rgba(240, 187, 87, 0.84));
  border-color: rgba(240, 187, 87, 0.9);
  box-shadow: 0 18px 30px rgba(201, 138, 45, 0.22);
}
.download-company-profile {
  width: 100%;
  max-width: 16.75rem;
  margin-top: 0.5rem;
  padding-right: 0;
}
.footer-download-cta {
  --download-border: rgba(241, 205, 131, 0.26);
  --download-highlight: #efc575;
  --download-text: rgba(245, 247, 252, 0.96);
  --download-text-hover: #ffffff;
  --download-glow: rgba(239, 197, 117, 0.18);
  --download-blue-glow: rgba(79, 142, 255, 0.18);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: auto;
  max-width: 320px;
  min-height: 44px;
  padding: 0.5rem 0.75rem 0.5rem 0.6rem;
  border-radius: 999px;
  color: var(--download-text);
  background:
    linear-gradient(135deg, #0a1730 0%, #0c1f3d 54%, #10294d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 36px rgba(2, 8, 20, 0.28);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    color 0.35s ease,
    background 0.42s ease,
    border-color 0.35s ease;
}
.footer-download-cta::before,
.footer-download-cta::after {
  content: '';
  position: absolute;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.footer-download-cta::before {
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 14% 50%, rgba(239, 197, 117, 0.12), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(83, 142, 255, 0.1), transparent 24%);
  opacity: 0.9;
}
.footer-download-cta::after {
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(83, 142, 255, 0.1), rgba(239, 197, 117, 0.72), rgba(83, 142, 255, 0.2), rgba(239, 197, 117, 0.12), rgba(83, 142, 255, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.72;
  animation: footer-download-border-spin 8s linear infinite;
}
.footer-download-aura {
  position: absolute;
  inset: auto 12% -38% 12%;
  height: 90%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(73, 132, 245, 0.18), rgba(239, 197, 117, 0.12) 36%, transparent 72%);
  filter: blur(26px);
  opacity: 0.55;
  transform: translateY(16px) scale(0.9);
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
  z-index: 0;
}
.footer-download-icon-wrap::before,
.footer-download-copy::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.footer-download-icon-wrap::before {
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(239, 197, 117, 0.16), transparent 66%);
  opacity: 0.45;
  filter: blur(10px);
  z-index: -1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.footer-download-copy::after {
  left: 0;
  right: 0.25rem;
  bottom: -0.2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(239, 197, 117, 0), rgba(239, 197, 117, 0.95), rgba(96, 152, 255, 0.24));
  transform: scaleX(0.16);
  transform-origin: left;
  opacity: 0.82;
  transition: transform 0.42s ease, opacity 0.42s ease;
}
.footer-download-icon-wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--download-highlight);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-download-ring {
  display: none;
}
.footer-download-shimmer {
  position: absolute;
  top: -48%;
  left: -46%;
  width: 52%;
  height: 196%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 247, 223, 0.86), rgba(255, 255, 255, 0));
  transform: rotate(22deg) translateX(0);
  opacity: 0.3;
  transition: transform 0.55s ease, opacity 0.4s ease;
}
.footer-download-icon {
  width: 14px;
  height: 14px;
  will-change: transform, opacity;
  transform-origin: center center;
}
.footer-download-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}
.footer-download-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.24);
}
.footer-download-cta:hover,
.footer-download-cta:focus-visible {
  color: var(--download-text-hover);
  transform: translateY(-5px);
  background:
    linear-gradient(135deg, #0d1c37 0%, #112746 52%, #17365f 100%);
  box-shadow:
    0 28px 48px rgba(2, 8, 20, 0.42),
    0 0 24px var(--download-glow),
    0 0 32px var(--download-blue-glow);
}
.footer-download-cta:hover .footer-download-icon-wrap,
.footer-download-cta:focus-visible .footer-download-icon-wrap {
  transform: scale(1.08);
}
.footer-download-cta:hover .footer-download-copy::after,
.footer-download-cta:focus-visible .footer-download-copy::after {
  transform: scaleX(1);
  opacity: 1;
}
.footer-download-cta:hover .footer-download-aura,
.footer-download-cta:focus-visible .footer-download-aura {
  opacity: 0.9;
  transform: translateY(6px) scale(1.03);
  filter: blur(30px);
}
.footer-download-cta:focus-visible {
  outline: none;
}
.footer-download-cta:active {
  transform: translateY(-1px);
}
@keyframes footer-download-border-spin {
  to { transform: rotate(1turn); }
}
@keyframes footer-download-ring-pulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.82;
  }
}

/* Premium Download Icon Hover Animation */
@keyframes premium-icon-loop {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  45% {
    transform: translateY(-28px);
    opacity: 0;
  }
  55% {
    transform: translateY(28px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.footer-download-icon.animate-icon-loop {
  animation: premium-icon-loop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 1.25rem;
}
.footer-links-col ul,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.footer-links-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(239, 242, 248, 0.9);
  font-size: 0.98rem;
  line-height: 1.5;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-links-col a::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(209, 156, 58, 0.44);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.25s ease, background 0.25s ease;
}
.footer-links-col a:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer-links-col a:hover::before {
  transform: scaleX(1);
  background: rgba(240, 187, 87, 0.95);
}
.footer-contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 0.9rem;
  color: rgba(239, 242, 248, 0.88);
  line-height: 1.65;
  transition: transform 0.25s ease, color 0.25s ease;
}
.footer-contact-item:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer-contact-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #efc575;
}
.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(212, 220, 232, 0.62);
  letter-spacing: 0.04em;
}
.footer-rs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 0.22rem;
  margin: 0 0.18rem;
  border-radius: 0.22em;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1;
  vertical-align: -0.18em;
  letter-spacing: 0.01em;
}
.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-bottom a {
  color: var(--maroon);
  transition: color var(--t-fast);
}
.footer-bottom a:hover {
  color: var(--gold);
}


/* FLOATING WHATSAPP */
.wa-float {
  position: fixed;
  right: max(30px, env(safe-area-inset-right));
  bottom: max(30px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18), 0 8px 18px rgba(37, 211, 102, 0.24);
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.96);
  transition: opacity 0.42s ease, transform 0.32s ease, bottom 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
  z-index: 9998;
  will-change: transform;
}
.wa-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  pointer-events: none;
}
body.loaded .wa-float {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.wa-float:hover,
.wa-float:focus-visible {
  color: #fff;
  background: #1fca5f;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.2), 0 10px 22px rgba(37, 211, 102, 0.28);
  transform: translate3d(0, -3px, 0) scale(1.035);
}
.wa-float:active {
  transform: translate3d(0, -1px, 0) scale(0.97);
}

/* ============================================================ SPACING UTILITIES */
.mb-2 { margin-bottom: 1.4rem; }
.mb-4 { margin-bottom: 4.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2.4rem; }

/* ============================================================ MOBILE OPTIMIZATION */
@media (max-width: 1024px) {
  .founder-philosophy-grid { gap: 3rem; }
  .founder-portrait { height: 520px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:nth-child(3)::before { display: none; }
  .split-container { gap: 3rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-zoom { width: calc(50% - 1.25rem); } 
}
@media (max-width: 1024px) {
  .founder-philosophy-grid { grid-template-columns: 1fr; }
  .founder-philosophy-copy h2, .founder-lead, .founder-philosophy-copy p { max-width: none; }
  .split-container { grid-template-columns: 1fr; }
  .image-main img, .split-image img { height: 400px; } 
  .home-image-slider { min-height: 400px; }
  .floating-badge { right: auto; left: 20px; bottom: -20px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item:nth-child(1)::after, .stat-item:nth-child(3)::after { display: block; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card-last { grid-column: span 2; }
}
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .founder-philosophy-section { padding: 90px 0; }
  .founder-philosophy-section::before { inset: 20px; }
  .founder-portrait { height: 420px; }
  .founder-philosophy-image { min-height: 0; }
  .founder-image-logo { top: 18px; left: 18px; width: 120px; }
  .founder-portrait-card { left: 20px; right: 20px; bottom: 20px; }
  .founder-signoff { gap: 1rem; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.2rem); } 
  h2 { font-size: clamp(2rem, 6vw, 2.6rem); }
  .language-switcher {
    margin-left: auto;
    margin-right: 0.85rem;
    min-height: 36px;
    padding: 0.09rem 0.50rem;
    gap: 0.14rem;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    touch-action: manipulation;
  }
  .language-option {
    min-width: 0;
    min-height: 32px;
    padding: 0 0.09rem;
    gap: 0.18rem;
    font-size: 0.56rem;
    letter-spacing: 0.035em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    touch-action: manipulation;
  }
  .language-option.active::after {
    left: 0.08rem;
    right: 0.08rem;
  }
  .hamburger { display: flex; z-index: 1001; }
  
  .nav-links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem 2rem; gap: 1.4rem; border-bottom: 1px solid var(--stone); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { color: var(--primary) !important; font-size: 0.9rem; }
  
  .product-grid { grid-template-columns: 1fr; }
  .product-card-zoom { width: 100%; } 
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card-last { grid-column: span 1; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; }
  .footer-col { padding: 1.25rem 0 0; }
  .footer-col::before { display: none; }
  .footer-col:not(:first-child) { border-top: 1px solid rgba(255,255,255,0.08); }
  .footer-download-cta {
    width: auto;
    max-width: 300px;
  }
  .download-company-profile {
    max-width: 100%;
    padding-right: 0;
  }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  
  .modal-box { margin: 0 15px; padding: 2.5rem 1.5rem; }
}
@media (max-width: 480px) {
  .language-switcher {
    margin-right: 0.5rem;
    padding: 0.14rem 0.3rem;
    gap: 0.08rem;
  }
  .language-option {
    min-height: 30px;
    padding: 0 0.06rem;
    gap: 0.14rem;
    font-size: 0.5rem;
    letter-spacing: 0.02em;
  }
  .language-divider {
    font-size: 0.6rem;
  }
  .founder-portrait { height: 340px; }
  .founder-image-logo { width: 104px; }
  .founder-portrait-card { padding: 1rem 1.1rem; }
  .founder-philosophy-section::before { inset: 14px; border-radius: 26px; }
  .container { padding: 0 1.5rem; }
  .section { padding: 60px 0; }
  .contact-main-section {
    padding-top: 64px;
    padding-bottom: calc(var(--mobile-dock-h) + 86px + env(safe-area-inset-bottom));
  }
  .contact-layout {
    gap: 2rem;
  }
  .contact-detail-box {
    gap: 1rem;
  }
  .contact-inquiry-card {
    padding: 1.55rem !important;
  }
  .contact-inquiry-card .form-group {
    margin-bottom: 1.25rem;
  }
  .hero-content h1 { font-size: 2.3rem; }
  .btn-group { flex-direction: column; align-items: stretch; width: 100%; gap: 1rem; }
  .btn { width: 100%; justify-content: center; }
  .stats-strip { padding: 50px 0; }
  .stats-inner { grid-template-columns: 1fr; gap: 2.5rem 0; }
  .stat-item::after { display: none !important; }
  .contact-detail-box { flex-direction: column; gap: 0.8rem; }
  .footer-download-cta {
    width: auto;
    max-width: 280px;
    min-height: 42px;
    gap: 0.6rem;
    padding: 0.48rem 0.72rem 0.48rem 0.58rem;
  }
  .footer-download-icon-wrap {
    width: 30px;
    height: 30px;
  }
  .footer-download-label {
    font-size: 0.72rem;
    white-space: nowrap;
  }
}

/* ============================================================ MOBILE PWA APP EXPERIENCE */
@media (max-width: 1024px) {
  :root {
    --mobile-dock-h: 78px;
    --mobile-ease: cubic-bezier(.22,.61,.36,1);
  }

  html {
    min-height: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top));
    scroll-padding-bottom: calc(var(--mobile-dock-h) + env(safe-area-inset-bottom) + 18px);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  body {
    min-height: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: calc(var(--mobile-dock-h) + env(safe-area-inset-bottom) + 14px);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    touch-action: pan-y pinch-zoom;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.34s var(--mobile-ease), transform 0.34s var(--mobile-ease), filter 0.34s var(--mobile-ease);
  }

  body.app-route-enter {
    animation: appRouteEnter 0.42s var(--mobile-ease) both;
  }

  body.app-route-leave {
    opacity: 0;
    transform: translateY(10px) scale(0.992);
    filter: blur(4px);
  }

  @keyframes appRouteEnter {
    from { opacity: 0; transform: translateY(12px) scale(0.992); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  }

  .navbar {
    top: env(safe-area-inset-top);
    height: 68px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
    transition: background 0.45s var(--mobile-ease), backdrop-filter 0.45s var(--mobile-ease), box-shadow 0.45s var(--mobile-ease), height 0.45s var(--mobile-ease), transform 0.45s var(--mobile-ease);
    transform: none;
  }

  .navbar.scrolled {
    height: 64px;
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  }

  .nav-inner {
    padding: 0 max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
    justify-content: flex-start;
  }

  .nav-logo {
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .navbar.scrolled .nav-logo {
    background: transparent;
    box-shadow: none;
  }

  .nav-logo img,
  .navbar.transparent .nav-logo img {
    height: 38px;
    filter: none;
  }

  .navbar.scrolled .nav-logo img {
    height: 38px;
    filter: none;
  }

  .hamburger {
    display: none;
  }

  .nav-links.mobile-bottom-dock,
  body > .nav-links.mobile-bottom-dock {
    position: fixed !important;
    top: auto !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    right: auto !important;
    z-index: 9999 !important;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 0.18rem;
    width: min(calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)), 540px);
    min-height: var(--mobile-dock-h);
    margin: 0 !important;
    padding: 0.54rem 0.54rem calc(0.54rem + env(safe-area-inset-bottom));
    border: 1px solid rgba(255,255,255,0.38);
    border-radius: 999px;
    background: rgba(255,255,255,0.74);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255,255,255,0.7);
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) !important;
    transition: transform 0.36s var(--mobile-ease), box-shadow 0.36s var(--mobile-ease);
    will-change: transform;
  }

  body.mobile-dock-hidden > .nav-links.mobile-bottom-dock {
    transform: translateX(-50%) translateY(calc(100% + 34px + env(safe-area-inset-bottom))) !important;
  }

  .nav-links.mobile-bottom-dock li {
    min-width: 0;
  }

  .nav-links.mobile-bottom-dock a,
  .nav-links.mobile-bottom-dock a.nav-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    min-height: 58px;
    padding: 0.48rem 0.2rem !important;
    border-radius: 22px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(17, 13, 64, 0.68) !important;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    transform: translateZ(0);
    transition: background 0.28s var(--mobile-ease), color 0.28s var(--mobile-ease), transform 0.28s var(--mobile-ease);
  }

  .nav-links.mobile-bottom-dock a::after {
    display: none;
  }

  .nav-links.mobile-bottom-dock a:active {
    transform: translateY(1px) scale(0.96);
  }

  .nav-links.mobile-bottom-dock a.active {
    background: rgba(28, 22, 102, 0.1) !important;
    color: var(--primary) !important;
  }

  .nav-app-icon {
    display: block;
    width: 22px;
    height: 22px;
    color: currentColor;
    transform: translateZ(0);
    transition: transform 0.28s var(--mobile-ease);
  }

  .nav-links.mobile-bottom-dock a.active .nav-app-icon {
    transform: translateY(-2px) scale(1.08);
  }

  .hero-home,
  .hero-slider-wrapper,
  .full-height-hero,
  .page-hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-slider-wrapper,
  .full-height-hero {
    height: 100svh;
    height: 100dvh;
  }

  .page-hero {
    display: flex;
    align-items: center;
    padding: calc(86px + env(safe-area-inset-top)) 0 calc(94px + env(safe-area-inset-bottom));
  }

  .hero-bg,
  .hero-slide-bg,
  .home-image-slide,
  .product-card-zoom,
  .step-card,
  .service-card {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .hero-bg,
  .hero-slide-bg {
    transition: transform 7s var(--mobile-ease), opacity 1.15s var(--mobile-ease);
    will-change: transform;
  }

  .hero-slide.active .hero-bg,
  .hero-slide.active .hero-slide-bg {
    transform: scale(1.01) translateZ(0);
  }

  .hero-content {
    padding: calc(80px + env(safe-area-inset-top)) 1.45rem calc(92px + env(safe-area-inset-bottom));
    transition: opacity 0.95s var(--mobile-ease), transform 0.95s var(--mobile-ease);
  }

  .section {
    padding: 78px 0;
  }

  .btn,
  button,
  .product-card-zoom,
  .step-card,
  .footer-download-cta,
  .custom-multiselect-trigger {
    transition-timing-function: var(--mobile-ease);
  }

  .btn:active,
  button:active,
  .product-card-zoom:active,
  .step-card:active {
    transform: scale(0.985);
  }

  .modal-overlay {
    height: 100svh;
    height: 100dvh;
    padding-top: calc(1rem + env(safe-area-inset-top));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .modal-box {
    max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .contact-main-section {
    padding-top: 78px;
    padding-bottom: calc(var(--mobile-dock-h) + 92px + env(safe-area-inset-bottom));
  }

  .contact-layout {
    gap: 2.5rem;
  }

  .contact-inquiry-card {
    max-height: none;
    overflow: visible;
    padding: 2.25rem !important;
  }

  .wa-float {
    top: auto;
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(var(--mobile-dock-h) + 28px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18), 0 8px 18px rgba(36, 196, 90, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9998;
    transition: opacity 0.42s var(--mobile-ease), transform 0.32s var(--mobile-ease), bottom 0.32s var(--mobile-ease), background 0.32s var(--mobile-ease), box-shadow 0.32s var(--mobile-ease);
  }

  .wa-float svg {
    width: 27px;
    height: 27px;
  }

  .wa-float:hover,
  .wa-float:active {
    background: #22bf55;
    transform: translate3d(0, -2px, 0) scale(0.98);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2), 0 10px 22px rgba(36, 196, 90, 0.26);
  }

  body.mobile-dock-hidden .wa-float {
    bottom: max(24px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  :root {
    --mobile-dock-h: 64px;
  }

  .nav-links.mobile-bottom-dock,
  body > .nav-links.mobile-bottom-dock {
    left: 50% !important;
    right: auto !important;
    min-height: var(--mobile-dock-h);
    width: min(calc(100vw - 36px - env(safe-area-inset-left) - env(safe-area-inset-right)), 560px);
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }

  .nav-links.mobile-bottom-dock a,
  .nav-links.mobile-bottom-dock a.nav-cta-btn {
    min-height: 48px;
    font-size: 0.58rem;
  }

  .nav-app-icon {
    width: 19px;
    height: 19px;
  }

  .hero-content,
  .page-hero {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  body.app-route-enter,
  body.app-route-leave {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ============================================================ MOBILE HERO REFINEMENT */
@media (max-width: 1024px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .navbar,
  .navbar.transparent,
  .navbar.scrolled {
    top: env(safe-area-inset-top) !important;
    height: 68px !important;
    justify-content: flex-start;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
    transform: none !important;
    z-index: 1004;
  }

  .navbar.scrolled {
    height: 64px !important;
    background: #ffffff !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1) !important;
  }

  .nav-inner {
    justify-content: flex-start;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
    pointer-events: none;
  }

  .language-switcher {
    pointer-events: auto !important;
    touch-action: manipulation;
    z-index: 1007;
  }

  .language-switcher *,
  .language-option {
    pointer-events: auto !important;
  }

  .nav-logo {
    pointer-events: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar.scrolled .nav-logo {
    background: transparent;
  }

  .nav-logo img,
  .navbar.transparent .nav-logo img {
    height: clamp(32px, 7.8vw, 40px);
    filter: none;
  }

  .navbar.scrolled .nav-logo img {
    height: clamp(32px, 7.8vw, 40px);
    filter: none;
  }

  .hamburger {
    display: none !important;
  }

  .nav-links.mobile-bottom-dock,
  body > .nav-links.mobile-bottom-dock,
  body > .nav-links.mobile-bottom-dock.open {
    position: fixed !important;
    top: auto !important;
    inset-block-start: auto !important;
    inset-block-end: max(16px, env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    right: auto !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    flex-direction: initial !important;
    width: min(calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)), 540px) !important;
    min-height: 74px !important;
    padding: 0.5rem !important;
    gap: 0.14rem !important;
    border: 1px solid rgba(255,255,255,0.42) !important;
    border-radius: 28px !important;
    background: rgba(255,255,255,0.78) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255,255,255,0.72) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) !important;
    pointer-events: auto;
    z-index: 9999 !important;
  }

  body.mobile-dock-hidden > .nav-links.mobile-bottom-dock {
    transform: translateX(-50%) translateY(calc(100% + 34px + env(safe-area-inset-bottom))) !important;
  }
}

@media (max-width: 768px) {

  .hero-home,
  .hero-slider-wrapper,
  .full-height-hero {
    height: 100svh;
    height: 100dvh;
    min-height: 620px;
    max-height: none;
    overflow: hidden;
  }

  .hero-slide {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: stretch;
  }

  .hero-slide > .container {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 0;
  }

  .hero-bg,
  .hero-slide-bg {
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 11, 28, 0.34) 0%, rgba(8, 11, 28, 0.66) 42%, rgba(8, 11, 28, 0.78) 100%),
      linear-gradient(135deg, rgba(15,23,42,0.5), rgba(15,23,42,0.18)) !important;
  }

  .hero-content {
    width: 100%;
    max-width: 430px;
    padding-inline: min(6vw, 32px);
    padding-top: max(90px, env(safe-area-inset-top));
    padding-bottom: max(120px, env(safe-area-inset-bottom));
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: translateY(18px);
  }

  .hero-slide.active .hero-content {
    transform: translateY(0);
  }

  .hero-content .eyebrow {
    max-width: 100%;
    margin-bottom: 1rem;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255,0.82) !important;
    font-size: clamp(0.62rem, 2.4vw, 0.82rem);
    line-height: 1.35;
    letter-spacing: 0.12em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-content .eyebrow::before {
    width: 28px;
    flex: 0 0 28px;
  }

  .hero-content h1 {
    width: 100%;
    margin: 0 0 1rem;
    color: var(--white);
    font-size: clamp(24px, 7vw, 52px);
    line-height: 1.15;
    letter-spacing: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .hero-content h1 em {
    display: inline;
    line-height: inherit;
  }

  .hero-content p {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 1.6rem !important;
    color: rgba(255,255,255,0.88);
    font-size: clamp(0.95rem, 3.8vw, 1.08rem);
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .hero-content .btn-group {
    width: 100%;
    max-width: 360px;
    gap: 0.9rem;
  }

  .hero-content .btn {
    min-height: 54px;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    white-space: normal;
  }

}

@media (max-width: 480px) {
  .contact-main-section {
    padding-top: 64px;
    padding-bottom: calc(var(--mobile-dock-h) + 86px + env(safe-area-inset-bottom));
  }

  .contact-layout {
    gap: 2rem;
  }

  .contact-inquiry-card {
    padding: 1.55rem !important;
  }
}

@media (max-width: 360px) {
  .navbar .nav-links,
  .navbar.scrolled .nav-links,
  .nav-links,
  .nav-links.open {
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    border-radius: 24px !important;
    padding: 0.42rem !important;
  }

  .nav-links a,
  .navbar.scrolled .nav-links a,
  .nav-links a.nav-cta-btn,
  .navbar.scrolled .nav-links a.nav-cta-btn {
    font-size: 0.56rem;
  }

  .nav-app-icon {
    width: 19px;
    height: 19px;
  }

  .hero-content p {
    font-size: 0.93rem;
    line-height: 1.55;
  }
}
