/* ============================================
   Altius Pharma Group - Corporate Website
   Design: Fortune 500 Pharma Aesthetic
   Colors: Navy + Gold + White
   ============================================ */

/* === VARIABLES === */
:root {
  --navy-deep: #0A1628;
  --navy: #0F2240;
  --navy-light: #1A3358;
  --gold: #C8A951;
  --gold-light: #D4BA6A;
  --gold-dark: #A68B3C;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-50: #F1F3F7;
  --gray-100: #E2E6ED;
  --gray-200: #C5CDD9;
  --gray-400: #8896AA;
  --gray-600: #556275;
  --gray-800: #2D3A4A;
  --text-primary: #1A2332;
  --text-secondary: #556275;
  --text-light: #8896AA;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 16px 48px rgba(10, 22, 40, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 { font-size: 3.2rem; letter-spacing: -0.03em; }
h2 { font-size: 2.4rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-logo-icon::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
}

.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  color: var(--gold-dark);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--navy);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200, 169, 81, 0.35);
}

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

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

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-arrow::after {
  content: '\2192';
  font-size: 1.1em;
  transition: var(--transition);
}

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

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200, 169, 81, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 81, 0.12);
  border: 1px solid rgba(200, 169, 81, 0.25);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-description {
  color: var(--gray-200);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.4;
}

.hero-visual {
  position: relative;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.hero-card:nth-child(2) {
  margin-top: 0;
}

.hero-card:nth-child(3) {
  margin-top: 0;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 169, 81, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.hero-card h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--gray-400);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--navy-deep);
}

.section-gray {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* === TRUST BAR === */
.trust-bar {
  padding: 60px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.trust-bar-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(200, 169, 81, 0.1), rgba(200, 169, 81, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--navy);
  gap: 10px;
}

/* === ABOUT / VALUE SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-label { text-align: left; }

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-feature {
  display: flex;
  gap: 16px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.88rem;
}

.about-visual {
  position: relative;
}

.about-image-placeholder {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.placeholder-header {
  text-align: left;
}

.placeholder-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  opacity: 0.9;
  color: var(--gold);
}

.placeholder-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.placeholder-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 320px;
}

.about-image-placeholder .stat-overlay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
}

.stat-box-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-box-label {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* === MARKETS / REGIONS === */
.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.market-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.market-card:hover {
  box-shadow: var(--shadow-lg);
}

.market-card-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.market-card-header::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(200, 169, 81, 0.08), transparent);
}

.market-card-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.market-card-header p {
  color: var(--gray-400);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.market-card-body {
  padding: 32px;
}

.market-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
}

.market-stat-row:last-child {
  border-bottom: none;
}

.market-stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.market-stat-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* === TRACK RECORD === */
.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.track-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.track-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.track-card-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.track-card-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--navy);
}

.team-card .team-role {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.team-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-100);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--gold-dark);
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.88rem;
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.88rem;
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.15);
}

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

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

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200, 169, 81, 0.06), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* === FOOTER === */
.footer {
  background: var(--navy-deep);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.88rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--gray-400);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.footer-certifications {
  display: flex;
  gap: 16px;
}

.footer-cert {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .track-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 2.2rem; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stat-value { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid-2col { grid-template-columns: 1fr 1fr; }
  .markets-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .track-grid { grid-template-columns: 1fr 1fr; }
  .therapeutic-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }

  .about-image-placeholder { padding: 32px; min-height: 360px; }
  .about-image-placeholder .stat-overlay { gap: 12px; }
  .stat-box { padding: 16px; }
  .stat-box-value { font-size: 1.4rem; }

  .cta-section { padding: 60px 0; }
  .cta-section h2 { font-size: 1.5rem; }

  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-right: 0;
    padding-left: 52px;
    text-align: left;
  }
  .timeline-dot { left: 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-certifications { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .page-header { padding: 100px 0 48px; }
  .page-header h1 { font-size: 1.8rem; }

  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hero-stat-value { font-size: 1.3rem; }
  .hero-stat-label { font-size: 0.75rem; }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid-2col { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: 1fr 1fr; }
  .therapeutic-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  .service-card { padding: 28px 20px; }
  .track-card { padding: 20px 16px; }
  .track-card-value { font-size: 1.8rem; }

  .about-image-placeholder { padding: 24px; min-height: auto; }
  .about-image-placeholder .stat-overlay { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-box { padding: 14px; }
  .stat-box-value { font-size: 1.2rem; }

  .contact-form { padding: 24px; }
  .cta-section { padding: 48px 0; }

  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 32px; }
}

/* === PAGE HEADER (for inner pages) === */
.page-header {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200, 169, 81, 0.05), transparent);
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--gray-400);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header .section-label {
  position: relative;
  z-index: 1;
}

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  font-size: 0.82rem;
  color: var(--gray-400);
}

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

.breadcrumb span {
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* === PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.process-step h4 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
}

/* === CASE STUDIES === */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
}

.case-card-top {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  padding: 32px;
  position: relative;
}

.case-card-tag {
  display: inline-block;
  background: rgba(200, 169, 81, 0.2);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.case-card-top h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.case-card-body {
  padding: 28px 32px;
}

.case-card-body p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.case-results {
  display: flex;
  gap: 24px;
}

.case-result {
  text-align: center;
}

.case-result-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.case-result-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* === THERAPEUTIC AREAS === */
.therapeutic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.therapeutic-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

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

.therapeutic-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.therapeutic-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.therapeutic-card p {
  font-size: 0.82rem;
}

/* === VALUE PROPS LIST === */
.value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.value-item-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 40px;
}

.value-item h4 {
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.9rem;
}

/* === GRID MODIFIERS === */
.services-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

/* === SVG ICONS === */
.icon-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hero-card-icon .icon-svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
}

.service-icon .icon-svg {
  width: 28px;
  height: 28px;
}

.about-feature-icon .icon-svg {
  width: 22px;
  height: 22px;
}

.placeholder-icon .icon-svg {
  width: 40px;
  height: 40px;
  stroke: var(--gold);
}

.therapeutic-icon .icon-svg {
  width: 32px;
  height: 32px;
}

.team-avatar .icon-svg {
  width: 32px;
  height: 32px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }

/* === UX IMPROVEMENTS === */

/* Smooth focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Better button press feedback */
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Loading state for form */
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Improved link underline on hover for footer */
.footer-col ul li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Better mobile touch targets */
@media (max-width: 768px) {
  .nav-link {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn {
    min-height: 48px;
    padding: 16px 32px;
  }

  .footer-col ul li a {
    display: inline-block;
    padding: 6px 0;
    min-height: 44px;
    line-height: 32px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .nav, .cta-section, .footer, .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    background: white;
    padding: 40px 0;
  }

  .hero h1, .hero h1 em {
    color: #000;
  }

  .hero-description {
    color: #333;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy-deep);
  border-top: 1px solid rgba(200, 169, 81, 0.2);
  padding: 16px 24px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-inner p {
  color: var(--gray-400);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cookie-banner-inner p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-inner p a:hover {
  color: var(--gold-light);
}

.cookie-banner-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-accept:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.cookie-btn-learn {
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-btn-learn:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cookie-banner-buttons {
    justify-content: center;
  }
}

/* Selection highlight */
::selection {
  background: rgba(200, 169, 81, 0.2);
  color: var(--navy-deep);
}

/* Improved scrollbar (webkit) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media print {
  .back-to-top {
    display: none;
  }
}
