@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400;1,9..144,500;1,9..144,600&family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Loader fallback: keeps deployed pages clean even if shared loader assets miss. */
.site-loader {
  display: none;
}

.site-loading {
  overflow: hidden;
}

.site-loading body {
  overflow: hidden;
}

.site-loading .site-loader {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw;
  min-height: 100vh;
  z-index: 2147483647 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  background: #0c1e3b;
  color: #fff;
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s;
  isolation: isolate;
}

.site-loading .loader-logo {
  display: block;
  width: clamp(180px, 22vw, 340px);
  max-width: 62vw;
  height: auto;
  object-fit: contain;
}

.site-loading .loader-caption {
  font: 11px/1.6 'Inter', Arial, sans-serif;
  letter-spacing: 0.22em;
  color: #a8bad4;
  text-transform: uppercase;
}

.site-loading .loader-track {
  width: 150px;
  height: 2px;
  background: #ffffff20;
  overflow: hidden;
}

.site-loading .loader-track span {
  display: block;
  width: 55%;
  height: 100%;
  background: #ff6700;
}

.site-loading .site-loader.loader-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  /* Colors */
  --primary: #003399;
  --primary-rgb: 0, 51, 153;
  --primary-hover: #002673;
  --primary-light: #f0f5ff;
  --primary-dark: #051636;
  
  --accent: #ff6600;
  --accent-rgb: 255, 102, 0;
  --accent-hover: #e05300;
  --accent-light: #fff2e6;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #090d16;
  --bg-dark-section: #0f172a;
  
  --border: #e2e8f0;
  --border-focus: #cbd5e1;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing / Layout */
  --header-height: 96px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1280px;
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Preloader & Page Transition Overlay */
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
}

.preloader-panel {
  flex: 1 0 50%;
  width: 50%;
  height: 100%;
  background: var(--primary-dark);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: auto;
}

.preloader-left,
.preloader-right {
  transform: translateX(0);
}

.preloader-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(78vw, 300px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.preloader-logo {
  width: min(180px, 56vw);
  height: auto;
  filter: brightness(0) invert(1);
  animation: preloader-pulse 1.2s infinite ease-in-out;
}

.preloader-subtitle {
  margin: 0;
  color: var(--text-white);
  font-family: 'Fraunces', serif;
  font-size: clamp(1.1rem, 5vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-transform: none;
}

@keyframes preloader-pulse {
  0% { transform: scale(0.94); opacity: 0.82; }
  50% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(0.94); opacity: 0.82; }
}

.page-preloader.is-loaded .preloader-left {
  transform: translateX(-100%);
}

.page-preloader.is-loaded .preloader-right {
  transform: translateX(100%);
}

.page-preloader.is-loaded .preloader-brand {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
}

/* --- ORGANIC MESH RADIAL BACKGROUND --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 51, 153, 0.04), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(255, 102, 0, 0.03), transparent 28%);
  opacity: 0.95;
  z-index: -2;
}

/* --- BLUEPRINT GRID MATRIX --- */
.blueprint-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(0, 51, 153, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 51, 153, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  opacity: 0.85;
}

/* --- CELLULAR SUSPENSION FLOATING PARTICLES --- */
.global-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9;
  opacity: 0.45;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, rgba(255, 102, 0, 0.5));
  box-shadow: 
    0 0 0 3px rgba(255, 102, 0, 0.04),
    0 0 10px rgba(255, 102, 0, 0.08);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  animation: float-up 18s linear infinite;
  will-change: transform, opacity;
}

@keyframes float-up {
  0% {
    transform: translate3d(0, 105vh, 0) scale(0.8);
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  88% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(var(--drift-x, 30px), -10vh, 0) scale(1.15);
    opacity: 0;
  }
}

/* --- SCROLL PROGRESS INDICATOR --- */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.1s ease-out;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

h1 em, h2 em, h3 em, .editorial-serif {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

p {
  line-height: 1.6;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- WAVY VECTOR ACCENT UNDERLINE --- */
.wavy-accent-container {
  position: relative;
  display: inline-block;
}

.wavy-accent-line {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 8px;
  stroke: var(--accent);
  pointer-events: none;
}

.section-dark .wavy-accent-line {
  stroke: var(--accent);
}

/* --- REUSABLE COMPONENTS & UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Section Layouts */
section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }
}

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

.section-image-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-image-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--section-image);
  background-size: cover;
  background-position: center;
  filter: brightness(90%);
  transform: scale(1.01);
  z-index: -2;
}

.section-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 14, 38, 0.82) 0%, rgba(4, 14, 38, 0.68) 52%, rgba(4, 14, 38, 0.48) 100%),
    linear-gradient(180deg, rgba(4, 14, 38, 0.5) 0%, rgba(4, 14, 38, 0.7) 100%);
  z-index: -1;
}

.section-image-bg > .container {
  position: relative;
  z-index: 3;
}

.section-image-bg .blueprint-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  opacity: 0.45;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

.section-dark .story-content h2 em {
  color: var(--text-white);
}

.section-dark p {
  color: var(--text-light);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem auto;
}

.section-subtitle {
  color: var(--accent);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.keep-together {
  white-space: nowrap;
}

.phrase-nowrap {
  white-space: nowrap;
}

.no-justify {
  text-align: left !important;
  text-justify: auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.95rem;
  }

  .keep-together {
    white-space: normal;
  }
}

/* Section vertical dividers */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.15), transparent);
  margin: 0;
  border: none;
}

.section-dark + .section-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.2), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  gap: 0.5rem;
}

.btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 51, 153, 0.2);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.25);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--border);
  transform: translateY(-2px);
}

.section-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.section-dark .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
  }
}

/* --- PREMIUM CARD HOVER STATE --- */
.premium-card {
  position: relative;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  transition: var(--transition-normal);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 51, 153, 0.05), transparent 60%);
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.005);
  border-color: rgba(0, 51, 153, 0.18);
  box-shadow: 0 20px 40px -10px rgba(0, 51, 153, 0.06);
}

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

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  min-height: var(--header-height);
  z-index: 100;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
}

