/* ============================================
   CAPWELL PHARMACEUTICALS — Design System
   Professional B2B Corporate Pharma Website
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Primary Palette */
  --color-primary: #0B1D35;
  --color-secondary: #1B5E8A;
  --color-accent: #2A8F82;
  --color-accent-dark: #228275;

  /* Surfaces */
  --color-white: #FFFFFF;
  --color-surface: #F4F6F9;
  --color-surface-blue: #EBF0F5;
  --color-surface-dark: #0E2240;

  /* Text */
  --color-text: #1A1F2B;
  --color-text-secondary: #4A5568;
  --color-text-light: #718096;
  --color-text-inverse: #FFFFFF;
  --color-text-inverse-muted: #A0B4CC;

  /* Borders */
  --color-border: #D8DFE7;
  --color-border-light: #E8ECF1;

/* Top Notification Bar */
.top-bar {
  background-color: #0B1D35;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.top-bar-item svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  flex-shrink: 0 !important;
  stroke-width: 2;
}

  /* Typography Scale */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.25rem;

  /* Leading */
  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;

  /* Borders */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 29, 53, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 29, 53, 0.08);
  --shadow-lg: 0 8px 24px rgba(11, 29, 53, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* --- Typography --- */
.heading-xl {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
}

.heading-md {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
}

.text-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.section-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: #164D72;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
}

.btn-outline-dark:hover {
  border-color: var(--color-secondary);
  background-color: var(--color-surface);
}

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

.btn-accent:hover {
  background-color: var(--color-accent-dark);
}

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

.btn-dark:hover {
  background-color: #091526;
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 2px 10px rgba(11, 29, 53, 0.05);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.header-brand-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.header-brand-name {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.header-brand-sub {
  font-size: 0.6rem;
  font-weight: var(--font-medium);
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-primary);
  font-weight: 700;
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: #0E7490;
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.65rem;
  margin-left: 1.75rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: calc(var(--header-height) + var(--space-5xl)) 0 var(--space-5xl);
  background-color: var(--color-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 53, 0.88) 0%,
    rgba(11, 29, 53, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-content p {
  color: var(--color-text-inverse-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Page hero (inner pages) */
.hero-page {
  min-height: 360px;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
}

.hero-page .hero-content {
  max-width: 600px;
}

.hero-page h1 {
  font-size: var(--text-4xl);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-5xl) 0;
}

.section-alt {
  background-color: var(--color-surface);
}

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

.section-dark .text-secondary,
.section-dark p {
  color: var(--color-text-inverse-muted);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 560px;
  color: var(--color-text-secondary);
}

.section-header-centered {
  text-align: center;
}

.section-header-centered p {
  margin: 0 auto;
}

/* ============================================
   CORPORATE INTRO (Home)
   ============================================ */
.corporate-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.corporate-intro-text h2 {
  margin-bottom: var(--space-lg);
}

.corporate-intro-text p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

.corporate-intro-text .text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--font-semibold);
  color: var(--color-secondary);
  font-size: var(--text-sm);
  transition: gap var(--transition-fast);
}

.corporate-intro-text .text-link:hover {
  gap: var(--space-md);
}

.corporate-intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ============================================
   PRODUCT BLOCKS (Home)
   ============================================ */
.product-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.product-block {
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  transition: border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.product-block:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.product-block-image {
  height: 260px;
  overflow: hidden;
}

.product-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-block:hover .product-block-image img {
  transform: scale(1.03);
}

.product-block-content {
  padding: var(--space-2xl);
}

.product-block-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.product-block-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ============================================
   WHY CAPWELL (Home)
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why-item {
  padding: var(--space-3xl);
  border-bottom: 1px solid var(--color-border-light);
  border-right: 1px solid var(--color-border-light);
  transition: background-color var(--transition-base);
}

.why-item:nth-child(2n) {
  border-right: none;
}

.why-item:nth-child(n+3) {
  border-bottom: none;
}

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

.why-item-icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-lg);
  color: var(--color-secondary);
}

.why-item-icon svg {
  width: 100%;
  height: 100%;
}

.why-item h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.why-item p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ============================================
   QUALITY & TRUST (Home dark section)
   ============================================ */
.quality-trust-content {
  max-width: 720px;
}

.quality-trust-content h2 {
  margin-bottom: var(--space-lg);
}

.quality-trust-content > p {
  color: var(--color-text-inverse-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3xl);
}

.quality-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.quality-point {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-inverse-muted);
}

