/* ============================================================
   AZZURRA PHARMACONUTRITION — MAIN STYLESHEET
   Design System: Clinical, Professional, Modern
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-primary: #1A5FA8;
  --color-primary-dark: #134a87;
  --color-primary-light: #E8F1FB;
  --color-dark: #1A1A2E;
  --color-grey: #6B7280;
  --color-gold: #C9A84C;
  --color-border: #D1E3F8;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 96px 0;
  --container-max: 1200px;
  --container-pad: 0 40px;

  /* Transitions */
  --ease: 0.2s ease;
  --ease-slow: 0.6s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input,
textarea,
select {
  font-family: var(--font-body);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.heading-display {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--color-dark);
  font-weight: 400;
}

.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  color: var(--color-dark);
  font-weight: 400;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.2;
  color: var(--color-dark);
  font-weight: 400;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
  color: var(--color-dark);
  font-weight: 400;
}

.text-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-grey);
}

.text-sm {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-grey);
}

.label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-grey);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.section {
  padding: var(--section-pad);
}

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

/* ============================================================
   SCROLL ANIMATION — FADE UP
   Elements start invisible and translate up; JS adds .visible
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}

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

/* Stagger delays for children */
.fade-up:nth-child(1) {
  transition-delay: 0s;
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.4s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.5s;
}

.stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}

.stagger.visible>*:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.stagger.visible>*:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.stagger.visible>*:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.stagger.visible>*:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease);
}

/* When page is NOT homepage, start with white bg */
.navbar--solid,
.navbar.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.navbar__logo-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  line-height: 1;
}

.navbar__logo-tag {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  line-height: 1;
}

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

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--ease);
}

.navbar__link:hover {
  color: var(--color-primary);
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.navbar__link--shop {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.navbar__link--shop:hover {
  background: var(--color-primary-dark);
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(26, 95, 168, 0.3);
}

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

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile drawer */
.navbar__drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(80vw, 320px);
  height: 100vh;
  background: var(--color-white);
  z-index: 2000;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.12);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar__drawer.open {
  right: 0;
}

.navbar__drawer-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--ease);
}

.navbar__drawer-link:hover {
  color: var(--color-primary);
}

.navbar__drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
}

.navbar__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.navbar__overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* ── Cart icon in navbar ── */
.navbar__cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--color-dark);
  transition: color var(--ease);
}

.navbar__cart-icon:hover {
  color: var(--color-primary);
}

.cart-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #E53E3E;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  pointer-events: none;
  line-height: 1;
  border: 1.5px solid #fff;
}

/* ============================================================
   CANONICAL NAVBAR (.main-nav) — new unified navbar
   Used on every public page. Old .navbar styles kept for admin.
   ============================================================ */
body.has-main-nav {
  padding-top: 100px;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E8F1FB;
  transition: box-shadow 0.3s ease;
}

.main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(26,95,168,0.10);
}

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

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #1A5FA8;
  letter-spacing: 3px;
  line-height: 1;
}

.logo-tagline {
  font-size: 8px;
  color: #C9A84C;
  letter-spacing: 2px;
  font-weight: 600;
  margin-top: 2px;
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #4A5568;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1A5FA8;
  background: #E8F1FB;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #4A5568;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
  flex-shrink: 0;
}

.nav-icon-btn:hover {
  background: #E8F1FB;
  color: #1A5FA8;
}

.nav-icon-btn .cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #E53E3E;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid #fff;
  pointer-events: none;
}

.nav-icon-btn .cart-badge.visible {
  display: flex;
}