header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
  padding: 0;
}

header:not(.scrolled) {
  padding: 0;
}

/* Nav container */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  min-height: 0;
  width: 100%;
  gap: 1rem;
  transform: translateY(-5px);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  height: var(--header-height);
  flex: 0 0 auto;
}

.logo-image {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  margin-left: 0.5rem;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem clamp(1rem, 1.7vw, 2.25rem);
  height: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(0.78rem, 0.78vw, 0.92rem);
  line-height: 1.15;
  color: var(--text-muted);
  position: relative;
  min-height: 44px;
  padding: 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  height: var(--header-height);
  flex: 0 1 auto;
  min-width: 0;
}

.header-cta .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  max-width: none;
  line-height: 1.25;
  white-space: nowrap;
  text-align: center;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  z-index: 110;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  min-height: 2.5px;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  margin: 0;
  transition: var(--transition-fast);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none; /* Hide standard nav */
  }
  .header-cta {
    display: none; /* Hide header CTA button */
  }
  .mobile-nav-toggle {
    display: inline-flex; /* Show hamburger */
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 10002;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem 2rem;
  transition: var(--transition-normal);
}

.mobile-drawer-close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-drawer-close:hover,
.mobile-drawer-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-drawer-close svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

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

.mobile-drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: auto;
}

.mobile-drawer-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-main);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-link.active, .mobile-drawer-link:hover {
  color: var(--primary);
  border-color: var(--accent);
}

.mobile-drawer-cta {
  width: 100%;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.3);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.drawer-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Body Top Offset */
main {
  margin-top: 80px; /* Offset for sticky header */
}

/* --- HERO SECTION (STRIPE INSPIRED DYNAMIC GRADIENT) --- */
.hero-sec {
  background: var(--bg-dark);
  background-size: 200% 200%;
  animation: gradientFlow 15s ease infinite;
  position: relative;
  overflow: hidden;
  padding: 0;
  color: var(--text-white);
}

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

.hero-sec::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--bg-main), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero-slide .hero-content {
  padding-left: 2.6rem;
}

.hero-carousel {
  position: relative;
  z-index: 2;
}

.hero-slides {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 7rem 0 7.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  background:
    linear-gradient(90deg, rgba(0, 20, 60, 0.9) 0%, rgba(0, 36, 94, 0.66) 42%, rgba(0, 51, 153, 0.18) 100%),
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(125deg, var(--bg-dark), var(--primary), var(--accent));
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide-primary .hero-grid {
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  min-height: auto;
  height: auto;
}

.hero-slide-primary {
  padding: 7rem 0 7.5rem;
}

.hero-slide-primary .hero-content {
  width: auto;
  justify-self: auto;
  padding-left: 2.6rem;
  padding-right: 0;
  position: relative;
  z-index: 3;
}

.hero-slide-primary .hero-visual {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  min-height: auto !important;
  padding: 0 !important;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-slide-data {
  background:
    linear-gradient(90deg, rgba(0, 20, 60, 0.94) 0%, rgba(0, 51, 153, 0.72) 52%, rgba(255, 102, 0, 0.38) 100%),
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(125deg, var(--primary-dark), var(--primary));
}

.hero-slide-brochure {
  background:
    radial-gradient(circle at 87% 12%, rgba(var(--accent-rgb), 0.14), transparent 24%),
    radial-gradient(circle at 10% 84%, rgba(var(--primary-rgb), 0.1), transparent 30%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 54%, #fff7ef 100%);
  color: var(--text-main);
  padding: 4.9rem 0 5.1rem;
}

.hero-slide-brochure::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(0, 51, 153, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 153, 0.035) 87.5%, rgba(0, 51, 153, 0.035)),
    linear-gradient(150deg, rgba(0, 51, 153, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 153, 0.035) 87.5%, rgba(0, 51, 153, 0.035)),
    linear-gradient(30deg, rgba(0, 51, 153, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 153, 0.035) 87.5%, rgba(0, 51, 153, 0.035)),
    linear-gradient(150deg, rgba(0, 51, 153, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 153, 0.035) 87.5%, rgba(0, 51, 153, 0.035));
  background-position: 0 0, 0 0, 28px 48px, 28px 48px;
  background-size: 56px 96px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-slide-brochure::after {
  content: '';
  position: absolute;
  top: -18%;
  right: -7%;
  width: 55%;
  height: 135%;
  border-left: 18px solid rgba(var(--accent-rgb), 0.95);
  border-radius: 50%;
  transform: rotate(10deg);
  pointer-events: none;
}

.hero-brochure-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 2.2rem;
}

.hero-brochure-copy {
  max-width: 520px;
}

.hero-brochure-copy .hero-title {
  color: var(--primary-dark);
  text-shadow: none;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--primary-dark);
}

.hero-brochure-copy .hero-title {
  font-size: clamp(2.85rem, 4.6vw, 4.25rem);
}

.hero-brochure-copy .hero-title em {
  color: var(--accent);
  font-weight: 600;
  -webkit-text-fill-color: var(--accent);
}

.hero-slide-brochure .hero-description {
  color: #263247;
}

.hero-brochure-badge {
  display: none;
  border-color: rgba(var(--accent-rgb), 0.24);
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--primary);
}

.hero-brochure-products {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.05rem;
  justify-items: center;
  transform: translateX(112px);
}

.hero-brochure-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
  justify-items: center;
  align-content: start;
}

.hero-brochure-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  min-height: 156px;
  padding: 0.75rem 0.7rem;
  border-radius: 18px;
  border-bottom: 5px solid var(--accent);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.hero-brochure-image-dydromor {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.16), rgba(var(--accent-rgb), 0.13));
}

.hero-brochure-image-progemor {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.11));
}

.hero-brochure-image img {
  width: min(100%, 330px);
  max-height: 124px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(15, 23, 42, 0.14));
}

.hero-brochure-product p {
  max-width: 430px;
  margin: 0 auto;
  color: #111827;
  font-size: 1rem;
  line-height: 1.42;
  text-align: center;
}

