/* ==========================================================================
   GRANZE PHARMA — B2B Pharmaceutical Design System
   Minimal, Clinical, Trust-First Architecture
   ========================================================================== */

:root {
  /* Brand Palette (Derived from Granze Pharma Official Logo) */
  --navy-950: #041A3B;
  --navy-900: #002F6C;
  --navy-800: #0A3E82;
  --navy-100: #E6EFF8;
  --navy-50: #F2F6FB;

  --teal-700: #007379;
  --teal-600: #008B92;
  --teal-500: #00A59E;
  --teal-100: #E0F5F4;
  --teal-50: #F0FAF9;

  /* Neutrals */
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --border-subtle: #DCE6F0;
  --border-strong: #C4D4E4;
  --surface-white: #FFFFFF;
  --surface-tint: #F6F9FC;
  --surface-card: #FFFFFF;

  /* Semantic */
  --error-600: #B91C1C;
  --error-50: #FEF2F2;
  --success-700: #047857;
  --success-50: #ECFDF5;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Elevation */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(4, 26, 59, 0.04), 0 1px 3px rgba(4, 26, 59, 0.03);
  --shadow-md: 0 8px 24px -4px rgba(4, 26, 59, 0.07), 0 2px 6px rgba(4, 26, 59, 0.03);
  --shadow-lg: 0 18px 40px -10px rgba(4, 26, 59, 0.12);
  --transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background-color: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: var(--navy-900);
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--teal-600);
  outline-offset: 2px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--navy-900);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

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

/* Container & Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section--tint {
  background-color: var(--surface-tint);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--navy {
  background-color: var(--navy-950);
  color: #E2ECF7;
}

.section--navy h2,
.section--navy h3 {
  color: #FFFFFF;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-700);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: var(--teal-600);
  border-radius: 2px;
}

.section--navy .eyebrow {
  color: #5CD2CC;
}

.section--navy .eyebrow::before {
  background-color: #5CD2CC;
}

.section-header {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.9rem;
}

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

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

.section-header--center .eyebrow {
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--navy-900);
  color: #FFFFFF;
}

.btn--primary:hover {
  background-color: var(--navy-800);
  box-shadow: var(--shadow-md);
}

.btn--teal {
  background-color: var(--teal-600);
  color: #FFFFFF;
}

.btn--teal:hover {
  background-color: var(--teal-700);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--surface-white);
  color: var(--navy-900);
  border-color: var(--border-strong);
}

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

.btn--ghost-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--sm {
  padding: 0.62rem 1.1rem;
  font-size: 0.875rem;
  min-height: 40px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link img {
  height: 60px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy-900);
  background-color: var(--navy-50);
}

.nav-link[aria-current="page"] {
  color: var(--navy-900);
  background-color: var(--navy-50);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background-color: var(--teal-600);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--navy-50);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--surface-white);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.mobile-nav-link[aria-current="page"] {
  background-color: var(--navy-50);
  color: var(--navy-900);
}

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

/* ==========================================================================
   Hero & Page Banners
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.25rem, 6.5vw, 5rem);
  padding-bottom: clamp(5.5rem, 9.5vw, 7.5rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92) 0%, rgba(244, 249, 252, 0.85) 65%, rgba(232, 243, 249, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Flowing Multi-Layer Pharma Waves at Bottom of Hero */
.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(72px, 10vw, 128px);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-wave-svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  display: block;
  will-change: transform;
}

.hero-wave-svg--back {
  animation: gpWaveLoop 24s linear infinite;
}

.hero-wave-svg--front {
  animation: gpWaveLoopReverse 18s linear infinite;
}

.hero-wave-svg--mask {
  width: 100%;
}

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

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

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.14;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.12rem);
  color: var(--ink-600);
  max-width: 39rem;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Confirmed Scope Summary Card in Hero */
.scope-panel {
  background-color: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.scope-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.scope-panel__logo {
  width: 140px;
  height: auto;
}

.scope-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal-700);
  background-color: var(--teal-50);
  border: 1px solid rgba(0, 139, 146, 0.22);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.scope-list {
  display: grid;
  gap: 0.9rem;
}

.scope-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.scope-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--navy-50);
  color: var(--navy-900);
}

.scope-item h3 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.15rem;
}

.scope-item p {
  font-size: 0.85rem;
  color: var(--ink-600);
  line-height: 1.45;
}

/* Sub-page Header */
.page-banner {
  padding-block: clamp(2.75rem, 5.5vw, 4rem);
  background:
    radial-gradient(circle at 90% 15%, rgba(0, 165, 158, 0.08) 0%, rgba(0, 165, 158, 0) 45%),
    var(--surface-tint);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--ink-600);
}

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

.page-banner h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  color: var(--navy-950);
  max-width: 48rem;
  margin-bottom: 1rem;
}

