/* ══════════════════════════════════════
   CryoVeritas — Shared Styles
   ══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cryo-blue: #0B4A8B;
  --cryo-blue-dark: #083968;
  --cryo-blue-light: #1160a8;
  --indicator-pink: #D81B72;
  --indicator-pink-dark: #b8155f;
  --indicator-pink-light: #e84d93;
  --white: #FFFFFF;
  --lab-gray: #F4F6F8;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --gradient-blue: linear-gradient(135deg, #061e3c 0%, #0B4A8B 50%, #0d5da6 100%);
  --gradient-warm: linear-gradient(135deg, #083968, #b8155f);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 0.75rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid rgba(11,74,139,0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
.nav-logo img { height: 30px; width: auto; }
nav > ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
nav > ul > li { position: relative; }
nav > ul > li > a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s; letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 0.3rem;
}
nav > ul > li > a:hover { color: var(--cryo-blue); }
.nav-cta {
  background: var(--cryo-blue); color: var(--white) !important;
  padding: 0.5rem 1.2rem; border-radius: 6px;
  font-weight: 600 !important; transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--cryo-blue-dark) !important; color: var(--white) !important; transform: translateY(-1px); }

/* Dropdown */
.dropdown-arrow {
  width: 12px; height: 12px; transition: transform 0.2s;
}
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown {
  display: none; position: absolute; top: 100%; left: -1rem;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(11,74,139,0.12), 0 1px 3px rgba(0,0,0,0.06);
  padding: 0.5rem 0; min-width: 240px;
  border: 1px solid rgba(11,74,139,0.06);
  margin-top: 0.75rem;
  list-style: none;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown::before {
  content: ''; position: absolute; top: -0.75rem; left: 0; right: 0; height: 0.75rem;
}
.dropdown li a {
  display: block; padding: 0.65rem 1.25rem;
  color: var(--text-dark) !important; font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
  background: var(--lab-gray); color: var(--cryo-blue) !important;
}
.dropdown li a small {
  display: block; font-size: 0.75rem; color: var(--text-muted);
  font-weight: 400; margin-top: 0.15rem;
}
.dropdown-divider { height: 1px; background: rgba(11,74,139,0.06); margin: 0.35rem 0; }
.dropdown li a.dropdown-all {
  color: var(--cryo-blue) !important; font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.01em;
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 0.85rem 2.2rem;
  background: var(--indicator-pink); color: var(--white);
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  border-radius: 8px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  background: var(--indicator-pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216,27,114,0.25);
}
.btn-blue { background: var(--cryo-blue); }
.btn-blue:hover {
  background: var(--cryo-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11,74,139,0.3);
}
.btn-outline {
  background: transparent; color: var(--cryo-blue);
  border: 2px solid var(--cryo-blue); margin-left: 0.75rem;
}
.btn-outline:hover {
  background: rgba(11,74,139,0.04);
  box-shadow: none; color: var(--cryo-blue);
}
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-light {
  background: var(--white); color: var(--cryo-blue); font-weight: 600;
  padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none;
  display: inline-block; transition: transform 0.2s, box-shadow 0.2s;
  position: relative; font-size: 0.95rem;
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ── SHARED LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; }
.section-label {
  text-align: center; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--indicator-pink);
  margin-bottom: 0.75rem;
}
.section-title {
  text-align: center; font-size: 2.2rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: 3.5rem;
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.5);
  padding: 3.5rem 2rem 2rem; text-align: center;
}
footer .container { max-width: 800px; margin: 0 auto; }
.footer-logo { margin-bottom: 1.25rem; }
.footer-logo img {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.cofounder { margin: 0.75rem 0; font-size: 0.9rem; }
.cofounder strong { color: rgba(255,255,255,0.8); }
.footer-links { margin: 1.5rem 0; }
.footer-links a {
  color: var(--indicator-pink-light); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.75; }
.footer-divider {
  width: 60px; height: 1px; background: rgba(255,255,255,0.1);
  margin: 1.5rem auto;
}
.footer-copy { font-size: 0.8rem; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  padding: 5.5rem 2rem 0;
  background: var(--white);
}
.breadcrumbs .container {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--cryo-blue); text-decoration: none; font-weight: 500;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { color: var(--text-muted); opacity: 0.4; }

/* ── PROMO BANNER ── */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--lab-gray);
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem 2rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  border-bottom: 1px solid rgba(11,74,139,0.08);
}
.promo-banner a {
  color: var(--indicator-pink);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.5rem;
  white-space: nowrap;
}
.promo-banner a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.promo-banner img {
  height: 16px;
  width: auto;
  vertical-align: middle;
  margin-right: 0.4rem;
  border-radius: 3px;
}
.has-promo-banner nav {
  top: 36px;
}
.has-promo-banner .hero {
  padding-top: calc(7rem + 36px);
}
.has-promo-banner .breadcrumbs {
  padding-top: calc(5.5rem + 36px);
}

/* ── RESPONSIVE ── */
@media (max-width: 968px) {
  .dropdown { position: static; box-shadow: none; border: none; margin-top: 0; padding: 0 0 0 1rem; }
  .has-dropdown:hover .dropdown { display: block; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  nav > ul {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 1.5rem 2rem; gap: 1rem;
    border-top: 1px solid rgba(11,74,139,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  nav > ul.open { display: flex; }
  .dropdown { position: static; box-shadow: none; border: none; margin-top: 0.5rem; padding: 0 0 0 1rem; min-width: auto; }
  .has-dropdown .dropdown { display: block; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; }
  .has-promo-banner nav {
    top: 56px;
  }
  .has-promo-banner .hero {
    padding-top: calc(7rem + 56px);
  }
  .has-promo-banner .breadcrumbs {
    padding-top: calc(5.5rem + 56px);
  }
}
