﻿/**
 * Capital Medical — E-Commerce Design System
 * Apple-grade minimalism + Stripe-level polish + Trusted Healthcare UX
 */

:root {
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Brand Palette */
  --cm-blue: #0284c7;
  --cm-blue-dark: #0369a1;
  --cm-blue-darker: #0c4a6e;
  --cm-blue-light: #e0f2fe;
  --cm-blue-subtle: #f0f9ff;
  
  --cm-teal: #0d9488;
  --cm-teal-light: #ccfbf1;

  --cm-accent: #2563eb;
  --cm-success: #16a34a;
  --cm-success-bg: #dcfce7;
  --cm-warning: #ea580c;
  --cm-warning-bg: #ffedd5;
  --cm-danger: #dc2626;
  --cm-danger-bg: #fee2e2;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;

  /* Layout & Shadows */
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 8px -2px rgba(12, 74, 110, 0.08), 0 1px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 24px -6px rgba(12, 74, 110, 0.14), 0 4px 8px -2px rgba(0, 0, 0, 0.05);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

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

/* Top Banner */
.top-notice-bar {
  background: var(--cm-blue-darker);
  color: var(--cm-blue-light);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.top-notice-bar a {
  color: #fff;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-fast);
}

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

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--cm-blue-subtle);
  color: var(--cm-blue-dark);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--cm-blue-light);
}

.search-container {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 1rem 0 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-size: 0.9375rem;
  color: var(--gray-800);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  background: var(--white);
  border-color: var(--cm-blue);
  box-shadow: 0 0 0 4px var(--cm-blue-light);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  max-height: 400px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: var(--gray-50);
}

.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  color: var(--gray-600);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.nav-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--cm-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  height: 19px;
  min-width: 19px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover {
  color: var(--cm-blue);
}

/* Secondary Navigation Bar */
.sub-nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow-x: auto;
  scrollbar-width: none;
}

.sub-nav-bar::-webkit-scrollbar {
  display: none;
}

.sub-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  height: 46px;
  white-space: nowrap;
}

.sub-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  height: 46px;
}

.sub-nav-link:hover, .sub-nav-link.active {
  color: var(--cm-blue-dark);
}

.sub-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cm-blue);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cm-blue-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--gray-200);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--cm-blue);
  display: inline-block;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

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

.floating-stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

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

.btn-primary {
  background: var(--cm-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cm-blue-dark);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--gray-900);
}

.btn-sm {
  padding: 0.45rem 0.875rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-danger {
  background: var(--cm-danger);
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
}

/* Trust Indicators */
.trust-bar {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cm-blue-subtle);
  color: var(--cm-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.15rem;
}

.trust-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title-wrap {
  max-width: 600px;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cm-blue);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.875rem;
  letter-spacing: -0.02em;
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--cm-blue-light);
}

.product-card-top {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.product-card-top img {
  max-height: 170px;
  max-width: 90%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

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

.product-card-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}

.badge-sale {
  background: #ef4444;
  color: #fff;
}

.badge-featured {
  background: var(--cm-blue);
  color: #fff;
}

.badge-instock {
  background: var(--cm-success-bg);
  color: var(--cm-success);
}

.badge-outstock {
  background: var(--gray-200);
  color: var(--gray-600);
}

.product-wishlist-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

.product-wishlist-btn:hover, .product-wishlist-btn.active {
  color: #ef4444;
  background: #ffffff;
  transform: scale(1.1);
}

.product-card-category {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
}

.product-card-title:hover {
  color: var(--cm-blue);
}

.product-card-sku {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--gray-900);
}

.price-original {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

/* Category Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

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

.category-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-full);
  background: var(--cm-blue-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cm-blue-dark);
}

.category-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
}

.category-card-count {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Product Detail Page (PDP) */
.pdp-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  padding: 3rem 0;
}

