/* ═══════════════════════════════════════════════════════════════
   XPHERE GLOBAL — Brand Kit v3.0 (Maersk Industrial Inspired)
   Barlow Display × Inter Body × JetBrains Mono | Obsidian & Terracotta
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Surface & Background Base */
  --bg-dark-obsidian:     #111317; /* Deep Slate Charcoal */
  --bg-espresso-dark:     #1C1917; /* Deep Espresso Charcoal */
  --bg-porcelain-light:   #F7F5F0;
  --bg-card-light:        #FCFAFA;
  --bg-sand-light:        #F4EFEA; /* Warm Porcelain Linen */
  --bg-glass-frosted:     rgba(28, 25, 23, 0.75); /* Dark Glassmorphic Base */

  /* Brand Accent Tokens */
  --patina:                  #279698; /* Vivid Sea Green / Patina Accent */
  --paper:                   #FAF7F2; /* Warm Cream Paper Base */
  --ink:                     #111317; /* Deep Slate Ink */
  --ink-10:                  rgba(17, 19, 23, 0.1);
  --ink-15:                  rgba(17, 19, 23, 0.15);
  --ink-60:                  rgba(17, 19, 23, 0.6);
  --color-accent-terracotta: #279698; /* Sea Green Glaze Accent */
  --color-accent-flame:      #1BA3A1; /* Vivid Sea Green */
  --color-accent-glow:       rgba(39, 150, 152, 0.25);
  --color-dark-espresso:     #27150C; /* Creanza Signature Deep Brown */

  /* Neutral Tone Tints */
  --color-sandstone-muted:   #8C827A;
  --color-stone-border:      #E2DDD5;
  --color-dark-border:       rgba(255, 255, 255, 0.08);
  --color-border-accent:     #D96B27;

  /* Text & Contrast Hierarchy */
  --color-text-dark-main:    #111317; /* High contrast text on light bg */
  --color-text-light-main:   #F8F9FA; /* High contrast text on dark bg */
  --color-text-body-muted:   #64748B; /* Slate warm gray body text */

  /* Typography (Maersk Inspired: Barlow Display + Inter Body + JetBrains Mono) */
  --font-display: 'Barlow', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --font-sans:    'Inter', sans-serif;

  /* Spacing */
  --section-gap:     110px;
  --container-max:   1400px;
  --margin-desktop:  80px;
  --margin-mobile:   24px;

  /* Transitions */
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { cursor: none !important; }

body {
  background-color: var(--bg-porcelain-light);
  color: var(--color-text-dark-main);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-accent-terracotta);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--color-text-dark-main);
}

/* ── Typography Scale ── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--color-text-dark-main);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--color-text-dark-main);
}

.headline-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--color-text-dark-main);
}

.body-lg {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-body-muted);
}

.body-md {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-text-body-muted);
}

.label-sm {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
}

/* ── Reveal Animations ── */
.text-reveal {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 1s var(--ease-out);
}

.text-reveal.visible span {
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utility Classes ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-desktop);
  width: 100%;
}

.shader-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

#grainCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.glass-card {
  background: var(--bg-glass-frosted);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-dark-border);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
  color: var(--color-text-light-main);
}

/* ── Creanza × Marfil Buttons ── */
.btn-xphere-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(39, 150, 152, 0.35);
  border: 1px solid rgba(39, 150, 152, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(39, 150, 152, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.btn-xphere-primary:hover {
  background: rgba(39, 150, 152, 0.75);
  border-color: #279698;
  box-shadow: 0 12px 36px rgba(39, 150, 152, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--color-stone-border);
  background: transparent;
  color: var(--color-text-dark-main);
  transition: all 0.3s var(--ease-out);
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-terracotta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background-color 0.3s ease;
}

#cursor::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(217, 107, 39, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s ease;
}

#cursor.hover {
  width: 12px;
  height: 12px;
  background-color: transparent;
}

#cursor.hover::after {
  width: 60px;
  height: 60px;
  border-color: rgba(217, 107, 39, 0.8);
  background-color: rgba(217, 107, 39, 0.05);
}

@media (pointer: coarse) {
  #cursor {
    display: none !important;
  }
}

.btn-ghost:hover {
  background: var(--bg-dark-obsidian);
  border-color: var(--bg-dark-obsidian);
  color: #FFFFFF;
}

.btn-ghost-light {
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF;
}

.btn-ghost-light:hover {
  background: #FFFFFF;
  color: var(--bg-dark-obsidian);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--margin-desktop);
  background: var(--bg-dark-obsidian);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--ease-out), background 0.4s ease;
}



.nav.hidden {
  transform: translateY(-100%);
}

.nav-brand img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}
.nav-brand img:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF; /* White text for dark navbar */
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}



.nav-link:hover {
  color: var(--color-accent-terracotta) !important;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  width: 230px;
  background: var(--bg-porcelain-light);
  border: 1px solid var(--color-stone-border);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
  z-index: 110;
}

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

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-dark-main);
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  background: var(--bg-sand-light);
  color: var(--color-accent-terracotta);
}

.nav-hamburger {
  display: none;
  font-size: 24px;
  color: #FFFFFF; /* White for dark navbar */
}



/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-porcelain-light);
  z-index: 200;
  padding: 80px var(--margin-mobile) 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.45s var(--ease-out);
}

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

.mobile-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--color-text-dark-main);
  background: none;
  border: none;
}

.mobile-drawer-link {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-text-dark-main);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-stone-border);
}

.mobile-drawer-sublink {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-body-muted);
  padding: 10px 0 10px 16px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION (DARK OBSIDIAN / TERRACOTTA)
   ═══════════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--margin-desktop) 60px;
  background: var(--bg-dark-obsidian);
  color: var(--color-text-light-main);
  overflow: hidden;
}

/* Luxury Texture Background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
  filter: contrast(1.1) brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 19, 23, 0.4) 0%, rgba(17, 19, 23, 0.85) 100%);
  z-index: 1;
}

.hero-center {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--color-accent-terracotta);
}

.hero-split-wrap {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 40px;
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--color-text-light-main);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-facility-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 19, 23, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(185, 213, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-facility-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 213, 255, 0.35);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.75), 0 0 45px rgba(185, 213, 255, 0.12);
}

.facility-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 433;
  overflow: hidden;
  background: #0A0B0E;
  display: block;
}

.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-facility-card:hover .facility-img {
  transform: scale(1.025);
}

.hero-facility-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 17, 21, 0.95);
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.facility-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent-terracotta);
  box-shadow: 0 0 8px var(--color-accent-terracotta);
  flex-shrink: 0;
}

.facility-badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  .hero-split-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-headline {
    font-size: clamp(28px, 4.8vw, 42px);
  }
  .hero-facility-card {
    max-width: 640px;
    margin: 0 auto;
  }
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(17, 19, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-stat-box {
  padding: 30px var(--margin-desktop);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-box:last-child {
  border-right: none;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--color-text-light-main);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO / BREADCRUMB (Subpages)
   ═══════════════════════════════════════════════════════════════ */