.hero-brochure-product strong,
.hero-brochure-product span {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
}

.hero-brochure-product strong {
  color: var(--accent);
  font-size: 1.3em;
}

.hero-brochure-product span {
  color: var(--primary);
  font-size: 1.1em;
}

.hero-data-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.hero-data-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-data-card {
  min-height: 166px;
  padding: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-data-card span {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.45rem;
  line-height: 1;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-data-card-white-num span {
  color: var(--text-white);
}

.hero-data-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 0.45rem;
}

.hero-data-card p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-image-slide-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: none;
  padding: 0;
}

.hero-image-slide-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.hero-slide-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 60, 0.15) 0%, rgba(0, 20, 60, 0) 55%);
  pointer-events: none;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.hero-carousel-arrow,
.hero-carousel-dots button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 20, 60, 0.2);
  color: var(--text-white);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: auto;
}

.hero-carousel-arrow[data-hero-prev] {
  left: 2.5rem;
}

.hero-carousel-arrow[data-hero-next] {
  right: 5.25rem;
}

.hero-carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.55rem;
  pointer-events: auto;
}

.hero-carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.95);
  transition: var(--transition-fast);
}

.hero-carousel-dots button.active {
  width: 12px;
  border-radius: 50%;
  background: var(--text-white);
  border-color: var(--text-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge span {
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 75%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .wavy-accent-container,
.hero-title .wavy-accent-container em {
  color: var(--text-white);
  -webkit-text-fill-color: var(--text-white);
}

.hero-nowrap {
  white-space: nowrap;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
  color: #cbd5e1;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Premium Medical Hex Grid Visual */
.hero-abstract-art {
  width: 100%;
  max-width: 420px;
  height: 420px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 102, 0, 0.15) 100%);
  animation: morph-bubble 15s ease-in-out infinite alternate;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes morph-bubble {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 50% 50% 30% 70% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 60% 40% / 40% 50% 50% 60%; }
}

.hero-art-icon {
  width: 140px;
  height: 140px;
  opacity: 0.85;
  filter: drop-shadow(0 10px 25px rgba(0,51,153,0.15));
  animation: float-icon 6s ease-in-out infinite;
  stroke: var(--text-white);
}

.hero-lady-art {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(224, 205, 179, 0.95) 0%, rgba(210, 188, 160, 0.92) 100%);
}

.hero-lady-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #decab0;
  z-index: 0;
}

.hero-lady-art::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 28%;
  background: #decab0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-lady-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 13%;
  display: block;
}

.hero-photo-art {
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 102, 0, 0.16) 100%),
    rgba(255, 255, 255, 0.08);
}

.hero-slide-primary .hero-photo-art {
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  animation: none;
}

.hero-photo-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% top;
  display: block;
}

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

@media (max-width: 1024px) {
  .hero-slide-primary .hero-content {
    padding-right: 0;
  }

  .hero-slide-primary .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 420px;
    padding-left: 0;
  }

  .hero-slide-primary .hero-photo-art {
    height: 420px;
  }

  .hero-slides {
    min-height: 760px;
  }

  .hero-slide {
    padding: 6.5rem 0 7.25rem;
  }

  .hero-slide .hero-content {
    padding-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-badge {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .btn-group {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 1.5rem;
  }

  .hero-data-grid {
    grid-template-columns: 1fr;
  }

  .hero-data-cards {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-brochure-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }

  .hero-brochure-copy {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-brochure-products {
    max-width: 820px;
    margin: 0 auto;
    transform: none;
  }

  .hero-image-slide-wrap img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
}

@media (max-width: 640px) {
  .hero-slides {
    min-height: 600px;
  }

  .hero-slide {
    padding: 3.2rem 0 4.7rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-nowrap {
    white-space: normal;
  }

  .hero-data-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .hero-data-card {
    min-height: auto;
    padding: 0.82rem 0.7rem;
    text-align: center;
  }

  .hero-data-card span {
    font-size: 1.55rem;
    margin-bottom: 0.28rem;
  }

  .hero-data-card strong {
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
  }

  .hero-data-card p {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .hero-slide-brochure {
    padding: 2.2rem 0 4.25rem;
  }

  .hero-brochure-grid {
    gap: 1.35rem;
  }

  .hero-brochure-copy .hero-title {
    max-width: 18.5rem;
    margin: 0 auto 0.85rem;
    font-size: clamp(1.95rem, 8.4vw, 2.35rem);
    line-height: 1.12;
  }

  .hero-brochure-products {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    max-width: 18.75rem;
  }

  .hero-brochure-product {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-brochure-image {
    min-height: 128px;
    padding: 0.6rem;
    border-radius: 12px;
    border-bottom-width: 4px;
  }

  .hero-brochure-image img {
    max-height: 104px;
  }

  .hero-brochure-product p {
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .hero-image-slide-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
  }

  .hero-carousel-controls {
    bottom: 1.35rem;
  }

  .hero-carousel-arrow {
    width: 34px;
    height: 34px;
  }
}

/* --- WHO WE ARE --- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  column-gap: 5rem;
  row-gap: 2rem;
  align-items: start;
}

.story-visual-wrap {
  position: relative;
}

.story-card-glass {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.story-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.story-card-glass h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}

.story-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: -80px;
  right: -80px;
  z-index: 1;
}

.story-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.section-dark .story-content h2,
.section-dark .story-content h2 em {
  color: var(--text-white);
}

.story-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .story-card-glass {
    padding: 2rem;
  }
}

/* --- DYNAMIC CARD GRID (Our Healthcare Solutions) --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.solution-card {
  /* Inherits premium-card styles */
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.solution-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  opacity: 0;
  transition: var(--transition-fast);
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-card-fertility:hover::after {
  background-color: var(--accent);
}

.solution-card-hormone:hover::after {
  background-color: var(--primary);
}

.solution-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: var(--transition-fast);
}

.solution-card-fertility .solution-icon-wrap {
  background-color: var(--accent-light);
}

.solution-icon {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}

.solution-card-fertility .solution-icon {
  stroke: var(--accent);
}

.solution-card:hover .solution-icon-wrap {
  transform: scale(1.1);
}

.solution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.solution-card p {
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.about-intro-text,
.story-content p,
.story-card-glass p,
.section-header p,
.impact-footer,
.solution-card p,
.why-info p,
.foundation-card p,
.timeline-card p,
.flowchart-content p,
.cta-description {
  text-align: justify;
  text-justify: inter-word;
}

.solution-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-card-fertility .solution-card-link {
  color: var(--accent);
}

.solution-card-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
  stroke: currentColor;
}

.solution-card:hover .solution-card-link svg {
  transform: translateX(4px);
}

/* --- WHY MORTAR & PESTLE --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.why-card {
  /* Inherits premium-card styles */
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition-normal);
  display: flex;
  gap: 1.5rem;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 51, 153, 0.15);
}

.why-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}

