/* Orchem Pharma: Precision theme. Shared across all six pages. */

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

:root {
  /* Theme colors; the official logo is preserved. */
  --brand-primary: #18244A;      /* Brand ink */
  --brand-navy-dark: #16213F;    /* Midnight surface */
  --brand-midnight: #101830;     /* Footer base */
  --brand-indigo-light: #293C71; /* Medium Royal Indigo */
  
  --brand-blue: #315BE8;         /* Electric Cobalt Blue (Lower Hexagon Facet) */
  --brand-blue-hover: #2447BF;   /* Rich Royal Blue */
  --brand-blue-light: #426AF0;   /* Bright Blue */
  --brand-blue-soft: #ABC1FF;    /* Sky / Accent Blue */
  --brand-blue-tint: #EDF1FC;    /* Ultra-light Indigo/Blue Tint */
  
  --brand-purple: #6850BB;       /* Vibrant Purple / Violet (Upper Hexagon Facet) */
  --brand-purple-dark: #503B97;  /* Deep Violet Plum */
  --brand-purple-light: #7A64CC; /* Magenta Purple */
  --brand-purple-soft: #C9C0EB;  /* Lavender Accent */
  --brand-purple-tint: #F3F0FC;  /* Ultra-light Purple Tint */
  
  --brand-accent: #315BE8;       /* "Advancing Life" Subtitle Blue */
  --brand-cyan: #315BE8;         /* Crisp Azure Accent */

  /* Neutrals & Slates */
  --slate-900: #182440;
  --slate-800: #293650;
  --slate-700: #43516B;
  --slate-600: #59667F;
  --slate-500: #66738B;
  --slate-400: #8290A8;
  --slate-300: #CCD4E4;
  --slate-200: #DFE4EF;
  --slate-100: #F0F3F9;
  --slate-50:  #F7F8FC;
  
  /* Surfaces */
  --surface-light: #F7F8FC;
  --surface-alt: #EDF1FC;
  --surface-card: #FFFFFF;
  
  /* Typography */
  --font-serif: 'Geist', 'Segoe UI', sans-serif;
  --font-heading: 'Geist', 'Segoe UI', sans-serif;
  --font-body: 'Geist', 'Segoe UI', sans-serif;
  --font-mono: 'Geist', 'Segoe UI', sans-serif;
  
  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(24, 36, 74, 0.05);
  --shadow-sm: 0 2px 6px -1px rgba(24, 36, 74, 0.08), 0 1px 3px -1px rgba(24, 36, 74, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(24, 36, 74, 0.09), 0 4px 8px -2px rgba(24, 36, 74, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(24, 36, 74, 0.14), 0 8px 16px -4px rgba(24, 36, 74, 0.06);
  --shadow-xl: 0 30px 60px -15px rgba(8, 7, 32, 0.28);
  --shadow-glow: 0 0 30px rgba(49, 91, 232, 0.35);
  --shadow-glow-purple: 0 0 30px rgba(111, 26, 169, 0.30);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1240px;
  --max-width-wide: 1360px;
  --header-height: 82px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--slate-700);
  background-color: var(--surface-light);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--brand-primary);
  color: #ffffff;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
}

h4 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--slate-600);
}