.page-hero {
  padding: clamp(96px, 12vh, 116px) 0 clamp(32px, 4vh, 40px);
  border-bottom: 1px solid rgba(17, 19, 23, 0.08);
  background: linear-gradient(180deg, #FAF8F5 0%, #F3EEE8 100%);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 90px;
  height: 2px;
  background: var(--patina);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 12px;
  background: rgba(17, 19, 23, 0.04);
  border: 1px solid rgba(17, 19, 23, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.breadcrumb a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--patina);
}

.breadcrumb span {
  margin: 0 4px;
  color: rgba(17, 19, 23, 0.3);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text-dark-main);
  margin-bottom: 10px;
}

.page-subtitle {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.05vw, 15.5px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #475569;
  max-width: 760px;
  line-height: 1.6;
  margin: 0;
  text-transform: none;
}

.timeline-v-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-dark-main);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dark-main);
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS 5-CARD SHOWCASE (Home) — ALL 5 FIT IN SINGLE SCREEN
   ═══════════════════════════════════════════════════════════════ */

.products-section {
  padding: clamp(50px, 6.5vh, 80px) 0;
  width: 100%;
  background: var(--bg-dark-obsidian);
  color: var(--color-text-light-main);
  overflow-x: hidden;
}

.products-header {
  padding: 0 var(--margin-desktop);
  margin-bottom: clamp(24px, 3vh, 40px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.products-header .display-lg {
  color: var(--color-text-light-main);
  font-size: clamp(32px, 3.8vw, 56px);
  letter-spacing: 0.02em;
  margin: 0;
}

.horizontal-scroll-wrap {
  position: relative;
  width: 100%;
  padding: 0 var(--margin-desktop);
  box-sizing: border-box;
  overflow: visible;
}

.horizontal-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.1vw, 16px);
  width: 100%;
  box-sizing: border-box;
}

.product-card {
  width: 100%;
  height: clamp(390px, 47vh, 460px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 1.8vw, 30px) clamp(14px, 1.2vw, 20px);
  background: var(--bg-glass-frosted);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-terracotta);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.65) contrast(1.05);
  transition: opacity 0.5s ease, transform 0.6s ease, filter 0.5s ease;
  z-index: 0;
}

.product-card:hover .product-card-img {
  opacity: 0.75;
  filter: brightness(0.95) contrast(1.1);
  transform: scale(1.04);
}

.product-card-content {
  position: relative;
  z-index: 1;
}

.product-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 8px;
  font-weight: 500;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--color-text-light-main);
}

.product-card-desc {
  font-size: clamp(12px, 0.86vw, 13.5px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
}

.product-card-link {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, transform 0.3s ease;
  margin-top: 14px;
}

.product-card:hover .product-card-link {
  color: var(--color-accent-terracotta);
  transform: translateX(3px);
}

/* ─── Tablet Optimization (768px - 1024px) ─── */
@media (min-width: 641px) and (max-width: 1024px) {
  .products-section {
    padding: 44px 0 50px;
  }
  .products-header,
  .horizontal-scroll-wrap {
    padding: 0 var(--margin-mobile);
  }
  .horizontal-track {
    gap: 8px;
  }
  .product-card {
    height: 380px;
    padding: 16px 12px;
  }
  .product-card-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .product-card-desc {
    font-size: 11px;
    line-height: 1.45;
  }
  .product-card-num,
  .product-card-link {
    font-size: 9.5px;
  }
}

/* ─── Mobile Optimization (< 640px) — Fits All 5 in Single Screen ─── */
@media (max-width: 640px) {
  .products-section {
    padding: 28px 0 24px;
  }
  .products-header {
    padding: 0 16px;
    margin-bottom: 14px;
  }
  .horizontal-scroll-wrap {
    padding: 0 16px;
  }
  .horizontal-track {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(66px, 9.5vh, 76px) !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 6px;
  }
  .product-card:hover {
    transform: translateY(-2px);
  }
  .product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
  .product-card-num {
    font-size: 9.5px;
    margin-bottom: 0;
    letter-spacing: 0.1em;
  }
  .product-card-title {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.2;
  }
  .product-card-desc {
    display: none;
  }
  .product-card-link {
    font-size: 10.5px;
    margin-top: 0;
    white-space: nowrap;
    color: var(--color-accent-terracotta);
    flex-shrink: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAIL GRID
   ═══════════════════════════════════════════════════════════════ */

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.product-item-box {
  background: #FFFFFF;
  border: 1px solid var(--color-stone-border);
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item-box:hover {
  border-color: var(--color-accent-terracotta);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.03);
}

.product-item-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 24px;
  background: var(--bg-sand-light);
}

.product-item-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--color-text-dark-main);
}

.product-item-desc {
  font-size: 15px;
  color: var(--color-text-body-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES RECONSTRUCTION
   ═══════════════════════════════════════════════════════════════ */

/* Section 1: Intro Header & 8 Boolean Feature Badges */
.services-intro-section {
  padding-top: 44px;
  padding-bottom: 70px;
}

.services-intro-head {
  max-width: 980px;
  margin-bottom: 44px;
}

.services-intro-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text-dark-main);
  margin-bottom: 18px;
}

.services-intro-lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: #475569;
  margin: 0;
}

.services-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.service-pill-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-pill-item:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 150, 152, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.service-pill-item:hover .service-pill-icon {
  transform: scale(1.06);
  box-shadow: 0 0 14px rgba(39, 150, 152, 0.35);
}

.service-pill-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.service-pill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-pill-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-text-dark-main);
  margin: 0;
}

/* Section 2: Seamless Support Split Layout */
.services-support-section {
  padding: 80px 0;
  background: #FAF8F5;
  border-top: 1px solid rgba(17, 19, 23, 0.06);
  border-bottom: 1px solid rgba(17, 19, 23, 0.06);
}

.services-support-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.services-support-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text-dark-main);
  margin-bottom: 24px;
}

.services-support-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 18px;
}

