/* ============================================================
   AVEXSA HEALTH SCIENCES — Shared Stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --navy:       #0c1f3d;
  --navy-deep:  #071429;
  --navy-mid:   #0f2850;
  --teal:       #00a896;
  --teal-light: #02c4a8;
  --teal-dim:   rgba(0,168,150,0.15);
  --gold:       #c8a96e;
  --gold-dim:   rgba(200,169,110,0.15);
  --cream:      #f5f0e8;
  --white:      #ffffff;
  --off-white:  #f8f9fb;
  --gray-light: #f0f2f7;
  --gray-mid:   #dde2ec;
  --gray-text:  #6b7a99;
  --body-text:  #2d3a52;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, #e8ecf4 0%, #d5dbe8 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: #8a96b0; font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 24px 24px;
}
.img-placeholder svg {
  width: 36px; height: 36px; opacity: 0.4; position: relative; z-index: 1;
}
.img-placeholder span { position: relative; z-index: 1; font-weight: 500; }

.img-placeholder.dark {
  background: linear-gradient(135deg, #1a2f55 0%, #0f1f3a 100%);
  color: rgba(255,255,255,0.35);
}
.img-placeholder.dark::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
}
.img-placeholder.teal {
  background: linear-gradient(135deg, #006d62 0%, #004d45 100%);
  color: rgba(255,255,255,0.4);
}
.img-placeholder.teal::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7, 20, 41, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,169,110,0.18);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  width: 42px; height: 42px; border-radius: 4px; overflow: hidden; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; color: var(--white);
  letter-spacing: 0.03em; line-height: 1;
}
.nav-logo-main span { color: var(--gold); }
.nav-logo-sub {
  font-size: 0.58rem; color: var(--teal-light);
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links li { position: relative; }
.nav-links a {
  display: block; padding: 0 18px; height: 72px; line-height: 72px;
  color: rgba(255,255,255,0.75); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: color 0.2s; cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links li.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 72px; left: 0;
  background: var(--navy-deep); border: 1px solid rgba(200,169,110,0.2);
  border-top: 2px solid var(--gold); min-width: 200px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.dropdown a {
  height: auto; line-height: 1; padding: 14px 22px;
  font-size: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 10px;
}
.dropdown a .dd-icon {
  width: 28px; height: 28px; border-radius: 3px; overflow: hidden; flex-shrink: 0;
}
.dropdown a:last-child { border-bottom: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--teal); color: var(--white);
  padding: 14px 34px; border: 2px solid var(--teal); cursor: pointer;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  transition: all 0.25s; display: inline-block;
}
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,168,150,0.3); }
.btn-outline {
  background: transparent; color: var(--gold);
  padding: 14px 34px; border: 2px solid var(--gold); cursor: pointer;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  transition: all 0.25s; display: inline-block;
}
.btn-outline:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.75);
  padding: 12px 28px; border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section { padding: 90px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-bottom: 10px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 400;
  color: var(--navy); line-height: 1.15; margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle { font-size: 0.95rem; color: var(--gray-text); line-height: 1.85; max-width: 580px; }
.divider { width: 48px; height: 2px; background: var(--gold); margin: 18px 0 24px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes pulse  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

.fade-up      { animation: fadeUp 0.7s ease both; }
.fade-in      { animation: fadeIn 0.6s ease both; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-deep); padding: 70px 5% 30px;
  border-top: 1px solid rgba(200,169,110,0.15);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-img { width: 40px; height: 40px; border-radius: 4px; overflow: hidden; }
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.85; max-width: 320px; }
.footer-col h4 {
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 600;
}
.footer-col a {
  display: block; font-size: 0.83rem; color: rgba(255,255,255,0.48);
  margin-bottom: 11px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.28); }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem; color: rgba(200,169,110,0.45); font-style: italic;
}

/* ============================================================
   COMMON COMPONENTS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,168,150,0.12); border: 1px solid rgba(0,168,150,0.28);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 28px;
  font-size: 0.7rem; color: var(--teal-light); letter-spacing: 0.16em; text-transform: uppercase;
}
.badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-light); animation: pulse 2s infinite; flex-shrink: 0;
}
.check-list { display: grid; gap: 18px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-icon {
  width: 22px; height: 22px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.check-icon svg { width: 11px; height: 11px; }
.check-text strong { display: block; color: var(--navy); font-size: 0.9rem; margin-bottom: 3px; }
.check-text span { font-size: 0.82rem; color: var(--gray-text); line-height: 1.6; }

.dark-box {
  background: var(--navy); padding: 40px;
}
.step-list { display: flex; flex-direction: column; }
.step-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
  color: var(--gold); opacity: 0.45; line-height: 1; width: 40px; flex-shrink: 0;
}
.step-text { font-size: 0.88rem; color: rgba(255,255,255,0.72); padding-top: 6px; line-height: 1.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .section { padding: 64px 4%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
