/* CorpCare Shared Styles */
@font-face { font-family: 'Stolzl'; src: url('uploads/stolzl_thin.otf') format('opentype'); font-weight: 100; }
@font-face { font-family: 'Stolzl'; src: url('uploads/stolzl_light.otf') format('opentype'); font-weight: 300; }
@font-face { font-family: 'Stolzl'; src: url('uploads/stolzl_regular.otf') format('opentype'); font-weight: 400; }
@font-face { font-family: 'Stolzl'; src: url('uploads/stolzl_book.otf') format('opentype'); font-weight: 450; }
@font-face { font-family: 'Stolzl'; src: url('uploads/stolzl_medium.otf') format('opentype'); font-weight: 500; }
@font-face { font-family: 'Stolzl'; src: url('uploads/stolzl_bold.otf') format('opentype'); font-weight: 700; }

:root {
  --navy: #08355e;
  --dark-navy: #091d30;
  --steel: #4f6b73;
  --teal: #b1dfe0;
  --light: #f2f2f2;
  --white: #fafafa;
  --nav-width: 240px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Stolzl', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  color: var(--dark-navy);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  overflow-x: clip;
}

/* ── Side Nav ─────────────────────────────── */
.side-nav {
  position: fixed;
  top: 0; left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--white);
  border-right: 1px solid rgba(8,53,94,0.1);
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  z-index: 100;
  gap: 0;
}

.side-nav .logo {
  display: block;
  margin-bottom: 52px;
}
.side-nav .logo img {
  width: 120px;
  height: auto;
}

.side-nav nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.side-nav nav a {
  font-family: 'Stolzl', sans-serif;
  font-weight: 450;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.side-nav nav a:hover,
.side-nav nav a.active {
  color: var(--navy);
  background: rgba(177,223,224,0.2);
}

.side-nav nav a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 18px;
  background: var(--teal);
  border-radius: 2px;
}

.side-nav .nav-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(8,53,94,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-nav .nav-footer a {
  font-size: 11px;
  color: var(--steel);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.side-nav .nav-footer a:hover { opacity: 1; }

.side-nav .social-links {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.side-nav .social-links a {
  font-size: 11px;
  opacity: 0.5;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}
.side-nav .social-links a:hover { opacity: 1; }
/* ── Main Content ─────────────────────────── */
.main-content {
  margin-left: var(--nav-width);
  flex: 1;
  min-width: 0;
  min-height: 100vh;
}

/* ── Page Sections ────────────────────────── */
.section {
  padding: 100px 80px;
}
.section--dark {
  background: var(--dark-navy);
  color: var(--white);
}
.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--teal {
  background: var(--teal);
  color: var(--dark-navy);
}
.section--light {
  background: var(--light);
}

/* ── Typography ───────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
}
.eyebrow--dark { color: var(--steel); }

h1 { font-size: clamp(42px, 5vw, 72px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 500; line-height: 1.3; }
h4 { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
p { font-size: 16px; font-weight: 300; line-height: 1.75; color: inherit; }
p.lead { font-size: 19px; font-weight: 300; line-height: 1.65; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Stolzl', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover { background: var(--dark-navy); transform: translateY(-1px); }

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

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

.btn--teal {
  background: var(--teal);
  color: var(--dark-navy);
}
.btn--teal:hover { background: #9dd4d5; }

/* ── Teal rule ────────────────────────────── */
.teal-rule {
  width: 48px;
  height: 2px;
  background: var(--teal);
  margin: 24px 0;
}

/* ── Fade in animations (JS-gated so content is never hidden without JS) ── */
@media (prefers-reduced-motion: no-preference) {
  html.js-anim .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  html.js-anim .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  html.js-anim .fade-in-delay-1 { transition-delay: 0.1s; }
  html.js-anim .fade-in-delay-2 { transition-delay: 0.2s; }
  html.js-anim .fade-in-delay-3 { transition-delay: 0.3s; }
  html.js-anim .fade-in-delay-4 { transition-delay: 0.4s; }
}

/* ── Mobile hamburger ─────────────────────── */
.hamburger {
  display: none;
  position: fixed;
  top: 20px; left: 20px;
  z-index: 200;
  background: var(--navy);
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: white;
  transition: all 0.3s;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .side-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 150;
    box-shadow: 4px 0 40px rgba(0,0,0,0.15);
  }
  .side-nav.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .section { padding: 72px 32px; }
}
@media (max-width: 600px) {
  .section { padding: 60px 24px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
}