.services-support-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(17, 19, 23, 0.04);
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-dark-main);
}

.support-badge-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--patina);
}

.services-support-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 13;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(17, 19, 23, 0.08);
  background: #EAE6E1;
}

.services-support-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-support-img-wrap:hover .services-support-img {
  transform: scale(1.03);
}

/* Section 3: R&D Video Showcase (Dark Obsidian Section) */
.services-rd-section {
  padding: 90px 0 80px;
  background: var(--bg-dark-obsidian);
  color: var(--color-text-light-main);
  position: relative;
  overflow: hidden;
}

.services-rd-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(circle, rgba(39, 150, 152, 0.08) 0%, rgba(14, 16, 19, 0) 70%);
  pointer-events: none;
}

.services-rd-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 44px;
}

.services-rd-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--patina);
  margin-bottom: 14px;
  display: inline-block;
}

.services-rd-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.services-rd-subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: #94A3B8;
  max-width: 820px;
  margin: 0 auto;
}

.services-rd-video-container {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.services-rd-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(39, 150, 152, 0.12);
}

.services-rd-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-rd-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(14, 16, 19, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(39, 150, 152, 0.4);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  z-index: 3;
}

.services-rd-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--patina);
  box-shadow: 0 0 8px var(--patina);
}

/* ═══════════════════════════════════════════════════════════════
   CSR (CORPORATE SOCIAL RESPONSIBILITY)
   ═══════════════════════════════════════════════════════════════ */

.csr-hero-banner-container {
  width: 100%;
  margin-top: 80px;
  position: relative;
  background: #111A16;
  overflow: hidden;
}

.csr-hero-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 512;
  object-fit: cover;
  display: block;
}

.csr-intro-section {
  padding: 60px 0 20px;
  max-width: 920px;
}

.csr-intro-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  color: #1A1F26;
  margin-bottom: 20px;
  line-height: 1.25;
}

.csr-intro-desc {
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.85;
  color: #4A5260;
  font-weight: 300;
}

.csr-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin: 36px 0 60px;
}

.csr-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid rgba(220, 226, 235, 0.9);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.csr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
}

.csr-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #EAEFF5;
}

.csr-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.csr-card:hover .csr-card-img {
  transform: scale(1.035);
}

.csr-card-body {
  padding: 28px 30px 34px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.csr-card-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 600;
  color: #172A46;
  margin-bottom: 16px;
  line-height: 1.3;
}

.csr-card-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: #4A5568;
  margin-bottom: 12px;
}

.csr-card-desc:last-child {
  margin-bottom: 0;
}

/* ─── CSR Gallery Carousel / Slider ─── */
.csr-gallery-section {
  margin: 20px 0 60px;
}

.csr-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.csr-gallery-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #172A46;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.csr-slider-arrows {
  display: flex;
  gap: 10px;
}

.csr-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #FFFFFF;
  color: #172A46;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.csr-arrow-btn:hover {
  background: #172A46;
  color: #FFFFFF;
  border-color: #172A46;
}

.csr-gallery-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(39, 150, 152, 0.4) transparent;
}

.csr-gallery-slider::-webkit-scrollbar {
  height: 6px;
}

.csr-gallery-slider::-webkit-scrollbar-thumb {
  background: rgba(39, 150, 152, 0.4);
  border-radius: 3px;
}

.csr-gallery-card {
  flex: 0 0 340px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(220, 226, 235, 0.8);
  background: #FFFFFF;
  transition: transform 0.4s ease;
}

.csr-gallery-card:hover {
  transform: translateY(-4px);
}

.csr-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .csr-card-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .csr-gallery-card {
    flex: 0 0 280px;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 20px 0 0;
}

/* Left: Form Card */
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-top: 3px solid var(--color-accent-terracotta);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(17, 19, 23, 0.04);
  padding: 40px;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-text-dark-main);
  line-height: 1.2;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(17, 19, 23, 0.6);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #FAF8F5;
  border: 1px solid rgba(17, 19, 23, 0.12);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-dark-main);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(17, 19, 23, 0.35);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--color-accent-terracotta);
  box-shadow: 0 0 0 3px rgba(39, 150, 152, 0.16);
}

.form-select {
  cursor: pointer;
  appearance: auto;
}

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

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #279698 0%, #1BA3A1 100%);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(39, 150, 152, 0.35);
  transition: all 0.3s ease;
}

.form-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(39, 150, 152, 0.45);
}

/* Right: Corporate Headquarters Card & Reference Map */
.contact-hq-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-top: 3px solid var(--color-accent-terracotta);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(17, 19, 23, 0.04);
  padding: 36px 32px;
}

.contact-hq-header {
  margin-bottom: 22px;
}

.contact-hq-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 6px;
}

.contact-hq-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text-dark-main);
  letter-spacing: 0.01em;
  margin: 0;
}

/* Contact Detail Rows with Badges (Ref: Screenshot 3) */
.contact-details-list {
  display: flex;
  flex-direction: column;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(17, 19, 23, 0.07);
}

.contact-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.contact-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(39, 150, 152, 0.08);
  border: 1px solid rgba(39, 150, 152, 0.18);
  color: var(--color-accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-icon-badge svg {
  stroke: var(--color-accent-terracotta);
}

.contact-detail-content {
  flex: 1;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(17, 19, 23, 0.85);
}

.contact-link {
  color: rgba(17, 19, 23, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-accent-terracotta);
  text-decoration: underline;
}

.contact-detail-value .sep {
  color: rgba(17, 19, 23, 0.28);
  margin: 0 5px;
}

/* Responsive Embedded Google Map */
.contact-map-wrapper {
  margin-top: 22px;
  border: 1px solid rgba(17, 19, 23, 0.1);
  border-radius: 6px;
  overflow: hidden;
  background: #F9FAFB;
  box-shadow: 0 4px 14px rgba(17, 19, 23, 0.03);
}

.contact-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F4F6F7;
  border-bottom: 1px solid rgba(17, 19, 23, 0.08);
}

.contact-map-caption {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(17, 19, 23, 0.7);
  letter-spacing: 0.02em;
}

.contact-map-caption svg {
  color: var(--color-accent-terracotta);
}

.contact-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-accent-terracotta);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(39, 150, 152, 0.1);
  border: 1px solid rgba(39, 150, 152, 0.2);
  transition: all 0.2s ease;
}

.contact-map-btn:hover {
  background: var(--color-accent-terracotta);
  color: #FFFFFF;
}

.contact-map-btn:hover svg {
  stroke: #FFFFFF;
}