.pdp-gallery-main {
  width: 100%;
  height: 480px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.pdp-gallery-main img {
  max-height: 420px;
  max-width: 90%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.pdp-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
}

.pdp-gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  background: var(--gray-50);
  padding: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-gallery-thumb.active {
  border-color: var(--cm-blue);
}

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

.pdp-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.pdp-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.pdp-price-card {
  background: var(--cm-blue-subtle);
  border: 1px solid var(--cm-blue-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: #fff;
  height: 46px;
}

.qty-btn {
  width: 44px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-input {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 700;
  outline: none;
}

/* Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-drawer-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

.cart-drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--gray-800);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cm-blue);
  box-shadow: 0 0 0 3px var(--cm-blue-light);
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--gray-900);
  color: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  min-width: 280px;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-success {
  border-left: 4px solid var(--cm-success);
}

.toast-error {
  border-left: 4px solid var(--cm-danger);
}

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

/* Order Status Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2.5rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: var(--gray-200);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.timeline-dot {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 3px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.timeline-step.completed .timeline-dot {
  background: var(--cm-blue);
  border-color: var(--cm-blue);
  color: #fff;
}

.timeline-step.active .timeline-dot {
  background: #fff;
  border-color: var(--cm-blue);
  color: var(--cm-blue);
  box-shadow: 0 0 0 4px var(--cm-blue-light);
}

.timeline-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
}

.timeline-step.active .timeline-label,
.timeline-step.completed .timeline-label {
  color: var(--gray-900);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--gray-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a:hover {
  color: var(--cm-blue-light);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .pdp-layout {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-wrapper {
    height: 64px;
  }
  .hero-title {
    font-size: 2rem;
  }
}
/* =========================================================
   FUTURISTIC MASTERPIECE STYLING ADDITIONS
   Ultra-modern glassmorphism, animated glow, holographic accents
   ========================================================= */

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
}

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

/* Masterpiece futuristic hero */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, rgba(240, 249, 255, 0.5) 45%, #ffffff 100%) !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(14, 165, 233, 0.3) !important;
  box-shadow: 0 4px 20px -2px rgba(14, 165, 233, 0.2) !important;
  color: #0369a1 !important;
}

.hero-title {
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.hero-title span {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-image-card {
  position: relative;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25), 0 0 0 1px rgba(224, 242, 254, 0.8) !important;
  animation: floatGentle 6s ease-in-out infinite;
}

.hero-image-card img {
  border-radius: 18px !important;
}

.floating-stat-card {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(14, 165, 233, 0.25) !important;
  box-shadow: 0 16px 32px -4px rgba(14, 165, 233, 0.2) !important;
  border-radius: 16px !important;
  animation: floatReverse 5s ease-in-out infinite;
}

.floating-spec-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
}

/* Masterpiece Product Cards */
.product-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(14, 165, 233, 0.16), 0 1px 3px rgba(0,0,0,0.05);
  border-color: #7dd3fc;
}

.product-card-thumb {
  position: relative;
  overflow: hidden;
}

.product-card-thumb img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Futuristic Brand Partners / Payment Logos Grid */
.payment-logo-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 42px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}

.payment-logo-chip:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 16px -2px rgba(14, 165, 233, 0.2);
}

.payment-logo-chip-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 44px;
  transition: all 0.25s ease;
}

.payment-logo-chip-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
}

/* Futuristic live status ping */
.live-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.live-status-dot::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.6;
  animation: pulseGlow 1.8s infinite;
}
/* =========================================================
   CONNECTED LIGHT MASTERPIECE & MOBILE RESPONSIVE STYLES
   Minimalist Futuristic Healthcare UX — 100% Unified Theme
   ========================================================= */