.quality-point::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--color-accent);
  border-radius: 1px;
}

/* ============================================
   CORE VALUES (Home)
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value-item {
  padding: var(--space-2xl);
  border-right: 1px solid var(--color-border-light);
  text-align: center;
}

.value-item:last-child {
  border-right: none;
}

.value-item h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.value-item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) 0;
  background-color: var(--color-surface);
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  color: var(--color-text-secondary);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-sidebar-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-approach-list {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.about-approach-item {
  display: flex;
  gap: var(--space-lg);
  align-items: start;
}

.about-approach-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.about-approach-item h3 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-xs);
}

.about-approach-item p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.vm-card {
  padding: var(--space-3xl);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

.vm-card .section-label {
  margin-bottom: var(--space-lg);
}

.vm-card p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-lg);
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-category {
  margin-bottom: var(--space-4xl);
}

.products-category:last-child {
  margin-bottom: 0;
}

.products-category h2 {
  margin-bottom: var(--space-md);
}

.products-category > p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.product-card {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  transition: border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.product-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.product-card-image {
  height: 200px;
  background-color: var(--color-surface);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-body {
  padding: var(--space-xl);
}

.product-card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
  background-color: var(--color-surface-blue);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.product-card-body h3 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.product-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.product-detail-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-surface);
}

.product-detail-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.product-detail-info .product-card-tag {
  margin-bottom: var(--space-xl);
}

.product-detail-info .description {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-light);
}

.product-detail-info .info-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
}

.product-detail-info .info-row .label {
  color: var(--color-text-light);
  font-weight: var(--font-medium);
}

.product-detail-info .info-row .value {
  font-weight: var(--font-semibold);
}

/* ============================================
   FORMS
   ============================================ */
.enquiry-section {
  padding: var(--space-5xl) 0;
  background-color: var(--color-surface);
}

.enquiry-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.enquiry-form-wrapper h2 {
  margin-bottom: var(--space-md);
}

.enquiry-form-wrapper > p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
}

.form-group label .required {
  color: #C53030;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(27, 94, 138, 0.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #C53030;
}

.form-group .error-message {
  font-size: var(--text-xs);
  color: #C53030;
  display: none;
}

.form-group .error-message.visible {
  display: block;
}

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

.form-submit {
  margin-top: var(--space-xl);
}

.form-success {
  display: none;
  padding: var(--space-xl);
  background-color: #F0FFF4;
  border: 1px solid #C6F6D5;
  border-radius: var(--radius-md);
  text-align: center;
  color: #276749;
  font-weight: var(--font-medium);
}

.form-success.visible {
  display: block;
}

/* ============================================
   QUALITY PAGE
   ============================================ */
.quality-sections {
  display: grid;
  gap: var(--space-4xl);
}

.quality-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.quality-block h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  padding-top: var(--space-xs);
}

.quality-block-content p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.quality-block-content p:last-child {
  margin-bottom: 0;
}

.quality-block + .quality-block {
  padding-top: var(--space-4xl);
  border-top: 1px solid var(--color-border-light);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  align-items: start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  margin-top: 2px;
}

.contact-info-icon svg {
  width: 100%;
  height: 100%;
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: var(--leading-normal);
}