.contact-map-frame-box iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   MANUFACTURING & INFRASTRUCTURE SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact-infra-section {
  background: #F7F9FA;
  border-top: 1px solid rgba(17, 19, 23, 0.07);
  border-bottom: 1px solid rgba(17, 19, 23, 0.07);
  padding: 68px 0 88px;
}

.infra-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.infra-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 8px;
}

.infra-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--color-text-dark-main);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.infra-subtitle {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(17, 19, 23, 0.68);
  margin: 0;
}

.infra-units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.infra-unit-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-radius: 6px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(17, 19, 23, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.infra-unit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 19, 23, 0.08);
  border-color: rgba(39, 150, 152, 0.35);
}

.infra-unit-card.infra-unit-featured {
  border-top: 3px solid var(--color-accent-terracotta);
  background: #FCFDFD;
}

.infra-unit-card.infra-unit-alliance {
  border-top: 3px solid #1E293B;
}

.infra-unit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.infra-unit-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(39, 150, 152, 0.1);
  color: var(--color-accent-terracotta);
}

.infra-unit-loc {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: rgba(17, 19, 23, 0.45);
  text-transform: uppercase;
}

.infra-unit-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-text-dark-main);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.infra-unit-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(17, 19, 23, 0.72);
  margin: 0;
}

.infra-unit-dual-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.infra-unit-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(17, 19, 23, 0.82);
}

.infra-line-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-terracotta);
  flex-shrink: 0;
  margin-top: 3px;
}

.infra-line-text strong {
  color: var(--color-text-dark-main);
  font-weight: 600;
}

/* Backward compatibility fallback */
.contact-info-box {
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-top: 3px solid var(--color-accent-terracotta);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.03);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 12px;
}

.contact-info-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(17, 19, 23, 0.72);
}

.contact-info-text strong {
  color: var(--color-text-dark-main);
  font-weight: 600;
}

.contact-units-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-units-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(17, 19, 23, 0.72);
  padding: 6px 0;
  border-bottom: 1px solid rgba(17, 19, 23, 0.05);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.contact-units-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-units-list li::before {
  content: "—";
  color: var(--color-accent-terracotta);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.contact-units-list strong {
  color: var(--color-text-dark-main);
  font-weight: 600;
}

.contact-alliance-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(17, 19, 23, 0.72);
}

.contact-alliance-text strong {
  color: var(--color-text-dark-main);
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form-card {
    padding: 30px 22px;
  }
  .contact-hq-card {
    padding: 30px 22px;
  }
  .contact-info-box {
    padding: 22px 20px;
  }
  .infra-units-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-submit {
    width: 100%;
  }
  .contact-hq-card {
    padding: 22px 18px;
  }
  .contact-detail-row {
    gap: 12px;
    padding: 11px 0;
  }
  .contact-icon-badge {
    width: 32px;
    height: 32px;
  }
  .contact-map-frame-box iframe {
    height: 200px;
  }
  .infra-units-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-infra-section {
    padding: 48px 0 64px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HISTORICAL MILESTONES — OBSIDIAN CRYSTALLINE ARCHITECTURE
   ═══════════════════════════════════════════════════════════════ */

.timeline-obsidian-section {
  position: relative;
  background-color: #0B0E14;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(45, 212, 191, 0.07) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  background-position: center top, center center, center center;
  padding: 100px 0 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  overflow: hidden;
}

/* Ambient Radial Stage Glow */
.timeline-ambient-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, rgba(39, 150, 152, 0.035) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Section Header */
.timeline-header-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 2;
}

.timeline-beacon-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
  margin-bottom: 20px;
}

.timeline-beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2DD4BF;
  box-shadow: 0 0 10px #2DD4BF;
  position: relative;
  animation: beaconBlink 2.2s infinite ease-in-out;
}

@keyframes beaconBlink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px #2DD4BF, 0 0 16px rgba(45, 212, 191, 0.6);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 4px #2DD4BF;
  }
}

.timeline-beacon-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2DD4BF;
}

.timeline-obsidian-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin: 0 0 18px;
}

.timeline-obsidian-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
  max-width: 660px;
}

/* Timeline Container */
.timeline-v-list {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 0;
  z-index: 2;
}

/* Central Illuminated Spine Track */
.timeline-spine-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 1;
  overflow: hidden;
}

/* Scroll progress indicator */
.timeline-spine-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2DD4BF 0%, #279698 50%, #2DD4BF 100%);
  transform-origin: top center;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.7), 0 0 30px rgba(45, 212, 191, 0.35);
}

/* Continuous traveling laser beam scan down spine */
.timeline-spine-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, #FFFFFF 50%, #2DD4BF 80%, transparent 100%);
  opacity: 0.85;
  filter: blur(1px);
  animation: spineBeamScan 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes spineBeamScan {
  0% {
    top: -150px;
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Milestone Row (Alternating Left/Right) */
.timeline-v-item {
  position: relative;
  width: 50%;
  margin-bottom: 56px;
  z-index: 2;
}

.timeline-v-item:nth-child(odd) {
  left: 0;
  padding-right: 56px;
  text-align: left;
}

.timeline-v-item:nth-child(even) {
  left: 50%;
  padding-left: 56px;
  text-align: left;
}

/* Connector Hairlines to Center Spine */
.timeline-v-item::after {
  content: '';
  position: absolute;
  top: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.15), rgba(45, 212, 191, 0.35));
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.timeline-v-item:nth-child(odd)::after {
  right: 0;
  width: 56px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.15), rgba(45, 212, 191, 0.45));
}

.timeline-v-item:nth-child(even)::after {
  left: 0;
  width: 56px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.45), rgba(45, 212, 191, 0.15));
}

.timeline-v-item:hover::after {
  background: #2DD4BF;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.85);
}

/* Glowing Timeline Dot on Center Spine */
.timeline-v-dot {
  position: absolute;
  top: 29px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0B0E14;
  border: 2px solid #2DD4BF;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.16), 0 0 16px rgba(45, 212, 191, 0.4);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.timeline-v-item:nth-child(odd) .timeline-v-dot {
  right: -12px;
}

.timeline-v-item:nth-child(even) .timeline-v-dot {
  left: -12px;
}

/* Active radar pulse wave around the dot */
.timeline-dot-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.7);
  animation: dotRadar 3s infinite ease-out;
  pointer-events: none;
}

@keyframes dotRadar {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.timeline-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2DD4BF;
  box-shadow: 0 0 8px #2DD4BF;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
}