/* Top Notice Bar Light-Connected Header */
.top-notice-bar {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
}
.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-notice-left, .top-notice-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.notice-tag {
  color: #0284c7;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}
.notice-divider {
  width: 1px;
  height: 14px;
  background: #cbd5e1;
}
.notice-address, .notice-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-weight: 500;
}
.notice-svg {
  color: #0284c7;
  flex-shrink: 0;
}
.notice-srp-link {
  color: #0284c7 !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.notice-srp-link:hover {
  color: #0369a1 !important;
  transform: translateX(2px);
}

/* Brand block */
.brand-text-block {
  display: flex;
  flex-direction: column;
}
.brand-main-title {
  font-weight: 900;
  font-size: 1.15rem;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.brand-sub-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Section */
.hero-subtitle-block {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: #0284c7;
  margin-top: 0.35rem;
}
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 1.5rem;
}
.metric-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.metric-number.text-accent { color: #0284c7; }
.metric-number.text-emerald { color: #059669; }
.metric-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
}
.hero-apparatus-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}
.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}
.stat-card-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
}
.stat-card-desc {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0284c7;
}

/* 4 Pillars Section */
.pillars-section {
  background: #ffffff;
  padding: 4rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.section-center-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-between-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #7dd3fc;
  box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.12);
  background: #ffffff;
}
.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.bg-blue-light { background: #e0f2fe; }
.bg-emerald-light { background: #dcfce7; }
.bg-amber-light { background: #fef3c7; }
.bg-purple-light { background: #f3e8ff; }
.pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.pillar-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Categories Section & Unique SVG Icon Styling */
.categories-section {
  background: radial-gradient(circle at 50% 100%, #f0f9ff 0%, #ffffff 80%);
  border-bottom: 1px solid #e2e8f0;
  padding: 4rem 0;
}
.categories-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.category-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.category-item-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.15);
}
.category-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.3s ease;
}
.category-item-card:hover .category-icon-wrapper {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 8px 16px rgba(2, 132, 199, 0.3);
}
.category-item-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.category-item-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
}

/* Bio-Medical Engineering Section (Luminous Light Connected) */
.biomedical-section {
  padding: 4rem 0;
  background: #ffffff;
}
.biomedical-card-connected {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 45%, #ffffff 100%);
  border-radius: 24px;
  padding: 3.5rem;
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.08);
}
.biomedical-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}
.biomedical-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.biomedical-heading {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.biomedical-desc {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.biomedical-services-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.service-box {
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}
.service-box:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.1);
}
.service-box-title {
  font-weight: 800;
  font-size: 0.875rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.service-box-desc {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 3px;
  line-height: 1.4;
}
.biomedical-action-box {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 12px 30px -5px rgba(2, 132, 199, 0.1);
}
.action-box-header {
  font-size: 1.2rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.action-box-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.action-box-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.action-primary-btn {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 800 !important;
  justify-content: center !important;
  border-radius: 12px !important;
}
.action-secondary-btn {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  font-weight: 700 !important;
  justify-content: center !important;
  border-radius: 12px !important;
}
.action-outline-btn {
  background: transparent !important;
  color: #0284c7 !important;
  border: 1px solid #0284c7 !important;
  font-weight: 700 !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

/* Headquarters & Institutional Section (Connected Light Card) */
.headquarters-section {
  padding: 4rem 0 5rem;
  background: #ffffff;
}
.headquarters-card-connected {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f8fafc 100%);
  border-radius: 24px;
  padding: 3.5rem;
  border: 1px solid #cbd5e1;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.06);
}
.headquarters-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}
.headquarters-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.headquarters-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.headquarters-desc {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.headquarters-contact-block {
  font-size: 0.875rem;
  color: #334155;
  line-height: 2;
  margin-bottom: 1.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
}
.hq-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.hq-line:last-child { margin-bottom: 0; }
.hq-line svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.headquarters-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.headquarters-side-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.1);
}
.hq-side-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0284c7;
  margin-bottom: 0.5rem;
}
.hq-primary-phone {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.hq-secondary-phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 0.5rem;
}
.hq-hours-text {
  color: #64748b;
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
}
.hq-status-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Modern Unified Connected Footer (No black, seamless light aesthetic) */
.modern-unified-footer {
  background: #f8fafc;
  color: #334155;
  border-top: 1px solid #e2e8f0;
  padding-top: 4.5rem;
}
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 0.95fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.footer-brand-logo-img {
  height: 48px;
  border-radius: 10px;
  background: #ffffff;
  padding: 4px;
  border: 1px solid #e2e8f0;
}
.footer-brand-heading {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.footer-brand-sub {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-company-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1.5rem;
}
.footer-contact-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.8;
}
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: #475569;
}
.footer-contact-line:last-child { margin-bottom: 0; }
.footer-contact-icon {
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-email-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
}
.footer-email-link:hover { text-decoration: underline; }
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
  margin-bottom: 1.25rem;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav-list a {
  color: #64748b;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.footer-nav-list a:hover {
  color: #0284c7;
  transform: translateX(3px);
}
.text-danger-link { color: #dc2626 !important; font-weight: 700; }
.text-success-link { color: #059669 !important; font-weight: 700; }
.footer-external-link { color: #0284c7 !important; font-weight: 700; }
.footer-services-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-services-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.service-micro-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.footer-accreditation-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.accreditation-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Footer Badges Strip */
.footer-badges-bar {
  border-top: 1px solid #e2e8f0;
  padding: 2.25rem 0;
  background: #ffffff;
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.footer-badges-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
}
.footer-badge-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 1rem;
}
.footer-badge-chips-wrap {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}
.payment-chip-light {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.payment-chip-light:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.12);
}
.chip-label-badge {
  font-size: 0.625rem;
  font-weight: 900;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
}
.chip-label-badge.bg-green { background: #059669; }
.chip-label-badge.bg-blue { background: #0284c7; }
.chip-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
}
.chip-bdo {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0033a0;
  letter-spacing: -0.03em;
}
.chip-bpi {
  font-size: 0.95rem;
  font-weight: 900;
  color: #b11116;
  letter-spacing: -0.03em;
}
.chip-gcash {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #005ce6;
}
.chip-maya {
  font-size: 0.8125rem;
  font-weight: 900;
  color: #0d9488;
}
.chip-jt {
  font-size: 0.8125rem;
  font-weight: 900;
  color: #e11d48;
  font-style: italic;
}
.chip-lbc {
  font-size: 0.85rem;
  font-weight: 900;
  color: #dc2626;
  letter-spacing: 0.04em;
}
.chip-grab {
  font-size: 0.8125rem;
  font-weight: 900;
  color: #00b14f;
}
.chip-lalamove {
  font-size: 0.8125rem;
  font-weight: 900;
  color: #ea580c;
}
.footer-bottom-bar {
  border-top: 1px solid #e2e8f0;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-copyright-text {
  font-size: 0.8125rem;
  color: #64748b;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8125rem;
}
.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
}
.footer-legal-links a:hover { color: #0284c7; }

/* Testimonials */
.testimonials-section-bg {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #7dd3fc;
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12);
}
.rating-stars-row {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}
.testimonial-quote {
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bg-blue-grad { background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%); }
.bg-emerald-grad { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.bg-purple-grad { background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%); }
.author-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.9375rem;
}
.author-title {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* =========================================================
   MOBILE RESPONSIVENESS (PHONES & TABLETS)
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image-wrap {
    order: -1;
  }
  .hero-apparatus-img {
    height: 320px;
  }
  .biomedical-grid, .headquarters-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-badges-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-notice-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .notice-divider {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem !important;
  }
  .hero-subtitle-block {
    font-size: 1.45rem !important;
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .categories-modern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .category-item-card {
    padding: 1.15rem 0.75rem;
  }
  .biomedical-card-connected, .headquarters-card-connected {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }
  .biomedical-services-subgrid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .headquarters-cta-row {
    flex-direction: column;
  }
  .headquarters-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}