.nav-shop-btn {
  background: #1A5FA8;
  color: white !important;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-left: 4px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-shop-btn:hover {
  background: #154d8a;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #4A5568;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid #E8F1FB;
  padding: 8px 24px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.nav-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-menu a {
  display: block;
  padding: 11px 0;
  color: #4A5568;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #F7F9FC;
  transition: color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: #1A5FA8;
}

.nav-mobile-menu li:last-child a {
  border-bottom: none;
}

.nav-mobile-menu.open {
  display: block;
}

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

/* ── Events banner strip (homepage) ── */
.events-banner-strip {
  background: linear-gradient(135deg, #1A5FA8 0%, #154d8a 100%);
  color: #fff;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.events-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 40px;
  position: relative;
}

.events-banner-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.events-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.events-banner-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.events-banner-btn {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--ease), border-color var(--ease);
  text-decoration: none;
}

.events-banner-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.events-banner-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.events-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  padding: 0;
}

.events-banner-dot.active {
  background: #fff;
}

/* Carousel slides */
.events-banner-slide {
  display: none;
}

.events-banner-slide.active {
  display: block;
}

/* ── Science page: Why Choose Azzurra section ── */
.why-azzurra-section {
  background: #fff;
  padding: var(--section-pad);
}

.why-azzurra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.why-azzurra-block {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  transition: box-shadow var(--ease), transform var(--ease);
}

.why-azzurra-block:hover {
  box-shadow: 0 8px 32px rgba(26,95,168,0.10);
  transform: translateY(-4px);
}

.why-azzurra-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.why-azzurra-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.why-azzurra-desc {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.7;
}

/* ── Science page: Clinical Evidence section ── */
.clinical-evidence-section {
  background: var(--color-primary-light);
  padding: var(--section-pad);
}

.clinical-evidence-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.clinical-stat-tile {
  background: #fff;
  border-radius: 16px;
  padding: 28px 40px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(26,95,168,0.08);
  border: 1px solid rgba(26,95,168,0.1);
  min-width: 180px;
}

.clinical-stat-tile .stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-primary);
  display: block;
  margin-bottom: 4px;
}

.clinical-stat-tile .stat-lbl {
  font-size: 13px;
  color: var(--color-grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.clinical-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.clinical-card {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 28px 28px;
  box-shadow: 0 4px 16px rgba(26,95,168,0.07);
}

.clinical-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.clinical-card p {
  font-size: 15px;
  color: var(--color-grey);
  line-height: 1.8;
}

/* ── Events page specific ── */
.events-page-hero {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 120px 40px 48px;
  text-align: center;
  position: relative;
}

.events-hero-rule {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 16px auto 0;
  border-radius: 2px;
  animation: ruleGrow 0.8s ease forwards;
  transform-origin: left;
}

@keyframes ruleGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.events-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 40px;
}

/* Upcoming event banner card */
.event-banner-card {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(26,95,168,0.08);
  padding: 32px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
  transition: box-shadow var(--ease), transform var(--ease);
}

.event-banner-card:hover {
  box-shadow: 0 8px 32px rgba(26,95,168,0.14);
  transform: translateY(-2px);
}

.event-date-badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.event-type-tag {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 8px;
}

.event-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-desc {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.7;
  margin-bottom: 12px;
}

.event-meta {
  font-size: 13px;
  color: var(--color-grey);
  margin-bottom: 4px;
}

.event-countdown {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin: 10px 0;
  background: var(--color-primary-light);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
}

.event-register-btn {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}

.event-register-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.event-register-btn:disabled,
.event-register-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.event-banner-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  object-fit: cover;
}

.event-banner-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #154d8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 18px;
  text-align: center;
  padding: 16px;
}

/* Past events grid */
.past-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.past-event-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow var(--ease);
}

.past-event-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.past-event-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: grayscale(60%);
  display: block;
}

.past-event-img-placeholder {
  width: 100%;
  height: 160px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 14px;
  filter: grayscale(60%);
}

.past-event-body {
  padding: 20px;
}

.past-event-concluded {
  display: inline-block;
  background: #e2e8f0;
  color: #718096;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.past-event-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.past-event-meta {
  font-size: 12px;
  color: var(--color-grey);
}

/* No events placeholder */
.no-events-card {
  background: var(--color-primary-light);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  color: var(--color-grey);
  font-size: 16px;
}