.timeline-v-item:hover .timeline-v-dot {
  transform: scale(1.35);
  border-color: #FFFFFF;
  box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.28), 0 0 24px rgba(45, 212, 191, 0.7);
}

.timeline-v-item:hover .timeline-dot-inner {
  transform: scale(1.2);
  background: #FFFFFF;
  box-shadow: 0 0 10px #FFFFFF;
}

/* Luxury Crystalline Milestone Card */
.timeline-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 16px;
  padding: 30px 32px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              background 0.4s ease;
}

/* Hairline accent at top */
.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2DD4BF, rgba(45, 212, 191, 0.15));
  opacity: 0.8;
  transition: opacity 0.35s ease, height 0.35s ease;
}

/* Hover dynamic state */
.timeline-v-item:hover .timeline-card {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(45, 212, 191, 0.14);
  border-color: rgba(45, 212, 191, 0.38);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
}

.timeline-v-item:hover .timeline-card::before {
  opacity: 1;
  height: 3px;
  background: linear-gradient(90deg, #2DD4BF 30%, #5EEAD4 70%, rgba(45, 212, 191, 0.4) 100%);
}

/* Card Header (Year + Phase Tag) */
.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.timeline-v-year {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.01em;
}

.timeline-phase-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2DD4BF;
  background: rgba(45, 212, 191, 0.09);
  border: 1px solid rgba(45, 212, 191, 0.28);
  padding: 4px 11px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Card Title */
.timeline-v-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.32;
  letter-spacing: 0.01em;
}

/* Card Description */
.timeline-v-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Ambient Year Watermark */
.timeline-card-watermark {
  position: absolute;
  right: 18px;
  bottom: 0px;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.032);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  z-index: 1;
}

.timeline-v-item:hover .timeline-card-watermark {
  transform: translateY(-6px) scale(1.05);
  color: rgba(45, 212, 191, 0.075);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
  width: 100%;
  padding: 42px var(--margin-desktop) 20px;
  background: var(--bg-espresso-dark);
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1.6fr;
  gap: 32px 28px;
  max-width: var(--container-max);
  margin: 0 auto 20px;
}

.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.footer-social-btn:hover {
  background: var(--color-accent-terracotta);
  border-color: var(--color-accent-terracotta);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 150, 152, 0.35);
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  transition: transform 0.2s ease;
}

.footer-social-btn:hover svg {
  transform: scale(1.1);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 12px;
}

.footer-office-title {
  color: var(--color-accent-terracotta);
  font-weight: 600;
  display: inline-block;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col li:empty {
  display: none !important;
}

.footer-col a {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-col p {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(250, 250, 247, 0.65) !important;
}

.footer-contact-link {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.25s ease;
}

.footer-contact-link:hover {
  color: var(--color-accent-terracotta) !important;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

/* ═══════════════════════════════════════════════════════════════
   APPLY / CAREERS SCREENING MODAL
   ═══════════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 16, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #191C21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(39, 150, 152, 0.25);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  border-radius: 4px;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.modal-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--color-accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 24px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 600px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-box {
    padding: 28px 20px;
  }
  .modal-title {
    font-size: 26px;
  }
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.form-input-box, .form-select-box, .form-textarea-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFF;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.form-input-box::placeholder, .form-textarea-box::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input-box:focus, .form-select-box:focus, .form-textarea-box:focus {
  border-color: var(--color-accent-terracotta);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(39, 150, 152, 0.25);
}

.form-select-box option {
  background: #191C21;
  color: #FFFFFF;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(135deg, #279698 0%, #1BA3A1 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(39, 150, 152, 0.35);
}

.form-submit-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(39, 150, 152, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --margin-desktop: 40px;
    --section-gap: 80px;
  }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .hero-bottom { grid-template-columns: repeat(2, 1fr); position: relative; }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.1fr 1.5fr;
    gap: 24px 20px;
    margin-bottom: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-landing {
    margin-top: 80px;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 60vh;
  }
  .hero-massive-title {
    font-size: clamp(38px, 8vw, 68px);
  }
}

@media (max-width: 768px) {
  :root {
    --margin-desktop: var(--margin-mobile);
    --section-gap: 60px;
  }
  .hero { padding: 120px var(--margin-mobile) 32px; min-height: auto; }
  .hero-bottom { grid-template-columns: 1fr; }
  .services-grid, .csr-card-grid, .contact-layout { grid-template-columns: 1fr; }
}




/* -- Hero Video Landing -- */
.hero-landing {
  position: relative;
  width: 100%;
  margin-top: 92px;
  height: calc(100vh - 92px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-dark-obsidian);
  overflow: hidden;
}

.hero-video-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-massive-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-transform: uppercase;
  z-index: 10;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

/* ── Hero Bottom Overlapping Header (Bold Italic Editorial Type) ── */
.hero-bottom-caption-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 120px var(--margin-desktop) 38px;
  background: linear-gradient(180deg, rgba(17, 19, 23, 0) 0%, rgba(17, 19, 23, 0.45) 40%, rgba(17, 19, 23, 0.94) 100%);
  pointer-events: none;
}

.hero-caption-content {
  text-align: left;
  max-width: 1100px;
  width: 100%;
}

.hero-bottom-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.1vw, 39px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.92), 0 2px 6px rgba(0, 0, 0, 0.98);
}

.hero-hl-line {
  display: block;
}

.hero-hl-accent {
  color: #2DD4BF;
  font-weight: 400;
  text-shadow: 0 0 25px rgba(45, 212, 191, 0.4), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-continuation {
  position: relative;
  padding: 100px var(--margin-desktop) 60px;
  background: var(--bg-dark-obsidian);
  color: var(--color-text-light-main);
  overflow: hidden;
}

/* -- Comprehensive Mobile & Layout Fixes -- */
html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100%;
}
img {
  height: auto; /* Prevent vertical stretching for standard images */
}