/* Scientific Badges & Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background-color: rgba(49, 91, 232, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(49, 91, 232, 0.22);
  margin-bottom: 1rem;
}

.eyebrow-dark {
  color: var(--brand-blue-soft);
  background-color: rgba(49, 91, 232, 0.16);
  border-color: rgba(166, 214, 200, 0.30);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  box-shadow: 0 0 8px var(--brand-blue-light);
  animation: none;
}

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

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
}

.section-tight {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--slate-600);
  font-size: 1.125rem;
}

.bg-white { background-color: #ffffff; }
.bg-light { background-color: var(--surface-light); }
.bg-alt { background-color: var(--surface-alt); }
.bg-dark {
  background-color: var(--brand-midnight);
  color: var(--slate-300);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: #ffffff;
}
.bg-dark .lead {
  color: var(--slate-300);
}

/* ==========================================================================
   BUTTONS & CTAs (BLUE & INDIGO BRANDED)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(49, 91, 232, 0.35);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(49, 91, 232, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--slate-300);
}

.btn-outline-dark:hover {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--brand-primary);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--brand-navy-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   NAVIGATION BAR (STICKY & REFINED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(24, 36, 74, 0.08);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 52px;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-blue);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

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

.nav-dropdown-toggle .chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle .chevron-icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  min-width: 320px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--surface-light);
}

.dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-blue-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon svg {
  width: 20px;
  height: 20px;
}

.dropdown-content h5 {
  font-size: 0.95rem;
  color: var(--brand-primary);
  margin-bottom: 2px;
}

.dropdown-content p {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin-bottom: 0;
}

.dropdown-footer {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

.dropdown-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.dropdown-footer a:hover {
  color: var(--brand-blue);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  z-index: 1050;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 24px;
}

.mobile-drawer-header img {
  height: 40px;
  width: auto;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-sublinks {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.mobile-sublink {
  font-size: 0.95rem;
  color: var(--slate-600);
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(8, 7, 32, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-color: var(--brand-midnight);
  background-image: url('../assets/images/hero-scientific-bg.svg');
  background-size: cover;
  background-position: center right;
  overflow: hidden;
  padding: clamp(60px, 8vw, 120px) 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(8, 7, 32, 0.4) 0%, rgba(8, 7, 32, 0.92) 80%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 5vw, 70px);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #93C5FD 75%, #C9C0EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .lead {
  color: var(--slate-300);
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 3rem;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-300);
  font-size: 0.875rem;
}

.meta-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-blue-soft);
}

/* Hero Visual Showcase Card */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-preview-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.preview-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--brand-blue-soft);
  background: rgba(49, 91, 232, 0.20);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(166, 214, 200, 0.25);
}

.hero-products-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.mini-product-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.mini-product-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(166, 214, 200, 0.45);
  transform: translateY(-3px);
}

.mini-product-pill .tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--brand-blue-soft);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.mini-product-pill h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.mini-product-pill p {
  font-size: 0.78rem;
  color: var(--slate-300);
  line-height: 1.4;
}

.hero-verified-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(49, 91, 232, 0.14);
  border: 1px solid rgba(166, 214, 200, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.825rem;
  color: var(--brand-blue-soft);
}

/* ==========================================================================
   GLOBAL TICKER / CREDIBILITY STRIP
   ========================================================================== */
.credibility-strip {
  background-color: var(--brand-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  color: #ffffff;
}

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

.ticker-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
}

.ticker-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(49, 91, 232, 0.20);
  color: var(--brand-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ticker-info h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.ticker-info p {
  color: var(--slate-400);
  font-size: 0.78rem;
  margin-bottom: 0;
}

/* ==========================================================================
   SECTION A: ABOUT ORCHEM PHARMA
   ========================================================================== */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-feature-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--brand-blue-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-box h4 {
  font-size: 1.05rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Laboratory Visual Accent */
.visual-lab-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  background: #ffffff;
}

.visual-lab-card img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
}

.floating-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-primary);
  color: var(--brand-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-text h5 {
  font-size: 0.925rem;
  color: var(--brand-primary);
  margin-bottom: 2px;
}

.floating-badge-text p {
  font-size: 0.8rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

/* ==========================================================================
   SECTION B: OUR PRODUCTS (CARDS & SHOWCASE)
   ========================================================================== */
.products-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(49, 91, 232, 0.35);
}

.product-card-media {
  position: relative;
  background-color: var(--surface-light);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--slate-100);
  overflow: hidden;
}

.product-card-media img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card-media img {
  transform: scale(1.03);
}

.product-badge-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

.product-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-card-body h3 {
  font-size: 1.65rem;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.product-card-body p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-spec-highlights {
  background: var(--surface-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--slate-200);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--slate-200);
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: var(--slate-500);
  font-weight: 500;
}

.spec-value {
  color: var(--brand-primary);
  font-weight: 600;
  font-family: var(--font-mono);
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

/* ==========================================================================
   SECTION C: WHY CHOOSE ORCHEM PHARMA (5 PILLARS)
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-blue);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(49, 91, 232, 0.35);
}

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

.why-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--brand-blue-tint);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(49, 91, 232, 0.15);
  transition: opacity var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.why-card:hover .why-icon-badge {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.why-card h4 {
  font-size: 1.2rem;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.why-card p {
  color: var(--slate-600);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   SECTION D: INDUSTRIES WE SERVE
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 32px 28px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.industry-icon-wrapper {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.industry-card h4 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.industry-card p {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.industry-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.industry-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  background: var(--surface-light);
  color: var(--brand-primary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

/* ==========================================================================
   SECTION E: QUALITY & RELIABILITY
   ========================================================================== */
.quality-wrapper {
  background-color: var(--brand-midnight);
  background-image: none;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 70px);
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 60px);
  align-items: center;
}