/* ── Responsive tweaks ── */
@media (max-width: 900px) {
  .why-azzurra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .event-banner-card {
    grid-template-columns: 1fr;
  }

  .past-events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .why-azzurra-grid {
    grid-template-columns: 1fr;
  }

  .events-section {
    padding: 40px 20px;
  }

  .events-page-hero {
    padding: 100px 20px 40px;
  }

  .clinical-evidence-stats {
    flex-direction: column;
    align-items: center;
  }
}



/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all var(--ease);
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(26, 95, 168, 0.3);
}

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

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.03);
}

.btn--text {
  background: none;
  color: var(--color-primary);
  border: none;
  padding: 8px 0;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease), color var(--ease);
}

.btn--text:hover {
  gap: 10px;
  color: var(--color-primary-dark);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .label {
  display: block;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.section-header__sub {
  font-size: 17px;
  color: var(--color-grey);
  margin-top: 20px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ============================================================
   HERO (INDEX)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  position: relative;
  padding: 120px 40px 80px;
  text-align: center;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero__rule {
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  margin: 0 auto 36px;
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  color: var(--color-dark);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero__heading span {
  display: block;
}

.hero__heading .line-1 {
  opacity: 0;
  transform: translateY(20px);
  animation: heroLine 0.8s ease forwards 0.2s;
}

.hero__heading .line-2 {
  opacity: 0;
  transform: translateY(20px);
  animation: heroLine 0.8s ease forwards 0.5s;
}

@keyframes heroLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__sub {
  font-size: 18px;
  color: var(--color-grey);
  margin-bottom: 44px;
  line-height: 1.7;
  opacity: 0;
  animation: heroLine 0.8s ease forwards 0.8s;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroLine 0.8s ease forwards 1.1s;
}

.hero__collab {
  position: absolute;
  bottom: 32px;
  left: 40px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  font-weight: 500;
}

/* Subtle background pattern for hero */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 95, 168, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  padding: 104px 40px 44px;
  background: var(--color-primary-light);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__breadcrumb {
  font-size: 13px;
  color: var(--color-grey);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero__breadcrumb a {
  color: var(--color-grey);
  transition: color var(--ease);
}

.page-hero__breadcrumb a:hover {
  color: var(--color-primary);
}

.page-hero__breadcrumb span {
  color: var(--color-border);
}

.page-hero__rule {
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  margin-bottom: 16px;
}

.page-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--color-dark);
  font-weight: 400;
  line-height: 1.1;
  max-width: 600px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--color-primary-light);
  padding: 56px 40px;
}

.stats-bar__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
}

.stats-bar__item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 20px 32px;
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: 52px;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stats-bar__label {
  font-size: 13px;
  color: var(--color-grey);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   ABOUT SECTION (HOMEPAGE)
   ============================================================ */
.about-section {
  padding: var(--section-pad);
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.about-section__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 28px;
}

.about-section__text {
  font-size: 16px;
  color: var(--color-grey);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-section__icons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.about-section__icon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--color-dark);
  font-weight: 500;
}

.about-section__icon-row .icon-badge {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Abstract visual (right column) */
.about-section__visual {
  position: relative;
  height: auto;
}

.about-section__visual img {
  width: 100%;
  border-radius: 16px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 40px rgba(26, 95, 168, 0.12);
}

.about-section__visual:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 48px rgba(26, 95, 168, 0.22);
}

.about-section__shape {
  position: absolute;
  border-radius: 24px;
  border: 2px solid var(--color-border);
  background: var(--color-primary-light);
}

.about-section__shape--1 {
  top: 0;
  left: 40px;
  right: 0;
  height: 280px;
}

.about-section__shape--2 {
  bottom: 0;
  left: 0;
  width: 220px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.about-section__shape--3 {
  top: 40px;
  right: -8px;
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
}

.about-section__shape--4 {
  bottom: 60px;
  right: 20px;
  width: 120px;
  height: 120px;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
}

/* Inner stats in visual box */
.about-section__shape--2 .stat-mini-num {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--color-primary);
  line-height: 1;
}

.about-section__shape--2 .stat-mini-label {
  font-size: 12px;
  color: var(--color-grey);
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   SERIES CARDS (PRODUCT SERIES)
   ============================================================ */
.series-section {
  padding: var(--section-pad);
  background: var(--color-primary-light);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.series-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 32px 28px;
  cursor: pointer;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
  text-decoration: none;
  display: block;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.series-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.series-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background var(--ease);
}

.series-card:hover .series-card__icon {
  background: var(--color-primary);
}

.series-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 10px;
  font-weight: 400;
}

.series-card__desc {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.65;
}

.series-card__arrow {
  margin-top: 20px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--ease), gap var(--ease);
}