@media (max-width: 768px) {
  /* Navigation Bar Compact Header */
  .nav {
    padding: 12px var(--margin-mobile) !important;
  }
  .nav-brand img {
    height: 38px !important;
  }

  /* Hero Landing Video Section */
  .hero-landing {
    margin-top: 66px;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
  .hero-massive-title {
    font-size: clamp(24px, 7vw, 38px);
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.85);
  }
  .hero-bottom-caption-wrap {
    padding: 16px var(--margin-mobile) 12px;
    background: linear-gradient(180deg, rgba(17, 19, 23, 0) 0%, rgba(17, 19, 23, 0.65) 30%, rgba(17, 19, 23, 0.96) 100%);
  }
  .hero-bottom-headline {
    font-size: clamp(13px, 3.6vw, 16.5px);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  .hero-continuation {
    padding-top: 40px !important;
    padding-bottom: 24px !important;
  }
  .mobile-drawer {
    height: 100svh;
  }

  /* Global Synergies & Vision Section */
  .global-vision-section {
    padding: 40px 0 0 !important;
  }
  .global-vision-heading {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 14px !important;
  }
  .global-vision-subtext {
    font-size: 14px !important;
    line-height: 1.65 !important;
    padding: 0 6px !important;
  }
  .global-globe-stage {
    margin-top: 12px !important;
  }

  /* Company Overview Pillars */
  .company-overview-section {
    padding: 36px 0 44px !important;
  }
  .company-overview-label {
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 22px !important;
  }
  .company-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .company-overview-col {
    padding-left: 16px !important;
    border-left: 2px solid var(--color-accent-terracotta) !important;
  }
  .company-overview-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }
  .company-overview-text {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  /* Umbrella Ecosystem Section */
  .ecosystem-light-section {
    padding: 44px 0 !important;
  }
  .ecosystem-light-section h2.headline-md {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    margin-bottom: 14px !important;
  }
  .ecosystem-light-section p.body-lg {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
  }
  .ecosystem-card-luxury {
    padding: 22px 18px !important;
    min-height: auto !important;
    gap: 12px !important;
  }
  .ecosystem-card-luxury .card-tag {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    min-height: auto !important;
  }
  .ecosystem-card-luxury .card-title {
    font-size: 22px !important;
    margin-bottom: 8px !important;
    min-height: auto !important;
    gap: 8px !important;
  }
  .ecosystem-partner-logo {
    height: 18px !important;
  }
  .ecosystem-card-luxury .card-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Subpage Page Hero */
  .page-hero {
    padding: 82px 0 24px !important;
  }
  .page-title {
    font-size: clamp(26px, 6.5vw, 36px) !important;
    line-height: 1.15 !important;
  }
  .page-subtitle {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  /* Historical Milestones Responsive */
  .timeline-obsidian-section {
    padding: 64px 0 80px !important;
  }
  .timeline-header-wrap {
    margin-bottom: 40px !important;
  }
  .timeline-obsidian-title {
    font-size: clamp(28px, 6.5vw, 40px) !important;
  }
  .timeline-obsidian-subtitle {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
  .timeline-v-list {
    max-width: 100% !important;
    margin: 24px auto 10px !important;
    padding: 10px 0 !important;
  }
  .timeline-spine-track {
    left: 20px !important;
    transform: none !important;
  }
  .timeline-v-item {
    width: 100% !important;
    left: 0 !important;
    padding-left: 54px !important;
    padding-right: 0 !important;
    margin-bottom: 28px !important;
  }
  .timeline-v-item::after {
    left: 20px !important;
    right: auto !important;
    width: 34px !important;
    top: 38px !important;
  }
  .timeline-v-dot {
    left: 8px !important;
    right: auto !important;
    top: 27px !important;
    width: 24px !important;
    height: 24px !important;
  }
  .timeline-card {
    padding: 22px 20px !important;
  }
  .timeline-v-year {
    font-size: 30px !important;
  }
  .timeline-phase-tag {
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
    padding: 3px 8px !important;
  }
  .timeline-v-title {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  .timeline-v-desc {
    font-size: 13.5px !important;
    line-height: 1.58 !important;
  }
  .timeline-card-watermark {
    font-size: 58px !important;
    right: 12px !important;
    bottom: 2px !important;
  }

  /* CSR Section */
  .csr-intro-section {
    margin-bottom: 28px !important;
  }
  .csr-intro-title {
    font-size: clamp(22px, 5.5vw, 30px) !important;
  }
  .csr-intro-desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  .csr-card-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .csr-card-title {
    font-size: 20px !important;
  }
  .csr-card-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }
  .csr-gallery-slider {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px !important;
    gap: 14px !important;
  }
  .csr-gallery-card {
    flex: 0 0 80vw !important;
    max-width: 310px !important;
    scroll-snap-align: start;
  }

  /* Services Section */
  .services-intro-title {
    font-size: clamp(20px, 5vw, 28px) !important;
    line-height: 1.25 !important;
  }
  .services-intro-lead {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  .services-support-title {
    font-size: clamp(22px, 5.5vw, 30px) !important;
  }
  .services-support-desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  .services-support-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .services-pill-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 24px !important;
  }
  .service-pill-item {
    padding: 12px 10px !important;
    gap: 10px !important;
    border-radius: 10px !important;
  }
  .service-pill-icon {
    width: 40px !important;
    height: 40px !important;
  }
  .service-pill-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  /* Contact Section */
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .contact-form-card {
    padding: 22px 18px !important;
    border-radius: 12px !important;
  }
  .contact-form-title {
    font-size: 24px !important;
  }
  .contact-info-box {
    padding: 18px 16px !important;
    border-radius: 10px !important;
    margin-bottom: 16px !important;
  }
  .contact-info-title {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  .contact-units-list li {
    padding: 8px 0 !important;
    font-size: 13px !important;
  }

  /* ═══ LUXURY CORPORATE MOBILE FOOTER ═══ */
  .footer {
    padding: 40px var(--margin-mobile) 96px !important; /* 96px clearance keeps WhatsApp floating widget clear */
    background: #0B0D11 !important;
  }
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 16px !important;
    margin-bottom: 20px !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .footer-brand img {
    height: 36px !important;
    width: auto !important;
    margin-bottom: 14px !important;
  }
  .footer-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
  }
  .footer-social-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .footer-social-btn svg {
    width: 17px !important;
    height: 17px !important;
  }
  .footer-col h4 {
    font-family: var(--font-mono) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--color-accent-terracotta) !important;
    margin-bottom: 12px !important;
  }
  .footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .footer-col li {
    margin-bottom: 2px !important;
  }
  .footer-col a {
    display: inline-block !important;
    padding: 6px 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color 0.2s ease !important;
  }
  .footer-col a:active {
    color: var(--color-accent-terracotta) !important;
  }

  /* Corporate Office & Innovation Center Glass Card */
  .footer-col:last-child {
    grid-column: 1 / -1 !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 20px 18px !important;
    margin-top: 6px !important;
  }
  .footer-col:last-child h4 {
    margin-bottom: 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
  }
  .footer-col:last-child p {
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
  }
  .footer-col:last-child .footer-office-title {
    color: var(--color-accent-terracotta) !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-family: var(--font-mono) !important;
    font-weight: 600 !important;
    display: block !important;
    margin-top: 10px !important;
    margin-bottom: 2px !important;
  }
  .footer-col:last-child .footer-office-title:first-child {
    margin-top: 0 !important;
  }

  /* Footer Bottom */
  .footer-bottom {
    padding-top: 20px !important;
    margin-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
    font-family: var(--font-mono) !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    color: rgba(255, 255, 255, 0.45) !important;
    line-height: 1.5 !important;
  }
}

/* -- Mobile Inline Grid Fixes -- */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.split-layout.align-center {
  align-items: center;
}

@media (max-width: 768px) {
  .ecosystem-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .split-layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh !important;
  }
}

/* -- Nuclear Mobile Grid Override (Stops inline style destruction) -- */
@media (max-width: 768px) {
  *[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* -- Responsive Grid System (Desktop & Mobile) -- */
.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.grid-7-5 {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
}
.grid-5-7 {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
}

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

@media (max-width: 768px) {
  .grid-4col,
  .grid-3col,
  .grid-2col,
  .grid-7-5,
  .grid-5-7,
  *[style*="display: grid"],
  *[style*="display:grid"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* -- Mobile Navigation Header Clean Layout -- */
@media (max-width: 992px) {
  #navRequestBtn, .nav-cta, .nav-links {
    display: none !important;
  }
  .nav-hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .nav {
    padding: 16px var(--margin-mobile) !important;
  }
}

/* -- Premium Dark Glass Ecosystem Section -- */
.ecosystem-section {
  position: relative;
  background: #0E1013;
  color: #FFFFFF;
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ecosystem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 36px 30px;
  border-radius: 8px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(39, 150, 152, 0.6);
  background: rgba(39, 150, 152, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(39, 150, 152, 0.15);
}

.ecosystem-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #279698;
  margin-bottom: 14px;
  font-weight: 500;
}

.ecosystem-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: #FFFFFF;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.2;
}

.ecosystem-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  font-weight: 300;
}

/* -- Luxury Light Ecosystem Styling -- */
.ecosystem-light-section {
  padding: 80px 0 30px;
  width: 100%;
  background: linear-gradient(180deg, #FBF9F5 0%, #F5F1EA 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ecosystem-card-luxury {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: 36px 28px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: all 0.4s var(--ease-out);
}

.ecosystem-card-luxury:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 150, 152, 0.5);
  box-shadow: 0 20px 40px rgba(39, 150, 152, 0.12);
}

.ecosystem-card-luxury .card-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  font-weight: 500;
  margin-bottom: 12px;
  min-height: 38px;
  display: flex;
  align-items: flex-start;
}