.quality-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.quality-pillar-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(8px);
}

.quality-pillar-item h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quality-pillar-item h5 svg {
  color: var(--brand-blue-soft);
}

.quality-pillar-item p {
  color: var(--slate-300);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.quality-visual-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   SECTION F: CALL TO ACTION (PARTNER WITH US)
   ========================================================================== */
.cta-banner {
  background: var(--brand-midnight);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(111, 26, 169, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-text {
  max-width: 680px;
}

.cta-text h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-text p {
  color: var(--slate-300);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */
.page-hero {
  background-color: var(--brand-midnight);
  background-image: none;
  color: #ffffff;
  padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 60px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: var(--slate-300);
  max-width: 750px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--brand-blue-soft);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span.divider {
  color: var(--slate-600);
}

/* ==========================================================================
   TECHNICAL SPECIFICATIONS TABLE
   ========================================================================== */
.specs-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin: 32px 0;
}

.specs-table-header {
  background: var(--surface-light);
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.specs-table-header h4 {
  font-size: 1.1rem;
  color: var(--brand-primary);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th {
  background: var(--surface-alt);
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--slate-200);
}

.specs-table td {
  padding: 16px 24px;
  font-size: 0.925rem;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
  vertical-align: top;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background-color: var(--surface-light);
}

.specs-table .param-name {
  font-weight: 600;
  color: var(--brand-primary);
}

.specs-table .param-note {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.spec-disclaimer-card {
  background: var(--surface-light);
  border-left: 4px solid var(--brand-blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-top: 16px;
}

/* ==========================================================================
   PRODUCT DETAILS DETAIL PAGE LAYOUT
   ========================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.product-detail-visual {
  position: static;
  align-self: start;
  order: -1;
  width: min(100%, 720px);
  justify-self: center;
}

.product-main-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.product-detail-layout > div:first-child { min-width: 0; }

.product-main-card img {
  max-height: 380px;
  margin: 0 auto 24px auto;
}

.application-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.app-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.app-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.app-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-blue-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.app-card h5 {
  font-size: 1.05rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.app-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   B2B ENQUIRY FORM & LEAD CAPTURE
   ========================================================================== */
.enquiry-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.form-label .required {
  color: #ef4444;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-300);
  background-color: #ffffff;
  color: var(--slate-800);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: opacity var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(49, 91, 232, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--slate-400);
}

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

.honeypot-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0;
  position: absolute;
  left: -9999px;
}

.form-feedback {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 20px;
  font-size: 0.925rem;
}

.form-feedback.success {
  display: block;
  background-color: var(--brand-blue-tint);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-soft);
}

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

/* ==========================================================================
   MODAL DIALOG (GLOBAL REQUEST A QUOTE)
   ========================================================================== */
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 7, 32, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.quote-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.quote-modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  position: relative;
  transform: scale(0.95) translateY(15px);
  transition: transform var(--transition-smooth);
}

.quote-modal-backdrop.active .quote-modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--slate-100);
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--brand-primary);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-light);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--brand-primary);
}

.modal-body {
  padding: 32px;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 5vw, 70px);
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--slate-100);
}

.contact-channel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--brand-blue-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-details h5 {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.channel-details a, .channel-details address {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.5;
}

.channel-details a:hover {
  color: var(--brand-blue);
}

.map-embed-wrapper {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  height: 240px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FLOATING SPEED CONTACT PILL (WHATSAPP & QUICK ENQUIRY)
   ========================================================================== */
.floating-actions-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.floating-wa-btn svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--brand-midnight);
  color: var(--slate-400);
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-blue-soft);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue-soft);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.footer-bottom a:hover {
  color: var(--brand-blue-soft);
}

.footer-legal-note {
  font-size: 0.775rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin-top: 8px;
}

/* ==========================================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Precision theme: shared surfaces, typography, and interaction details. */
:root {
  --shadow-sm: 0 2px 8px rgb(24 36 74 / 4%);
  --shadow-md: 0 8px 24px rgb(24 36 74 / 6%);
  --shadow-lg: 0 16px 40px rgb(24 36 74 / 8%);
  --shadow-xl: 0 24px 56px rgb(24 36 74 / 12%);
  --navy-800: var(--brand-primary);
  --forest-700: var(--brand-blue);
}