.why-card:nth-child(even) .why-icon-wrap {
  background-color: var(--accent-light);
}

.why-card:nth-child(even) .why-icon {
  stroke: var(--accent);
}

.why-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.why-info p {
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    padding: 1.75rem;
  }
}

/* --- PARTNERS CAROUSEL --- */
.partners-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-white);
  overflow: hidden;
}

.carousel-title {
  text-align: center;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: logo-scroll 25s linear infinite;
  gap: 5rem;
}

.carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.82;
  transition: var(--transition-fast);
  padding: 0 1rem;
}

.carousel-item:hover {
  opacity: 0.9;
}

.carousel-item h4 {
  color: #5f6d82 !important;
}

.partner-logo {
  height: 38px;
  width: auto;
  max-width: 180px;
  filter: grayscale(100%) contrast(145%) brightness(72%);
  object-fit: contain;
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Gradient covers for carousel edge fade */
.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white) 0%, rgba(255,255,255,0) 100%);
}

.partners-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white) 0%, rgba(255,255,255,0) 100%);
}

/* --- STATS / OUR IMPACT --- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.stat-item {
  /* Inherits premium-card styles */
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
  border-top: 3px solid var(--primary);
  transition: var(--transition-normal);
}

.stat-item:nth-child(even) {
  border-top-color: var(--accent);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.03);
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--primary);
  display: block;
}