.ecosystem-card-luxury .card-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-text-dark-main);
  margin-bottom: 14px;
  line-height: 1.2;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ecosystem-partner-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0);
  -webkit-filter: brightness(0);
  transition: transform 0.3s ease;
}

.ecosystem-card-luxury:hover .ecosystem-partner-logo {
  transform: scale(1.05);
}

.ecosystem-card-luxury .card-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: #4A4E58;
  line-height: 1.7;
}






/* ═══════════════════════════════════════════════════════════════
   GLOBAL VISION & ALLIANCE SECTION
   ═══════════════════════════════════════════════════════════════ */

.global-vision-section {
  background: #FBF1E7;
  border-top: 1px solid var(--ink-15);
  border-bottom: 1px solid var(--ink-15);
  padding: 36px 0 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.global-vision-header {
  max-width: 760px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.global-vision-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.global-vision-heading .gv-line {
  display: block;
  color: #2D2930;
  white-space: nowrap;
}

.global-vision-subtext {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: #555A64;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.global-globe-stage {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
}

.global-globe-graphic {
  width: 100%;
  max-width: 840px;
  height: auto;
  display: block;
  margin: 0 auto -4px;
}

@media (max-width: 768px) {
  .global-vision-section {
    padding: 50px 0 0;
  }
  .global-vision-heading {
    font-size: 32px;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .global-vision-subtext {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 12px;
  }
  .global-globe-stage {
    margin-top: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COMPANY OVERVIEW SECTION (VISION, MISSION, PHILOSOPHY)
   ═══════════════════════════════════════════════════════════════ */

.company-overview-section {
  background: #FBF1E7;
  border-bottom: 1px solid rgba(17, 19, 23, 0.1);
  padding: 60px 0 76px;
  position: relative;
}

.company-overview-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 44px;
}

.company-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.company-overview-col {
  border-left: 1px solid rgba(17, 19, 23, 0.25);
  padding-left: 28px;
}

.company-overview-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-dark-main);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.company-overview-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: #3D4450;
  margin: 0;
}

@media (max-width: 900px) {
  .company-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .company-overview-col {
    padding-left: 20px;
  }
  .company-overview-section {
    padding: 44px 0 56px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   R&D LAB VIDEO SHOWCASE SECTION
   ═══════════════════════════════════════════════════════════════ */

.rd-video-section {
  padding: 100px var(--margin-desktop);
  background: #0B0D11;
  color: var(--color-text-light-main);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rd-video-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rd-video-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-video-tag::before,
.rd-video-tag::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-accent-terracotta);
  opacity: 0.7;
}

.rd-video-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.rd-video-subtext {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

.rd-video-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.rd-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 804;
  border-radius: 16px;
  overflow: hidden;
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(39, 150, 152, 0.08);
}

.rd-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .rd-video-section {
    padding: 60px var(--margin-mobile);
  }
  .rd-video-heading {
    font-size: 28px;
  }
}

/* ==========================================================================
   PRODUCT SHOWCASE & SUB-PRODUCT STAGE (SCOPED)
   ========================================================================== */

.product-showcase-section {
  padding: 60px 0 100px;
}

.product-subnav-container {
  margin-bottom: 24px;
}

.product-subnav-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

/* SUB-PRODUCT CARDS GRID */
.product-cards-grid {
  margin-top: 28px;
}

/* Precision Glaze 4 and 3 Format */
.product-cards-grid.format-4-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.product-cards-grid.format-4-3 > .product-card-item {
  flex: 0 0 calc(25% - 18px);
  max-width: calc(25% - 18px);
}

@media (max-width: 1024px) {
  .product-cards-grid.format-4-3 > .product-card-item {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .product-cards-grid.format-4-3 {
    gap: 12px;
  }
  .product-cards-grid.format-4-3 > .product-card-item {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
}

@media (max-width: 360px) {
  .product-cards-grid.format-4-3 > .product-card-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Specks 13 Formulations Grid */
.product-cards-grid.grid-specks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .product-cards-grid.grid-specks {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-cards-grid.grid-specks {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .product-cards-grid.grid-specks {
    grid-template-columns: 1fr;
  }
}

/* Chrome 3 Formulations Grid */
.product-cards-grid.grid-chrome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .product-cards-grid.grid-chrome {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .product-cards-grid.grid-chrome {
    grid-template-columns: 1fr;
  }
}

/* PRODUCT CARD ITEM */
.product-card-item {
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.12);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  user-select: none;
}

.product-card-item:hover {
  transform: translateY(-5px);
  border-color: #279698;
  box-shadow: 0 14px 32px rgba(39, 150, 152, 0.16);
}

.product-card-item.is-active {
  border: 2px solid #279698;
  box-shadow: 0 0 0 3px rgba(39, 150, 152, 0.22), 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #FCFDFD;
}

.product-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0f14;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card-item:hover .product-card-thumb img {
  transform: scale(1.05);
}

.product-card-info {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #111317;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.product-card-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #279698;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .product-card-item {
    padding: 10px;
    border-radius: 10px;
  }
  .product-card-info {
    margin-top: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .product-card-name {
    font-size: 13px;
    line-height: 1.25;
  }
  .product-card-cta {
    font-size: 9.5px;
  }
}

/* DETAIL STAGE (ON-DEMAND REVEAL) */
.product-detail-stage {
  display: none;
  margin-top: 48px;
  background: #FFFFFF;
  border: 1px solid rgba(17, 19, 23, 0.12);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
}

.product-detail-stage.is-open {
  display: block;
  animation: stageSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stageSlideDown {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-detail-stage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 19, 23, 0.08);
}

.product-detail-stage-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #279698;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.product-detail-close-btn {
  background: rgba(17, 19, 23, 0.05);
  border: 1px solid rgba(17, 19, 23, 0.12);
  color: #111317;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-detail-close-btn:hover {
  background: rgba(17, 19, 23, 0.1);
  color: #000;
}

.product-stage-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-stage-panel.is-active {
  display: block;
  opacity: 1;
}

/* VIDEO WRAPPER */
.product-stage-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(17, 19, 23, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.product-stage-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(17, 19, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(39, 150, 152, 0.5);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  z-index: 3;
}

.product-video-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #279698;
  box-shadow: 0 0 8px #279698;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 150, 152, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(39, 150, 152, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 150, 152, 0); }
}

.product-sound-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(17, 19, 23, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
}

.product-sound-btn:hover {
  background: rgba(39, 150, 152, 0.4);
  border-color: #279698;
}

/* VIDEO PLACEHOLDER */
.product-video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0d1017;
  overflow: hidden;
}

.product-video-placeholder-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(4px);
  transform: scale(1.05);
}

.product-video-placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(13,16,23,0.5) 0%, rgba(5,6,8,0.9) 100%);
}