h1, h2 { font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3, h4, h5, h6 { font-weight: 600; }
section { scroll-margin-top: 112px; }
.btn { min-height: 44px; padding: 8px 12px; gap: 8px; box-shadow: none; }
.btn-lg { min-height: 48px; padding: 12px 24px; font-size: 1rem; }
.btn-primary:hover { box-shadow: none; }
.btn-whatsapp { background: #20744B; box-shadow: none; }
.btn-whatsapp:hover { background: #195E3C; box-shadow: none; }
.btn:active { transform: scale(.97); }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
.btn:focus-visible { transition: none; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 3000; padding: 12px 16px; background: white; color: var(--brand-primary); transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { top: 0; width: 100%; max-width: none; margin: 0; border: 0; border-bottom: 1px solid var(--slate-200); border-radius: 0; background: rgb(255 255 255 / 94%); box-shadow: var(--shadow-sm); }
.navbar { padding-inline: 24px; }
.nav-menu { gap: 24px; }
.nav-link { font-size: .875rem; font-weight: 500; }
.nav-link::after { width: 100%; transform: scaleX(0); transform-origin: left; transition: transform var(--transition-normal); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-dropdown-menu { transform-origin: top left; }
.nav-dropdown-menu::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-dropdown:focus-within .nav-dropdown-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: none; }

.hero-section { background: var(--brand-midnight); min-height: 0; padding: 80px 0; }
.hero-overlay { display: none; }
.hero-grid { gap: 48px; grid-template-columns: 1.15fr 1fr; }
.hero-content h1 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); line-height: 1.08; color: #fff; letter-spacing: -.045em; }
.hero-content h1 span.gradient-text { display: block; background: linear-gradient(90deg, #fff, #9BAAD0); background-clip: text; -webkit-background-clip: text; }
.hero-content .lead { color: #BBC7DF; font-size: 1rem; max-width: 540px; margin-bottom: 32px; }
.eyebrow { background: transparent; border: 0; padding: 0; font-size: .75rem; letter-spacing: .08em; font-weight: 600; }
.hero-section .eyebrow-dark, .page-hero .eyebrow-dark { color: #ABC1FF; }
.eyebrow-dot { box-shadow: none; flex-shrink: 0; }
.hero-ctas { margin-bottom: 32px; }
.hero-section .btn-secondary { color: #fff; border: 1px solid #4E608A; background: transparent; backdrop-filter: none; }
.hero-section .btn-secondary:hover { background: #25365D; border-color: #ABC1FF; }
.hero-meta-strip { gap: 16px; flex-wrap: wrap; border-color: #354365; }
.meta-item { color: #BBC7DF; font-size: .75rem; gap: 8px; }
.meta-icon { color: #ABC1FF; flex-shrink: 0; width: 16px; height: 16px; }
.hero-card-stack { padding: 24px; background: #F7F8FC; border: 1px solid #DFE4EF; box-shadow: none; backdrop-filter: none; }
.hero-preview-badge { gap: 12px; flex-wrap: wrap; }
.preview-tag { background: none; border: 0; padding: 0; color: var(--brand-primary); font-size: .75rem; }
.mini-product-pill { background: #fff; border: 1px solid var(--slate-200); padding: 16px; }
.mini-product-pill:hover { background: #fff; border-color: var(--brand-blue); }
.hero-product-image { width: 100%; height: 160px; object-fit: contain; margin-bottom: 16px; border-radius: 4px; }
.mini-product-pill .tag { color: var(--brand-blue); font-size: .625rem; letter-spacing: .06em; }
.mini-product-pill h4 { color: var(--brand-primary); font-size: 1rem; margin: 8px 0; }
.mini-product-pill p { color: var(--slate-600); font-size: .75rem; line-height: 1.65; }
.hero-verified-bar { background: transparent; border: 0; padding: 0; color: var(--brand-blue); gap: 12px; flex-wrap: wrap; font-size: .75rem; }
.credibility-strip { background: #fff; border-color: var(--slate-200); padding: 24px 0; }
.ticker-icon { background: var(--surface-alt); color: var(--brand-blue); border-radius: 8px; }
.ticker-info h5 { color: var(--brand-primary); font-size: .875rem; }
.ticker-info p { color: var(--slate-600); }

.product-card, .feature-box, .why-card, .industry-card, .app-card, .enquiry-card-wrapper, .product-main-card { box-shadow: none; }
.product-card:hover, .feature-box:hover, .why-card:hover, .industry-card:hover, .app-card:hover { box-shadow: var(--shadow-md); }
.why-card::before { display: none; }
.product-card-media { background: var(--surface-alt); }
.product-card-body h3 { font-size: 1.5rem; }
.spec-disclaimer-card { border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.quality-wrapper, .cta-banner { box-shadow: none; background: #16213F; }
.cta-banner::after { display: none; }
.quality-visual-container { box-shadow: none; }
.page-hero { background: var(--brand-midnight); color: #BBC7DF; border-color: #354365; margin-top: 0; padding: 64px 0; }
.page-hero h1 { color: #fff; max-width: 680px; }
.page-hero .lead { color: #BBC7DF; max-width: 680px; }
.breadcrumbs, .breadcrumbs a { color: #ABC1FF; }
.form-input, .form-select, .form-textarea { font-size: 1rem; border-width: 1px; min-height: 48px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--slate-500); }
.mobile-nav-drawer { right: 0; height: 100dvh; transform: translateX(100%); visibility: hidden; transition: transform 250ms cubic-bezier(.22,1,.36,1), visibility 250ms; }
.mobile-nav-drawer.open { transform: translateX(0); visibility: visible; }

/* Precision components: compact navigation, catalog rows, and technical details. */
.site-header { background: #fff; box-shadow: none; }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-link { font-weight: 600; }
.nav-link.active { color: var(--brand-blue); }
.btn { border-radius: 4px; }
.btn-primary { background: var(--brand-blue); }
.btn-primary:hover { background: var(--brand-blue-hover); }
.eyebrow { letter-spacing: .12em; }
.eyebrow-dark { color: var(--brand-blue-soft); }
.hero-content h1 { font-weight: 500; }
.hero-products-duo { grid-template-columns: 1fr; gap: 16px; }
.mini-product-pill { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: start; border-radius: 4px; }
.hero-product-image { grid-column: 1; grid-row: 1 / 4; height: 144px; margin: 0; align-self: center; }
.mini-product-pill .tag, .mini-product-pill h4, .mini-product-pill p { grid-column: 2; }
.mini-product-pill h4 { font-size: 1.125rem; }
.mini-product-pill .tag { font-weight: 700; }
.hero-card-stack { border-radius: 8px; box-shadow: 0 24px 64px rgb(0 0 0 / 20%); }
.hero-preview-badge { margin-bottom: 24px; }
.preview-tag { font-weight: 600; letter-spacing: .12em; }
.credibility-strip { background: #EDF1FC; border: 0; }
.ticker-icon { background: #fff; border: 1px solid #D5DEF7; border-radius: 4px; }
.section-header { max-width: 720px; }
.section-header h2 { font-weight: 500; }
.product-card-media { padding: 32px; background: #EDF1FC; }
.product-badge-overlay, .industry-tag { border-radius: 4px; }
.feature-icon-wrapper, .why-icon-badge, .app-card-icon, .channel-icon { border-radius: 4px; }
.product-card, .industry-card, .why-card, .feature-box, .app-card { border-color: #DFE4EF; }
.product-card:hover, .industry-card:hover, .why-card:hover, .feature-box:hover, .app-card:hover { transform: translateY(-2px); border-color: #A6B9F4; }
.product-spec-highlights { border: 1px solid #DFE4EF; border-radius: 4px; }
.specs-table th { background: #E9EEFC; letter-spacing: .04em; }
.specs-table-header { background: #F7F8FC; }
.quality-wrapper { background: var(--brand-midnight); }
.quality-pillar-item { background: #1B2746; border-color: #354365; backdrop-filter: none; }
.cta-banner { background: #223F9B; border: 0; }
.cta-banner .btn-primary { background: #fff; color: #223F9B; }
.cta-banner .btn-primary:hover { background: #E9EEFC; }
.cta-banner .eyebrow { color: #D0DCFF; }
.form-input, .form-select, .form-textarea { background: #F7F8FC; border-color: #CFD7E7; border-radius: 4px; }
.form-input:focus, .form-select:focus, .form-textarea:focus { background: #fff; }
.enquiry-card-wrapper { box-shadow: var(--shadow-md); }
.site-footer { background: var(--brand-midnight); }
.quote-modal-content { border-radius: 8px; }
@media (max-width: 480px) {
  .mini-product-pill { grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; }
  .hero-product-image { height: 112px; }
  .mini-product-pill p { font-size: .75rem; }
  .hero-content h1 { font-size: 2.25rem; }
}

@media (hover: none) {
  .btn:hover, .brand-logo:hover, .product-card:hover, .feature-box:hover, .industry-card:hover, .app-card:hover, .mini-product-pill:hover { transform: none; }
  .product-card:hover .product-card-media img, .btn:hover .btn-icon-arrow { transform: none; }
}
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 680px; }
  .hero-card-stack { max-width: 680px; }
}
@media (max-width: 768px) {
  .site-header { top: 0; width: 100%; margin-top: 0; }
  .navbar { padding-inline: 16px; }
  .brand-logo img { max-width: 184px; height: auto; }
  .hero-section { padding: 48px 0; }
  .hero-grid { gap: 32px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content .eyebrow { font-size: .625rem; }
  .hero-card-stack { padding: 16px; }
  .hero-product-image { height: 120px; }
  .page-hero { padding: 48px 0; }
  .quality-wrapper, .cta-banner, .product-main-card, .enquiry-card-wrapper { padding: 24px; }
  .btn { white-space: normal; }
  .hero-products-duo { gap: 8px; }
  .mini-product-pill { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.floating-wa-btn { background: #20744B; box-shadow: var(--shadow-md); }
.floating-wa-btn:hover { box-shadow: var(--shadow-lg); }
.site-footer, .footer-brand p, .footer-links a { color: #B9C5E0; }
.footer-bottom, .footer-legal-note { color: #A5B3D1; }
.footer-links a:hover { padding-left: 0; }
.product-detail-layout > *, .hero-grid > *, .contact-layout-grid > * { min-width: 0; }
.quality-wrapper h2 { color: #fff; }
.quality-wrapper .lead { color: #CCD4E4; }
.quality-wrapper .eyebrow { color: var(--brand-blue-soft); }
@media (max-width: 768px) {
  .specs-table-header { flex-wrap: wrap; gap: 8px; }
}
.application-section { grid-column: 1 / -1; min-width: 0; }
.application-section .application-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.application-section .app-card { min-width: 0; padding: 20px; }
@media (max-width: 1100px) {
  .application-section .application-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .application-section .application-cards-grid { grid-template-columns: 1fr; }
}
.grade-spectrum-section { grid-column: 1 / -1; min-width: 0; }
.grade-spectrum-section > div[style*="grid-template-columns"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; }
.grade-spectrum-section > div[style*="grid-template-columns"] > div { min-width: 0; }
@media (max-width: 1100px) {
  .grade-spectrum-section > div[style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .grade-spectrum-section > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* Shared layout fixes: let page content and card grids use available width. */
.container, .container-wide { width: min(100%, var(--max-width)); }
.product-detail-layout { grid-template-columns: minmax(0, 1fr); }
.product-detail-layout > div:first-child, .product-detail-layout .specs-table-wrapper { width: 100%; min-width: 0; }
.product-detail-visual { order: -1; width: min(100%, 720px); justify-self: center; }
.why-us-grid, .industries-grid, .application-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.products-showcase-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.about-feature-boxes, .quality-pillars { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ticker-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 768px) {
  .container, .container-wide { padding-inline: 20px; }
  .hero-grid, .about-overview-grid, .quality-grid, .contact-layout-grid, .cta-flex { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-content, .hero-card-stack, .about-overview-grid > *, .contact-layout-grid > * { width: 100%; min-width: 0; }
  .hero-content h1, .page-hero h1, .section h2 { overflow-wrap: anywhere; }
  .product-detail-layout { gap: 24px; }
  .application-section .application-cards-grid, .grade-spectrum-section > div[style*="grid-template-columns"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important; }
}
@media (max-width: 480px) {
  .container, .container-wide { padding-inline: 16px; }
  .site-header, .navbar { width: 100%; max-width: 100%; min-width: 0; }
  .navbar { justify-content: space-between; }
  .brand-logo { min-width: 0; flex: 0 1 auto; }
  .mobile-toggle { display: flex; flex: 0 0 44px; margin-left: auto; }
  .hero-grid, .hero-section .container, .page-hero .container { width: 100%; max-width: 100%; min-width: 0; }
  .hero-content h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .hero-ctas { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero-ctas .btn { width: 100%; min-width: 0; }
  .mini-product-pill { min-width: 0; }
  .specs-table-wrapper { max-width: 100%; }
}