.series-card:hover .series-card__arrow {
  opacity: 1;
  gap: 10px;
}

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.featured-section {
  padding: var(--section-pad);
  background: var(--color-white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* Product card matching the shop style */
.product-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.product-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.product-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-primary-light);
  position: relative;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.product-card__body {
  padding: 24px;
}

.product-card__series {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 8px;
  font-weight: 400;
}

.product-card__desc {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease);
}

.product-card:hover .product-card__link {
  gap: 10px;
}

/* ============================================================
   WHY AZZURRA
   ============================================================ */
.why-section {
  padding: var(--section-pad);
  background: var(--color-primary-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.why-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.why-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.why-card__desc {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.7;
}

/* ============================================================
   AAECEN BADGE STRIP
   ============================================================ */
.aaecen-strip {
  background: var(--color-primary-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 40px;
  text-align: center;
}

.aaecen-strip p {
  font-size: 15px;
  color: var(--color-grey);
  line-height: 1.6;
}

.aaecen-strip strong {
  color: var(--color-dark);
  font-weight: 600;
}

.aaecen-strip a {
  color: var(--color-primary);
  font-weight: 600;
  margin-left: 8px;
  transition: color var(--ease);
}

.aaecen-strip a:hover {
  color: var(--color-primary-dark);
}

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.contact-strip {
  padding: var(--section-pad);
  background: var(--color-primary-light);
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 40px auto 0;
  padding: var(--container-pad);
}

.contact-strip__item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.contact-strip__item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.contact-strip__icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.contact-strip__title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-strip__info {
  font-size: 15px;
  color: var(--color-dark);
  line-height: 1.7;
}

.contact-strip__info a {
  color: var(--color-dark);
  transition: color var(--ease);
}

.contact-strip__info a:hover {
  color: var(--color-primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 80px 40px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: 64px;
}

.footer__logo-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.footer__logo-tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

.footer__tagline {
  font-size: 14px;
  color: var(--color-grey);
  margin-top: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer__collab {
  font-size: 12px;
  color: var(--color-grey);
  font-style: italic;
}

.footer__col-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-dark);
  font-weight: 700;
  margin-bottom: 24px;
}

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

.footer__link {
  font-size: 14px;
  color: var(--color-grey);
  transition: color var(--ease);
}

.footer__link:hover {
  color: var(--color-primary);
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer__contact-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-text {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.6;
}

.footer__contact-text a {
  color: var(--color-grey);
  transition: color var(--ease);
}

.footer__contact-text a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 13px;
  color: var(--color-grey);
}

.footer__legal {
  font-size: 13px;
  color: var(--color-grey);
  transition: color var(--ease);
}

.footer__legal:hover {
  color: var(--color-primary);
}

/* ============================================================
   ABOUT PAGE — TIMELINE
   ============================================================ */
.story-section {
  padding: var(--section-pad);
}

.story-section__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  position: relative;
  margin-bottom: 40px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline__year {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline__text {
  font-size: 15px;
  color: var(--color-grey);
  line-height: 1.7;
}

/* ============================================================
   VISION / MISSION CARDS
   ============================================================ */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.vm-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.vm-card--vision {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.vm-card--vision .vm-card__label,
.vm-card--vision .vm-card__heading,
.vm-card--vision .vm-card__text {
  color: var(--color-white);
}

.vm-card--vision .vm-card__label {
  opacity: 0.75;
}

.vm-card--mission {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vm-card__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.vm-card__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.vm-card__text {
  font-size: 16px;
  color: var(--color-grey);
  line-height: 1.75;
}

/* ============================================================
   LEADERSHIP CARDS
   ============================================================ */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.leader-card {
  text-align: center;
  padding: 40px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.leader-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.leader-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 28px;
  margin: 0 auto 24px;
}

.leader-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.leader-card__title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================================
   COLLAB BOX
   ============================================================ */
.collab-box {
  background: var(--color-primary-light);
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  padding: 48px 56px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.collab-box__icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.collab-box__heading {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.collab-box__text {
  font-size: 16px;
  color: var(--color-grey);
  line-height: 1.75;
}

/* ============================================================
   SCIENCE PAGE — R&D TILES
   ============================================================ */
.rd-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.rd-tile {
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.rd-tile:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.rd-tile__icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.rd-tile__title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.rd-tile__text {
  font-size: 15px;
  color: var(--color-grey);
  line-height: 1.75;
}

/* ============================================================
   FORMULATION TABLE/CARDS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.form-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, border-color 300ms ease;
  box-shadow: 0 8px 32px rgba(26, 95, 168, 0.08);
}

.form-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(26, 95, 168, 0.16);
}

.form-card__num {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.form-card__title {
  font-weight: 600;
  font-size: 17px;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-card__text {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.7;
}

/* Research Section Background Image & Overlay */
.section--research-bg {
  background: linear-gradient(rgba(8, 23, 44, 0.82),
      rgba(8, 23, 44, 0.82)),
    url('../images/science-lab.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.section--research-bg .section-header .label {
  color: #00E5FF !important;
  /* Cyan for high contrast */
}

.section--research-bg .section-header .heading-xl {
  color: var(--color-white) !important;
}

.section--research-bg .section-header__sub {
  color: #E5E7EB !important;
}

/* Transparent White Glassmorphic Cards */
.section--research-bg .form-card {
  background: rgba(255, 255, 255, 0.48) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}

.section--research-bg .form-card:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Dark text for contrast */
.section--research-bg .form-card__title {
  color: #0F172A !important;
  font-weight: 700 !important;
}

.section--research-bg .form-card__text {
  color: #334155 !important;
  line-height: 1.7;
}

/* AAECEN section on science page */
.aaecen-section {
  padding: var(--section-pad);
  background: var(--color-primary-light);
}

.aaecen-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--container-pad);
  text-align: center;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  padding: var(--section-pad);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: #e53e3e;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-error {
  font-size: 12px;
  color: #e53e3e;
  display: none;
}

.form-error.show {
  display: block;
}

.form-success {
  background: #f0fff4;
  border: 1.5px solid #68d391;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 15px;
  color: #276749;
  display: none;
}

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

/* Contact info side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info__text {
  font-size: 15px;
  color: var(--color-dark);
  line-height: 1.7;
}

.contact-info__text a {
  color: var(--color-primary);
  transition: color var(--ease);
}

.contact-info__text a:hover {
  color: var(--color-primary-dark);
}

.contact-hours {
  background: var(--color-primary-light);
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 24px;
}

.contact-hours__title {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 15px;
  margin-bottom: 8px;
}

.contact-hours__text {
  font-size: 14px;
  color: var(--color-grey);
  line-height: 1.7;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  height: 240px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* HR Philosophy */
.hr-section {
  padding: 80px 40px;
  background: var(--color-white);
}

.hr-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --container-pad: 0 24px;
  }

  .about-section__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-section__visual {
    height: 280px;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  .story-section__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
    --container-pad: 0 20px;
  }

  .navbar {
    padding: 0 20px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 24px 72px;
  }

  .hero__collab {
    left: 24px;
    bottom: 24px;
    font-size: 10px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .stats-bar {
    padding: 40px 20px;
  }

  .stats-bar__grid {
    flex-direction: column;
    gap: 0;
  }

  .stats-bar__item:not(:last-child)::after {
    display: none;
  }

  .stats-bar__item {
    padding: 20px 16px;
    border-bottom: 1px solid var(--color-border);
  }

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

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

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .rd-tiles {
    grid-template-columns: 1fr;
  }

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

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

  .collab-box {
    padding: 36px 24px;
  }

  .page-hero {
    padding: 92px 24px 32px;
  }

  .collab-box__heading {
    font-size: 22px;
  }

  .footer {
    padding: 64px 20px 0;
  }
}

/* ============================================================
   NURTURING PHILOSOPHY SECTION
   ============================================================ */
.nurture-section {
  padding: 80px 40px;
  background: var(--color-primary);
}

.nurture-section .container {
  max-width: 760px;
  text-align: center;
}

.nurture-section .heading-xl,
.nurture-section p {
  color: var(--color-white);
}

.nurture-section p {
  margin-top: 20px;
  opacity: 0.85;
  font-size: 17px;
  line-height: 1.75;
}

/* ============================================================
   HERO — SPLIT TWO-COLUMN LAYOUT (CHANGE 2)
   60% text left, 40% visual right
   ============================================================ */

/* Override old centered hero for the split version */
.hero--split {
  text-align: left;
  justify-content: flex-start;
  align-items: center;
  padding: 100px 60px 80px;
  gap: 0;
  overflow: hidden;
}

/* Dot-grid background using ::before pseudo-element */
.hero--split::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#1A5FA8 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Cancel old large circle ::after on the split hero */
.hero--split::after {
  display: none;
}

/* Text column — 60% wide */
.hero__text-col {
  flex: 0 0 58%;
  max-width: 58%;
  position: relative;
  z-index: 1;
  padding-right: 40px;
}

/* Visual column — 40% wide */
.hero__visual-col {
  flex: 0 0 42%;
  max-width: 42%;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

/* ---- Animated blue rule: draws left-to-right ---- */
.hero__rule--animated {
  margin: 0 0 32px 0;
  /* left-aligned instead of auto */
  width: 0;
  animation: drawRule 0.8s ease forwards 0.2s;
}

@keyframes drawRule {
  to {
    width: 60px;
  }
}

/* ---- Word-by-word heading reveal ---- */
.hero__heading--words {
  text-align: left;
}

/* Each word wrapped in .hw gets staggered fadeSlideUp */
.hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.5s ease forwards;
  margin-right: 12px;
}

/* Break before the second line */
.hw--break {
  display: block;
  margin-right: 0;
}

/* Stagger each word by 0.1s */
.hw:nth-child(1) {
  animation-delay: 0.3s;
}

.hw:nth-child(2) {
  animation-delay: 0.4s;
}

.hw:nth-child(3) {
  animation-delay: 0.5s;
}

.hw:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left-align sub and ctas in split hero */
.hero--split .hero__sub {
  text-align: left;
  animation-delay: 0.9s;
}

.hero--split .hero__ctas {
  justify-content: flex-start;
  animation-delay: 1.1s;
}

/* ---- Trust badges below CTAs ---- */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.5s ease forwards 1.4s;
}

.hero__trust-badge {
  font-size: 12px;
  color: var(--color-grey);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero__trust-sep {
  color: var(--color-border);
  font-size: 14px;
}

/* ---- CHANGE 1: Collab text → bottom RIGHT ---- */
.hero__collab {
  position: absolute;
  bottom: 32px;
  right: 40px;
  /* moved from left: 40px to right: 40px */
  left: auto;
  /* explicitly override any left value */
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  font-weight: 500;
  z-index: 2;
}

/* ============================================================
   HERO VISUAL COMPOSITION (right column)
   ============================================================ */

.hero__doctor-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(26, 95, 168, 0.15);
}

/* Large background orb */
.hero-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--color-primary-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* ---- Floating cards ---- */
.hero-card {
  position: absolute;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26, 95, 168, 0.10);
  z-index: 2;
  padding: 18px 24px;
  text-align: center;
  min-width: 180px;
}

/* Main card: centered above the orb, floats gently */
.hero-card--main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -66%);
  min-width: 200px;
  animation: floatCard 3s ease-in-out infinite;
}

/* Secondary card: bottom-left of orb, offset, delayed float */
.hero-card--secondary {
  bottom: 6%;
  left: 4%;
  min-width: 140px;
  animation: floatCard 3s ease-in-out infinite 1.5s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translate(-50%, -66%) translateY(0);
  }

  50% {
    transform: translate(-50%, -66%) translateY(-8px);
  }
}

.hero-card--secondary {
  /* Secondary card has different base position — separate animation */
  animation: floatCardSec 3s ease-in-out infinite 1.5s;
}

@keyframes floatCardSec {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-card__pill {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.hero-card__number {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--color-primary);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 4px;
}

.hero-card__number--sm {
  font-size: 30px;
}

.hero-card__label {
  font-size: 12px;
  color: var(--color-grey);
  font-weight: 500;
}

/* ---- Pill tags: scattered around orb ---- */
.hero-pill {
  position: absolute;
  background: var(--color-white);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 3;
  white-space: nowrap;
  animation: pillPulse 2s ease-in-out infinite;
}

.hero-pill--1 {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-pill--2 {
  top: 32%;
  left: 2%;
  animation-delay: 0.7s;
}

.hero-pill--3 {
  bottom: 22%;
  right: 8%;
  animation-delay: 1.4s;
}

@keyframes pillPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* ============================================================
   SCROLL INDICATOR (bottom-center of hero)
   ============================================================ */
.hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.hero__scroll-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-grey);
  font-weight: 600;
}

.hero__scroll-line {
  width: 2px;
  height: 30px;
  background: var(--color-border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    top: -6px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    top: 30px;
    opacity: 0;
  }
}

/* ============================================================
   IMAGE PLACEHOLDERS
   Styled blue-tinted placeholder blocks with icon + label
   Replace with <img> tags when real photos are available
   ============================================================ */
.img-placeholder {
  background: var(--color-primary-light);
  border: 1px dashed var(--color-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}

.img-placeholder__icon {
  font-size: 40px;
  opacity: 0.45;
}

.img-placeholder__label {
  font-size: 11px;
  color: var(--color-grey);
  font-style: italic;
  letter-spacing: 0.02em;
  max-width: 200px;
  line-height: 1.5;
}

/* About section: 400×300px placeholder */
.img-placeholder--about {
  width: 100%;
  height: 300px;
  max-width: 400px;
  margin: 0 auto;
}

/* Why section: full-width, short strip */
.img-placeholder--certstrip {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  max-width: var(--container-max);
  margin: 0 auto 48px;
  padding: var(--container-pad);
}

/* ============================================================
   CERTIFICATIONS & TRUST SECTION
   Horizontal scrolling row of 5 badge cards
   ============================================================ */
.cert-section {
  padding: 64px 0 80px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.cert-badges-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
  /* for scrollbar breathing room on mobile */
  -webkit-overflow-scrolling: touch;
}

.cert-badge {
  width: 120px;
  min-width: 120px;
  height: 80px;
  background: var(--color-white);
  border: 1.5px solid var(--color-primary);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 10px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.cert-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 95, 168, 0.15);
}

.cert-badge__icon {
  font-size: 22px;
}

.cert-badge__text {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* ============================================================
   RESPONSIVE — Split Hero & New Components
   ============================================================ */
@media (max-width: 960px) {
  .hero--split {
    flex-direction: column;
    padding: 110px 32px 80px;
    text-align: center;
    align-items: center;
  }

  .hero__text-col,
  .hero__visual-col {
    flex: none;
    max-width: 100%;
    padding-right: 0;
    width: 100%;
  }

  .hero__text-col {
    text-align: center;
  }

  .hero__heading--words {
    text-align: center;
  }

  .hero--split .hero__ctas {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual-col {
    min-height: 320px;
    margin-top: 32px;
    display: none;
    /* Hide on mobile to keep hero clean */
  }

  .hero__rule--animated {
    margin: 0 auto 32px;
  }

  /* Collab label: move to bottom center on mobile */
  .hero__collab {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .hero--split {
    padding: 100px 20px 80px;
  }

  .hero__scroll-indicator {
    display: none;
    /* avoid overlap on small screens */
  }

  .cert-badges-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0 20px 12px;
  }
}

/* ============================================================
   FLOATING BACKGROUND MEDICAL SHAPES
   ============================================================ */
.floating-shapes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Ensure sections that have floating shapes have relative positioning and z-index */
.hero--split,
.about-section,
.why-section,
.featured-section,
.series-section,
.cert-section,
.contact-strip,
.story-section,
.vm-grid,
.leadership-grid,
.rd-tiles,
.science-lab-section {
  position: relative;
  z-index: 1;
}

/* Make sure inner section wrappers sit above background */
.hero__text-col,
.hero__visual-col,
.about-section__grid,
.why-grid,
.featured-grid,
.series-grid,
.contact-strip__grid,
.timeline,
.vm-card,
.leader-card,
.rd-tile,
.form-grid {
  position: relative;
  z-index: 2;
}

.floating-shape {
  position: absolute;
  opacity: 0.05;
  /* Extremely low opacity: 5% as requested */
  pointer-events: none;
  color: var(--color-primary);
  /* Brand blue default */
  transition: opacity 0.3s ease;
}

.floating-shape--cyan {
  color: #00D5FF;
  /* Cyan */
}

.floating-shape--white {
  color: var(--color-white);
}

/* Animation triggers */
.float-slow-up {
  animation: floatSlowUp 24s ease-in-out infinite;
}

.float-medium-down {
  animation: floatMediumDown 28s ease-in-out infinite;
}

.float-fast-up {
  animation: floatFastUp 18s ease-in-out infinite;
}

.float-slow-diag {
  animation: floatSlowDiag 32s ease-in-out infinite;
}

@keyframes floatSlowUp {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-50px) translateX(20px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

@keyframes floatMediumDown {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(60px) translateX(-30px) rotate(-180deg);
  }

  100% {
    transform: translateY(0) rotate(-360deg);
  }
}

@keyframes floatFastUp {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-70px) translateX(-15px) rotate(120deg);
  }

  100% {
    transform: translateY(0) rotate(240deg);
  }
}

@keyframes floatSlowDiag {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(40px, -40px) rotate(90deg);
  }

  100% {
    transform: translate(0, 0) rotate(180deg);
  }
}

/* ============================================================
   PREMIUM SECTION DESIGN DECORATIONS
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  max-width: var(--container-max);
  margin: 0 auto;
  opacity: 0.5;
  pointer-events: none;
}

/* Background blurred gradient blobs */
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.05;
  /* 5% opacity */
  pointer-events: none;
}

.hero-bg-blob--1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  left: -10%;
}

.hero-bg-blob--2 {
  width: 350px;
  height: 350px;
  background: var(--color-gold);
  bottom: 20%;
  right: 5%;
}

.hero-bg-blob--3 {
  width: 300px;
  height: 300px;
  background: #00F0FF;
  /* Cyan */
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Subtle background grid pattern class */
.section--pattern {
  position: relative;
}

.section--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-primary) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  opacity: 0.03;
  /* 3% opacity */
  pointer-events: none;
  z-index: 0;
}