.product-video-placeholder-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
}

.product-video-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(39, 150, 152, 0.2);
  border: 1px solid rgba(39, 150, 152, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #279698;
}

.product-video-placeholder-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.product-video-placeholder-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 400px;
  line-height: 1.6;
}

/* STAGE CONTENT & TYPOGRAPHY */
.product-stage-content {
  margin-top: 32px;
}

.product-stage-header {
  margin-bottom: 20px;
}

.product-stage-category {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #279698;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-stage-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: #111317;
  letter-spacing: -0.5px;
  line-height: 1.15;
  font-weight: 600;
}

.product-stage-description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 24px;
  max-width: 960px;
}

.product-stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.product-stage-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #1e7072;
  background: rgba(39, 150, 152, 0.08);
  border: 1px solid rgba(39, 150, 152, 0.28);
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .product-detail-stage {
    padding: 24px;
    border-radius: 16px;
  }
  .product-stage-video-wrap {
    max-height: 380px;
  }
}

@media (max-width: 768px) {
  .product-detail-stage {
    padding: 16px;
    border-radius: 14px;
    margin-top: 24px;
  }
  .product-stage-video-wrap {
    max-height: 240px;
    border-radius: 10px;
  }
  .product-stage-title {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.2;
  }
  .product-stage-description {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .product-stage-tags {
    gap: 6px;
    margin-top: 14px;
  }
  .product-stage-tag {
    font-size: 10px;
    padding: 4px 10px;
  }
}

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

@media (max-width: 900px) {
  .services-support-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 380px) {
  .services-pill-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING WHATSAPP WIDGET
   ═══════════════════════════════════════════════════════════════ */
.whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99999;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-sizing: border-box;
}

.whatsapp-widget:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.65);
}

.whatsapp-widget:active {
  transform: scale(0.96);
}

/* Pulsing aura rings behind the button */
.whatsapp-widget::before,
.whatsapp-widget::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  z-index: -1;
}

.whatsapp-widget::before {
  animation: whatsappPulse 2.2s infinite cubic-bezier(0.25, 0, 0.4, 1);
}

.whatsapp-widget::after {
  animation: whatsappPulse 2.2s infinite cubic-bezier(0.25, 0, 0.4, 1);
  animation-delay: 0.75s;
}

@keyframes whatsappPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.85;
  }
  60% {
    opacity: 0.35;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.65);
    opacity: 0;
  }
}

.whatsapp-widget svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  display: block;
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 20px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-widget svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  :root {
    --margin-mobile: 16px;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .nav {
    padding: 12px 16px !important;
  }
  .footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .product-detail-stage {
    padding: 14px !important;
  }
  .modal-box {
    padding: 24px 16px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL MEDIA ASSET PROTECTION (IMAGES & VIDEOS)
   ═══════════════════════════════════════════════════════════════ */

/* Universal Selection & Drag Shield for All Images & Videos */
img,
picture,
video {
  -webkit-touch-callout: none !important; /* Disables iOS long-press "Save Image" popup */
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;    /* Disables dragging images to desktop or new tab */
}

/* Background & Stage Video Loops - Treat as non-interactive media canvas */
.hero-video-bg,
.rd-video-player,
.services-rd-video,
.product-stage-video {
  pointer-events: none;
}

/* Ensure all interactive controls, sound toggles, buttons remain completely clickable */
.product-sound-btn,
.rd-video-toggle-btn,
.rd-video-sound-toggle,
.js-toggle-sound,
.whatsapp-widget {
  pointer-events: auto !important;
}