.page-banner__lead {
  font-size: 1.06rem;
  color: var(--ink-600);
  max-width: 46rem;
}

.page-banner__lead + .page-banner__lead {
  margin-top: 0.85rem;
}

/* ==========================================================================
   Grids & Cards
   ========================================================================== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

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

.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-700);
  background-color: var(--teal-50);
  border: 1px solid rgba(0, 139, 146, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.65rem;
  color: var(--navy-950);
}

.card p {
  font-size: 0.95rem;
  color: var(--ink-600);
}

/* Purpose Split Layout */
.split-prose {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split-prose h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  color: var(--navy-950);
}

.prose-block p {
  font-size: 1.05rem;
  color: var(--ink-700);
  line-height: 1.75;
}

.prose-block p + p {
  margin-top: 1rem;
}

/* Verticals Detailed Cards (About Us) */
.vertical-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vertical-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.vertical-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: var(--navy-50);
  color: var(--navy-900);
  border: 1px solid var(--navy-100);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.68rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-900);
  background-color: var(--surface-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Products Catalogue & Filter Toolbar
   ========================================================================== */
.catalog-controls {
  background-color: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.catalog-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-field {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
}

.search-field svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-500);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface-white);
  font-size: 0.95rem;
}

.search-field input:focus {
  border-color: var(--teal-600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 139, 146, 0.14);
}

.catalog-count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-600);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-pill {
  padding: 0.42rem 0.85rem;
  min-height: 36px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-700);
  background-color: var(--surface-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.filter-pill[aria-pressed="true"] {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: #FFFFFF;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
}

.product-card[hidden] {
  display: none;
}

.product-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-card__index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.product-card h3 {
  font-size: 1.18rem;
  color: var(--navy-950);
}

.dosage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.85rem;
}

.dosage-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.91rem;
  color: var(--ink-700);
}

.dosage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal-600);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.product-card__meta {
  font-size: 0.82rem;
  color: var(--ink-500);
}

.notice-box {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.15rem 1.35rem;
  background-color: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-left: 4px solid var(--navy-900);
  border-radius: var(--radius-sm);
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--ink-700);
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: var(--surface-tint);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.empty-state[hidden] {
  display: none;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  margin-bottom: 1.25rem;
  color: var(--ink-600);
}

/* ==========================================================================
   International Business Map Section
   ========================================================================== */
.map-frame {
  background-color: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.map-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0.5rem 0.25rem;
  font-size: 0.86rem;
  color: var(--ink-600);
}

/* ==========================================================================
   Contact & Qualified Enquiry Form
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  background-color: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.contact-info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: var(--teal-50);
  color: var(--teal-700);
}

.contact-info-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-card a,
.contact-info-card p {
  font-size: 0.96rem;
  color: var(--ink-700);
  word-break: break-word;
}

.contact-info-card a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.enquiry-panel {
  background-color: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.enquiry-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.enquiry-panel__sub {
  font-size: 0.94rem;
  color: var(--ink-600);
  margin-bottom: 1.5rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-field label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-900);
}

.required-mark {
  color: var(--teal-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface-white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input,
.form-field select {
  height: 44px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-field select {
  padding-right: 2.25rem;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(0, 139, 146, 0.14);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--error-600);
  background-color: var(--error-50);
}

.field-error {
  font-size: 0.8rem;
  color: var(--error-600);
  min-height: 1em;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.enquiry-result {
  margin-top: 1.5rem;
  padding: 1.35rem;
  background-color: var(--success-50);
  border: 1px solid rgba(4, 120, 87, 0.25);
  border-radius: var(--radius-md);
}

.enquiry-result[hidden] {
  display: none;
}

.enquiry-result h3 {
  font-size: 1.08rem;
  color: var(--success-700);
  margin-bottom: 0.45rem;
}

.enquiry-result pre {
  margin: 0.85rem 0 1rem;
  padding: 0.9rem;
  background-color: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  white-space: pre-wrap;
  color: var(--ink-900);
}

.enquiry-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   CTA Band & Footer
   ========================================================================== */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band__copy {
  max-width: 38rem;
}

.cta-band__copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-band__copy p {
  color: #C7D7EA;
  font-size: 1.02rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-footer {
  background-color: var(--surface-tint);
  border-top: 1px solid var(--border-subtle);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.85fr)) minmax(0, 1.15fr);
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand img {
  width: 175px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--ink-600);
  max-width: 22rem;
}

.footer-col h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-900);
  margin-bottom: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact-item {
  font-size: 0.9rem;
  color: var(--ink-600);
}

.footer-links a:hover {
  color: var(--navy-900);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: var(--ink-500);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .split-prose,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .form-grid,
  .dosage-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-band__actions .btn {
    width: 100%;
  }

  .brand-link img {
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