.contact-map-placeholder {
  margin-top: var(--space-2xl);
  width: 100%;
  height: 200px;
  background-color: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.contact-form-section h2 {
  margin-bottom: var(--space-md);
}

.contact-form-section > p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  font-size: var(--text-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-text-inverse-muted);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .header-brand-logo {
  height: 44px;
  background-color: var(--color-white);
  padding: 5px 12px;
  border-radius: var(--radius-md);
}

.footer-brand .header-brand-name {
  color: var(--color-white);
  font-size: var(--text-lg);
}

.footer-brand .header-brand-sub {
  color: var(--color-text-inverse-muted);
}

.footer-brand p {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 280px;
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xl);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-column a {
  font-size: var(--text-sm);
  color: var(--color-text-inverse-muted);
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  align-items: start;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-inverse-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .product-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .value-item:nth-child(2) {
    border-right: none;
  }

  .value-item:nth-child(1),
  .value-item:nth-child(2) {
    border-bottom: 1px solid var(--color-border-light);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .quality-block {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-sidebar-image {
    order: -1;
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  .hero {
    min-height: 480px;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero-page {
    min-height: 280px;
  }

  /* Mobile Nav */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 100%);
    flex-direction: column;
    background-color: var(--color-white);
    padding: var(--space-xl) var(--space-2xl);
    gap: 1rem;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    border-top: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    overflow-y: auto;
  }

  .header-nav.open {
    transform: translateX(0);
  }

  .header-nav a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 100%;
  }

  .header-cta {
    display: flex;
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Tables & Responsive Wrappers */
  table, .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Layouts */
  .corporate-intro {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .corporate-intro-image {
    order: -1;
  }

  .product-blocks {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-right: none !important;
    border-bottom: 1px solid var(--color-border-light) !important;
  }

  .why-item:last-child {
    border-bottom: none !important;
  }

  .quality-points {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
    text-align: left;
    padding: var(--space-xl);
  }

  .value-item:last-child {
    border-bottom: none;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-image img {
    height: 320px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
  .top-bar-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .header-inner {
    padding: 0 0.85rem;
    height: 64px;
  }

  .header-brand-logo {
    height: 36px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   B2B & INSTITUTIONAL FEATURES STYLES
   ============================================ */

/* MOQ Badge */
.moq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background-color: rgba(14, 116, 144, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(14, 116, 144, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.moq-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.moq-badge-lg {
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  background-color: rgba(15, 118, 110, 0.1);
  color: var(--color-accent-teal);
  border-color: rgba(15, 118, 110, 0.25);
}

/* Catalogue Download Button */
.btn-catalogue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #047857;
  color: white;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.25);

}
.btn-catalogue:hover {
  background-color: #065f46;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.35);
  color: white;
}

/* RFQ Stepper Widget */
.rfq-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  position: relative;
}
.rfq-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 3px;
  background-color: var(--color-border-light);
  z-index: 1;
}
.rfq-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-bg-white);
  border: 2px solid var(--color-border-light);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-base);
}
.rfq-step.active .step-number {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.15);
}
.rfq-step.completed .step-number {
  border-color: var(--color-accent-teal);
  background-color: var(--color-accent-teal);
  color: white;
}
.step-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
}
.rfq-step.active .step-title {
  color: var(--color-primary);
}

/* RFQ Product Selector Table */
.rfq-product-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rfq-product-table th {
  background-color: #f8fafc;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-light);
}
.rfq-product-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}
.rfq-qty-input {
  width: 100px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
}
.rfq-qty-input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

/* Auth Cards & Dashboard */
.auth-card {
  max-width: 480px;
  margin: 3rem auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-light);
}
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: 2rem;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition-base);
}
.auth-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.demo-account-box {
  background: #f0f9ff;
  border: 1px dashed #0284c7;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.demo-account-box strong {
  color: #0369a1;
  display: block;
  margin-bottom: 0.25rem;
}

.dash-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid var(--color-border-light);
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.dash-stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.dash-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin: 0.25rem 0;
}
.dash-stat-lbl {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-delivered { background: #d1fae5; color: #065f46; }

/* Document Vault Cards */
.doc-vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.doc-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.doc-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.doc-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(14, 116, 144, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.25rem 0;
}
.doc-meta-row {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

/* Specimen Modal */
.specimen-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.specimen-modal-content {
  background: white;
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.specimen-modal-header {
  background: var(--color-primary);
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.specimen-modal-body {
  padding: 2rem;
  overflow-y: auto;
}

/* Logistics Specs Grid */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.logistics-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.logistics-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Procurement FAQ Component Styles */
.faq-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border-light);
}
.faq-tab-btn {
  background: white;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-base);
}
.faq-tab-btn.active, .faq-tab-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.faq-question {
  padding: 1.35rem 1.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: white;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem 1.75rem;
  border-top: 1px dashed var(--color-border-light);
  margin-top: 0.5rem;
  padding-top: 1rem;
}