.stat-item:nth-child(even) .stat-num {
  color: var(--accent);
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.impact-footer {
  text-align: justify;
  max-width: 720px;
  margin: 4.5rem auto 0 auto;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.who-impact-block {
  grid-column: 1 / -1;
  margin-top: 1rem;
  width: 100%;
}

.who-impact-block .section-header {
  max-width: none;
  text-align: center;
  margin-bottom: 2rem;
}

.who-impact-block .impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.who-impact-block .stat-item {
  padding: 1.5rem;
}

.who-impact-block .stat-num {
  font-size: 2.4rem;
}

.who-impact-block .impact-footer {
  max-width: 920px;
  margin: 1.75rem auto 0;
  text-align: center;
}

.product-page-start {
  padding-top: 0.75rem;
}

.product-page-start .section-header {
  margin-bottom: 1.35rem;
}

.product-page-start .solutions-filters {
  margin-bottom: 1.9rem;
}

.product-page-start .product-desc {
  margin-top: 0.35rem;
}

.product-page-start .product-info .btn-group {
  display: none;
}

@media (max-width: 1024px) {
  .who-impact-block .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .stat-num {
    font-size: 2.85rem;
  }
}

/* --- WHATSAPP SUPPLIER TAB --- */
.whatsapp-supplier-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  font-family: var(--font-heading);
}

.whatsapp-supplier-tab {
  width: 58px;
  min-height: 58px;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(11, 127, 58, 0.32);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.whatsapp-supplier-tab:active {
  cursor: grabbing;
}

.whatsapp-tab-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.whatsapp-icon-svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.whatsapp-supplier-panel {
  position: absolute;
  right: 64px;
  top: 50%;
  width: min(320px, calc(100vw - 92px));
  transform: translate(18px, -50%);
  opacity: 0;
  pointer-events: none;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(12, 25, 55, 0.2);
  padding: 1.5rem;
  transition: var(--transition-normal);
}

.whatsapp-supplier-widget.is-open .whatsapp-supplier-panel {
  transform: translate(0, -50%);
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-panel-close {
  position: absolute;
  top: 0.75rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.whatsapp-panel-eyebrow,
.whatsapp-panel-number {
  display: block;
  color: #128c4a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-supplier-panel h3 {
  margin: 0.55rem 0 0.65rem;
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.whatsapp-supplier-panel p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.whatsapp-chat-form {
  display: grid;
  gap: 0.75rem;
}

.whatsapp-chat-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.whatsapp-chat-input {
  width: 100%;
  min-height: 98px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  color: var(--text-dark);
  background: var(--bg-main);
  font: inherit;
  line-height: 1.45;
  outline: none;
}

.whatsapp-chat-input:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.16);
}

.whatsapp-panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  min-height: 46px;
  border-radius: var(--radius-sm);
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .whatsapp-supplier-widget {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    transform: none;
  }

  .whatsapp-supplier-tab {
    width: 58px;
    min-height: 48px;
    border-radius: var(--radius-full);
    padding: 0;
  }

  .whatsapp-supplier-panel {
    right: 0;
    top: auto;
    bottom: 62px;
    width: min(320px, calc(100vw - 2rem));
    transform: translateY(12px);
  }

  .whatsapp-supplier-widget.is-open .whatsapp-supplier-panel {
    transform: translateY(0);
  }
}

/* --- CALL TO ACTION BANNERS --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 20px 40px rgba(0, 51, 153, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(var(--accent) 2px, transparent 2px);
  background-size: 24px 24px;
}

.cta-content {
  max-width: 620px;
  z-index: 1;
}

.cta-subtitle {
  color: var(--accent);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.cta-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
}

.cta-actions {
  z-index: 1;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .cta-banner {
    flex-direction: column;
    padding: 4rem 2.5rem;
    text-align: center;
  }
  .cta-content {
    max-width: 100%;
  }
  .cta-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* --- FOOTER --- */
footer {
  background-color: var(--bg-dark-section);
  color: var(--text-white);
  padding: 5.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-top: 1.25rem;
}

.footer-brand .logo-wrapper {
  display: inline-flex;
  height: auto;
  width: fit-content;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.35rem 0.55rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.footer-brand .logo-image {
  height: 50px;
  max-width: 175px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.75rem;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.925rem;
}

.footer-link:hover {
  color: var(--text-white);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-text {
  font-size: 0.925rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-contact-text a:hover {
  color: var(--text-white);
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-btn:hover {
  background-color: var(--accent);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- ABOUT PAGE SPECIFICS --- */
.about-hero {
  background: radial-gradient(circle at 10% 20%, rgba(240, 245, 255, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-hero.hero-image-bg {
  min-height: 610px;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  color: var(--text-white);
  isolation: isolate;
}

.about-hero.hero-image-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: brightness(90%);
  transform: scale(1.01);
  z-index: -2;
}

.about-hero.hero-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 14, 38, 0.82) 0%, rgba(4, 14, 38, 0.68) 48%, rgba(4, 14, 38, 0.34) 100%),
    linear-gradient(180deg, rgba(4, 14, 38, 0.18) 0%, rgba(4, 14, 38, 0.46) 100%);
  z-index: -1;
}

.about-hero.hero-image-bg > .container {
  position: relative;
  z-index: 3;
}

.about-hero.hero-image-bg .blueprint-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  opacity: 0.55;
}

.about-hero-grid {
  display: block;
  max-width: 850px;
}

.about-hero-copy {
  min-width: 0;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.hero-image-bg .about-hero-title {
  color: var(--text-white);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.34);
}

.about-intro-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
}

.hero-image-bg .about-intro-text {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 960px) {
  .about-hero-grid {
    max-width: 760px;
  }

}

@media (max-width: 640px) {
  .about-hero {
    padding: 4rem 0;
  }

  .about-hero.hero-image-bg {
    min-height: 560px;
  }

  .about-hero.hero-image-bg::after {
    background:
      linear-gradient(90deg, rgba(4, 14, 38, 0.86) 0%, rgba(4, 14, 38, 0.68) 100%),
      linear-gradient(180deg, rgba(4, 14, 38, 0.22) 0%, rgba(4, 14, 38, 0.48) 100%);
  }

  .about-hero-title {
    font-size: 2.35rem;
  }

}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.foundation-card {
  /* Inherits premium-card styles */
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.foundation-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.foundation-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

/* --- INTERACTIVE MILESTONE TIMELINE (ABOUT PAGE) --- */
.timeline-section {
  padding: 7rem 0;
  background-color: var(--bg-white);
}

.timeline-container {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 3rem;
  position: relative;
  margin-bottom: 4.5rem;
  width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 3rem;
  padding-right: 0;
  margin-left: 50%;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--primary);
  position: absolute;
  top: 1.6rem;
  right: -9px;
  z-index: 2;
  transition: var(--transition-fast);
  box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.1);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
  right: auto;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
}

.timeline-item.revealed .timeline-dot {
  background-color: var(--primary);
  transform: scale(1.15);
}

.timeline-item:nth-child(even).revealed .timeline-dot {
  background-color: var(--accent);
}

.timeline-card {
  /* Inherits premium-card styles */
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--glass-shadow);
  width: 100%;
  position: relative;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-item:nth-child(even) .timeline-year {
  color: var(--accent);
}

.timeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.timeline-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    justify-content: flex-start;
    padding-left: 3rem;
    padding-right: 0;
    margin-left: 0 !important;
    margin-bottom: 3.5rem;
  }
  .timeline-dot {
    left: 11px !important;
    right: auto !important;
  }
}

/* --- SOLUTIONS PAGE SPECIFICS (PRODUCT SHOWCASE) --- */
.solutions-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.filter-btn-accent:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.filter-btn-accent.active {
  background-color: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  /* Inherits premium-card styles */
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-image-container {
  height: auto;
  aspect-ratio: 16 / 10.4;
  background-color: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem;
}

.product-image-container.view-detail-trigger {
  cursor: pointer;
}

.product-image-container.view-detail-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.product-image {
  width: 96%;
  height: 96%;
  object-fit: contain;
  transition: var(--transition-normal);
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.product-info {
  padding: 1.85rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 800;
  height: 44px;
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
  display: flex;
  align-items: flex-end;
}

.product-title-logo {
  display: block;
  width: auto;
  max-width: 178px;
  max-height: 35px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.product-title-logo[alt="MENOMOR-HP-150"],
.product-title-logo[alt="MENOMOR-HP-1200"],
.product-title-logo[alt="PROGEMOR GEL 8% W/W"],
.product-title-logo[alt="PROGEMOR-SR-200"] {
  max-width: 198px;
}

.product-title-logo[alt="THANDAMOR-250"],
.product-title-logo[alt="THANDAMOR-500"] {
  max-height: 38px;
}

.product-title-logo[alt="MENOMOR-HP-1200"] {
  width: 228px;
  max-width: none;
  max-height: none;
  transform: translateY(26px);
}

.product-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.product-gallery-count {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  margin: -0.65rem 0 1.35rem;
}

.product-cta-btn {
  width: 100%;
  margin-top: auto;
}

/* --- MANUFACTURING PAGE SPECIFICS --- */
/* Interactive flowchart */
.flowchart-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flowchart-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

/* Central line */
.flowchart-container::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 28px;
  width: 2px;
  height: calc(100% - 3rem);
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  z-index: 1;
}

.flowchart-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.flowchart-node {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,51,153,0.1);
  transition: var(--transition-fast);
}

.flowchart-step:nth-child(4) .flowchart-node,
.flowchart-step:nth-child(5) .flowchart-node,
.flowchart-step:nth-child(6) .flowchart-node {
  border-color: var(--accent);
  color: var(--accent);
}

.flowchart-step:hover .flowchart-node {
  transform: scale(1.1);
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 0 0 8px rgba(0, 51, 153, 0.1);
}

.flowchart-step:nth-child(4):hover .flowchart-node,
.flowchart-step:nth-child(5):hover .flowchart-node,
.flowchart-step:nth-child(6):hover .flowchart-node {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 0 0 8px rgba(255, 102, 0, 0.1);
}

.flowchart-content {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  flex-grow: 1;
  transition: var(--transition-fast);
}

.flowchart-step:hover .flowchart-content {
  border-color: var(--border-focus);
  box-shadow: 0 8px 24px rgba(0,0,0,0.02);
}

.flowchart-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.flowchart-content p {
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* --- STRIPE-INSPIRED FLOATING LABELS (CONTACT PAGE) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card {
  /* Inherits premium-card styles */
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  padding: 2.25rem;
  border-radius: var(--radius-md);
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.contact-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

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

/* Form Styling */
.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

@media (max-width: 640px) {
  .form-card {
    padding: 2rem 1.5rem;
  }
}

.form-title {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
}

/* Floating Label Groups */
.floating-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.floating-input {
  width: 100%;
  padding: 1.5rem 1rem 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.floating-input:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.08);
}

textarea.floating-input {
  resize: vertical;
  min-height: 120px;
  padding-top: 1.75rem;
}

.floating-label {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Float State */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label,
.floating-group.has-value .floating-label {
  top: 0.4rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--primary);
}

.floating-input:focus ~ .floating-label {
  color: var(--primary);
}

.floating-group.has-error .floating-input {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.floating-group.has-error .floating-label {
  color: #ef4444 !important;
}

.error-text {
  color: #ef4444;
  font-size: 0.775rem;
  margin-top: 0.35rem;
  display: none;
  font-weight: 500;
}

.floating-group.has-error .error-text {
  display: block;
}

.form-alert {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-alert.success {
  display: block;
  color: #065f46;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
}

.form-alert.error {
  display: block;
  color: #991b1b;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
}

/* Form success animation overlay */
.form-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.form-success-overlay.show {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transform: scale(0.9);
  transition: var(--transition-normal);
}

.form-success-overlay.show .success-modal {
  transform: scale(1);
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.success-icon {
  width: 36px;
  height: 36px;
  stroke: #10b981;
}

.success-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.success-message {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* --- PRODUCT DETAIL MODAL --- */
.product-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 13, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.product-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background-color: var(--bg-white);
  width: min(94vw, 1200px);
  height: min(90vh, 800px);
  max-height: calc(100vh - 20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
  display: grid;
  grid-template-columns: minmax(430px, 1.16fr) minmax(400px, 0.9fr);
  position: relative;
  transform: scale(0.92);
  transition: var(--transition-normal);
}

.product-modal-backdrop.show .product-modal {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: var(--bg-main);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-main);
}

.modal-img-wrap {
  background: linear-gradient(145deg, #f8fafc 0%, #eef4fb 100%);
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.modal-img {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: contain;
  cursor: zoom-in;
  padding: clamp(1.2rem, 2.7vw, 3rem);
}

.modal-zoom-btn {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 3;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.46rem 0.86rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: var(--transition-fast);
}

.modal-zoom-btn:hover,
.modal-zoom-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 0.62rem;
  flex-shrink: 0;
}

.modal-gallery-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-white);
  cursor: pointer;
  padding: 0.32rem;
  min-height: 0;
  overflow: hidden;
  transition: var(--transition-fast);
}

.modal-gallery-thumb.active,
.modal-gallery-thumb:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.12);
}

.modal-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-body {
  padding: clamp(1.45rem, 2.3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  min-height: 0;
}

.modal-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal-title-logo-wrap {
  width: min(100%, 330px);
  min-height: 76px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.modal-title-logo {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.modal-badge {
  display: none;
  align-self: flex-start;
  background-color: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.775rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-modal-backdrop.modal-fertility .modal-badge {
  background-color: var(--accent-light);
  color: var(--accent);
}

.modal-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
  max-width: 36rem;
}

.modal-specs {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.18rem 1rem;
  margin-bottom: 0.95rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.modal-spec-row {
  display: grid;
  grid-template-columns: minmax(136px, 0.46fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0;
  padding: 0.56rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.modal-spec-row:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.modal-spec-label {
  display: block;
  font-size: 0.68rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.modal-spec-val {
  display: block;
  color: var(--text-main);
  font-size: 0.89rem;
  font-weight: 600;
  line-height: 1.45;
}

.modal-enquiry-btn {
  width: 100%;
  justify-content: center;
  min-height: 3.05rem;
  margin-top: auto;
}

.image-zoom-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.image-zoom-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.image-zoom-modal {
  width: min(96vw, 1320px);
  height: min(92vh, 860px);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.image-zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
}

.image-zoom-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.image-zoom-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.image-zoom-control,
.image-zoom-close {
  height: 36px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.image-zoom-control {
  min-width: 42px;
  border-radius: var(--radius-full);
  padding: 0 0.75rem;
}

.image-zoom-close {
  width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-zoom-close svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.image-zoom-control:hover,
.image-zoom-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.image-zoom-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: block;
  padding: clamp(1rem, 3vw, 2rem);
  background: #f8fafc;
}

.image-zoom-img {
  display: block;
  width: 103%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform-origin: center center;
  transition: transform var(--transition-fast);
  will-change: transform;
  cursor: zoom-in;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .product-modal {
    grid-template-columns: minmax(330px, 1fr) minmax(340px, 0.95fr);
    width: 94vw;
    height: min(88vh, 740px);
  }
  .modal-body {
    padding: 2.2rem;
  }
}

@media (max-width: 768px) {
  .product-modal {
    grid-template-columns: 1fr;
    width: min(92vw, 560px);
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-img-wrap {
    height: min(42vh, 330px);
    min-height: 240px;
    padding: 0.9rem;
  }
  .modal-img {
    padding: 2rem 1rem 1rem;
  }
  .modal-specs {
    grid-template-columns: 1fr;
    padding: 0.2rem 0.9rem;
  }
  .modal-spec-row {
    grid-template-columns: 1fr;
    gap: 0.32rem;
    padding: 0.72rem 0;
  }
  .modal-body {
    padding: 1.65rem;
    overflow: visible;
  }
  .modal-zoom-btn {
    top: 0.75rem;
    left: 0.75rem;
  }
  .image-zoom-modal {
    width: 96vw;
    height: 90vh;
  }
  .image-zoom-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .image-zoom-actions {
    width: 100%;
    justify-content: space-between;
  }
  .image-zoom-img {
    width: 112%;
  }
}

/* --- SCROLL ANIMATIONS --- */
.reveal-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- WEBFLOW-INSPIRED COMPONENT STYLES --- */

/* Text-Slide Hover Buttons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn-slide-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3em;
  vertical-align: middle;
}

.btn-slide-text {
  display: block;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-slide-text:last-child {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.btn:hover .btn-slide-text {
  transform: translateY(-100%);
}

/* Infinite Scientific Star Marquee */
.marquee-container {
  overflow: hidden;
  width: 100%;
  background-color: var(--primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee-roll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.marquee-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.marquee-star {
  color: var(--accent);
  font-size: 1rem;
  filter: drop-shadow(0 0 5px rgba(255, 102, 0, 0.6));
}

@keyframes marquee-roll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Linear Progress Bar Indicator Modules */
.progress-bar-section {
  margin-bottom: 2rem;
}

.progress-bar-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.progress-bar-label {
  color: var(--text-main);
}

.section-dark .progress-bar-label {
  color: var(--text-white);
}

.progress-bar-percent {
  color: var(--primary);
  font-weight: 800;
}

.section-dark .progress-bar-percent {
  color: var(--accent);
}

.progress-bar-track {
  height: 6px;
  background-color: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.section-dark .progress-bar-track {
  background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

/* Hover Expanding Divider Highlights */
.why-card, .solution-card, .foundation-card, .stat-item {
  position: relative;
}

.why-card::after, .solution-card::after, .foundation-card::after, .stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover::after, .solution-card:hover::after, .foundation-card:hover::after, .stat-item:hover::after {
  width: 80%;
}

/* Responsive finishing pass */
img,
video,
canvas,
svg {
  max-width: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.container {
  min-width: 0;
}

@media (max-width: 1024px) {
  header:not(.scrolled),
  header.scrolled {
    padding: 0;
  }

  .logo-image {
    max-width: 170px;
    height: 54px;
  }

  .mobile-drawer {
    width: min(320px, 86vw);
    max-width: 100vw;
    overflow-y: auto;
  }

  .hero-sec {
    padding: 7rem 0 4.5rem;
  }

  .hero-grid,
  .story-grid,
  .about-hero-grid,
  .cta-banner,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-content,
  .story-content,
  .about-hero-content {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  header,
  header.scrolled,
  header:not(.scrolled) {
    height: var(--header-height);
    min-height: var(--header-height);
    max-height: var(--header-height);
  }

  .nav-container {
    height: var(--header-height);
    transform: none;
  }

  .logo-wrapper,
  .header-cta {
    height: var(--header-height);
  }

  .logo-image {
    height: 52px;
    max-width: 165px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  main {
    margin-top: 72px;
  }

  section,
  .timeline-section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-title,
  .section-title,
  .story-content h2,
  .about-hero-title,
  .cta-title {
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere;
  }

  .mobile-keep-together {
    white-space: nowrap;
  }

  .phrase-nowrap {
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .carousel-title {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  #why-manufacturing .section-title,
  #why-partner .section-title,
  .story-content h2 .phrase-nowrap {
    font-size: 0.92em;
  }

  .partners-cta-title {
    font-size: clamp(1.75rem, 7.2vw, 2.05rem) !important;
  }

  .hero-description,
  .section-header p,
  .section-description,
  .cta-description,
  p {
    overflow-wrap: anywhere;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    align-items: flex-start;
    text-align: left;
  }

  .hero-abstract-art {
    height: clamp(250px, 75vw, 340px);
    max-width: min(100%, 340px);
  }

  .hero-art-icon {
    width: 34%;
    height: 34%;
  }

  .btn-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .btn-group .btn,
  .btn {
    width: 100%;
    min-height: 46px;
    white-space: normal;
    text-align: center;
  }

  .premium-card,
  .solution-card,
  .why-card,
  .stat-item,
  .story-card-glass,
  .foundation-card,
  .product-info,
  .contact-card,
  .form-card,
  .timeline-card,
  .flowchart-content,
  .cta-banner {
    padding: 1.5rem !important;
  }

  .solutions-grid,
  .why-grid,
  .impact-grid,
  .products-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .partners-section::before,
  .partners-section::after,
  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 48px;
  }

  .timeline-container::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 2.5rem;
    margin-bottom: 3rem;
  }

  .timeline-dot {
    left: 5px !important;
  }

  .flowchart-step {
    gap: 1rem;
  }

  .flowchart-container::before {
    left: 22px;
  }

  .flowchart-node {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }

  .flowchart-content {
    min-width: 0;
  }

  .solutions-filters {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .solutions-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .product-modal {
    width: calc(100vw - 24px);
    max-height: 92svh;
  }

  .modal-body {
    padding: 1.5rem !important;
  }

  .modal-spec-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  footer {
    padding: 4rem 0 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-title,
  .section-title,
  .story-content h2,
  .about-hero-title,
  .cta-title {
    font-size: clamp(1.8rem, 10vw, 2.25rem) !important;
  }

  .cta-title.partners-cta-title {
    font-size: 1.55rem !important;
    line-height: 1.18 !important;
  }
}

/* Formulation home mobile hero balance */
@media (max-width: 640px) {
  #hero.hero-sec {
    padding: 0;
  }

  #hero .hero-slides {
    height: calc(100svh - var(--header-height));
    min-height: 595px;
  }

  #hero .hero-slide {
    padding: 2.2rem 0 4.25rem;
    align-items: center;
  }

  #hero .hero-grid {
    gap: 1rem;
  }

  #hero .hero-content {
    text-align: center;
  }

  #hero .hero-slide-primary .hero-content {
    width: min(100%, 20rem);
    justify-self: center;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  #hero .hero-badge {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: min(100%, 15.75rem);
    margin: 0 auto 0.8rem;
    padding: 0.54rem 1.18rem;
    justify-items: center;
    align-items: center;
    row-gap: 0.08rem;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.15;
    letter-spacing: 0.04em;
  }

  #hero .hero-badge span {
    display: none;
  }

  #hero .hero-badge em {
    display: block;
    width: 100%;
    font-size: 0.78rem !important;
    line-height: 1.1;
  }

  #hero .hero-title {
    max-width: 18.5rem;
    margin: 0 auto 0.85rem;
    font-size: clamp(1.82rem, 8.25vw, 2.12rem) !important;
    line-height: 1.13 !important;
    letter-spacing: -0.015em;
  }

  #hero .hero-description {
    max-width: 18.75rem;
    margin: 0 auto 1.1rem;
    font-size: 0.93rem;
    line-height: 1.42;
  }

  #hero .btn-group {
    max-width: 18.75rem;
    margin: 0 auto;
    gap: 0.72rem;
  }

  #hero .btn-group .btn {
    min-height: 42px;
    padding: 0.68rem 1rem;
    font-size: 0.86rem;
  }

  #hero .btn-group .btn svg {
    width: 15px;
    height: 15px;
  }

  #hero .hero-visual {
    display: none;
  }

  #hero .hero-slide-data {
    align-items: flex-start;
    padding-top: 1.55rem;
    padding-bottom: 3.7rem;
  }

  #hero .hero-slide-brochure {
    padding-top: 1.35rem;
    padding-bottom: 4.6rem;
  }

  #hero .hero-slide-brochure::after {
    display: none;
  }

  #hero .hero-brochure-copy .hero-title {
    max-width: 20rem;
    font-size: clamp(1.75rem, 7.6vw, 2.12rem) !important;
  }

  #hero .hero-slide-brochure .hero-description {
    max-width: 18rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  #hero .hero-brochure-products {
    gap: 0.75rem;
  }

  #hero .hero-brochure-image {
    min-height: 112px;
  }

  #hero .hero-brochure-image img {
    max-height: 90px;
  }

  #hero .hero-brochure-product p {
    font-size: 0.76rem;
    line-height: 1.28;
  }

  #hero .hero-slide-data .hero-badge {
    font-size: 0.65rem;
    padding: 0.42rem 0.86rem;
    margin-bottom: 0.55rem;
  }

  #hero .hero-slide-data .hero-title {
    max-width: 19rem;
    margin-bottom: 0.55rem;
    font-size: clamp(1.42rem, 6.8vw, 1.7rem) !important;
    line-height: 1.08 !important;
  }

  #hero .hero-slide-data .hero-description {
    max-width: 19.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    line-height: 1.36;
  }

  #hero .hero-slide-data .btn-group {
    max-width: 13.5rem;
    margin-bottom: 0.9rem;
  }

  #hero .hero-slide-data .btn-group .btn {
    min-height: 38px;
    padding: 0.58rem 0.85rem;
    font-size: 0.78rem;
  }

  #hero .hero-data-cards {
    width: 100%;
    max-width: 20.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
    margin: 0 auto;
  }

  #hero .hero-data-card {
    min-height: 112px;
    padding: 0.75rem 0.52rem;
    border-radius: 12px;
  }

  #hero .hero-data-card span {
    font-size: 1.45rem;
  }

  #hero .hero-data-card strong {
    font-size: 0.74rem;
    line-height: 1.18;
  }

  #hero .hero-data-card p {
    font-size: 0.64rem;
    line-height: 1.22;
  }

  #hero .hero-slide-image {
    align-items: flex-start;
    padding: 0;
    background: #ffffff;
  }

  #hero .hero-carousel:has(.hero-slide-image.active) .hero-slides {
    min-height: calc((100vw - 0px) * 0.45);
  }

  #hero .hero-slide-image::after {
    display: none;
  }

  #hero .hero-image-slide-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    align-items: flex-start;
    background: #ffffff;
    padding: 0;
  }

  #hero .hero-image-slide-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 450;
    object-fit: contain;
    object-position: center top;
  }

  #hero .hero-slide-image {
    min-height: auto;
  }

  #hero .hero-carousel-arrow {
    top: auto;
    bottom: 1.05rem;
    transform: none;
    background: rgba(0, 20, 60, 0.38);
  }

  #hero .hero-carousel-arrow[data-hero-prev] {
    left: 1.1rem;
  }

  #hero .hero-carousel-arrow[data-hero-next] {
    right: 1.1rem;
  }
}

@media (max-width: 380px) {
  #hero.hero-sec {
    padding: 0;
  }

  #hero .hero-badge,
  #hero .hero-title,
  #hero .hero-description,
  #hero .btn-group {
    max-width: 17.4rem;
  }

  #hero .hero-badge {
    max-width: min(100%, 14.75rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #hero .hero-title {
    font-size: clamp(1.7rem, 8vw, 1.95rem) !important;
  }

  #hero .hero-description {
    font-size: 0.92rem;
  }
}

/* Hide oversized decorative section icons on mobile */
@media (max-width: 640px) {
  #why-manufacturing > .container > .story-grid:first-of-type .story-visual-wrap,
  #impact-culture > .container > .story-grid:first-of-type .story-visual-wrap,
  #partnership-outlook > .container > .story-grid .story-visual-wrap {
    display: none !important;
  }

  #why-manufacturing > .container > .story-grid:first-of-type,
  #impact-culture > .container > .story-grid:first-of-type,
  #partnership-outlook > .container > .story-grid {
    margin-bottom: 3rem !important;
  }
}
