/* ========================================================================
   DARDEN CLEAN ENERGY PROJECT — Workforce Health & Wellness Mini Site
   Shared stylesheet. Two brand systems: OccuMedX (default) and BeWell (.bewell).
   ======================================================================== */

/* ----------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font: inherit; cursor: pointer; }

/* -------------------------------------------------------- BRAND TOKENS */
:root {
  /* OccuMedX (default brand) */
  --bg:           #FFFFFF;
  --panel-bg:    #F4F4F4;
  --text:        #0C0C0C;
  --text-body:   #3C3C3C;
  --text-dim:    #7A7A7A;
  --accent:      #E00000;   /* red */
  --accent-deep: #B80000;
  --divider:     #D7D7D7;

  /* Layout */
  --max-w:       720px;
  --pad:         24px;
  --radius:      4px;

  /* Type */
  --font:        'Manrope', system-ui, -apple-system, sans-serif;
}

/* BeWell brand override (apply to body) */
body.bewell {
  --bg:           #F4F6F8;     /* cool off-white, slight blue tint */
  --panel-bg:    #E7EEF3;      /* cool panel */
  --text:        #0F2A3C;      /* deep navy */
  --text-body:   #3B4E5E;      /* slate */
  --text-dim:    #7A8B98;
  --accent:      #206F9A;      /* BeWell blue — structural */
  --accent-deep: #18567A;
  --accent-2:    #96C924;      /* BeWell green — energy */
  --accent-2-deep:#7DA61E;
  --divider:     #D5DDE3;
}

/* ------------------------------------------------------------- GLOBALS */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ----------------------------------------------------- HEADER + NAV */
.site-header {
  border-bottom: 1px solid var(--divider);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
.site-header .brand {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.site-header .project {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-dim);
}
.home-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.home-link::before {
  content: "←";
  font-weight: 700;
  color: var(--accent);
}

/* Top red/green accent bar on body */
.accent-bar {
  height: 5px;
  background: var(--accent);
}

/* --------------------------------------------------- KICKER + TITLE */
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(38px, 8vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--text);
}
h2 {
  font-size: clamp(26px, 5.5vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--text);
}
h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--text);
}

p {
  margin: 0 0 18px;
  color: var(--text-body);
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 32px;
  font-weight: 400;
}

/* BeWell uses a slightly softer headline weight */
body.bewell h1 { font-weight: 700; }
body.bewell h2 { font-weight: 600; }

/* ---------------------------------------------------- SECTION SLAB */
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--divider);
}
.section:last-child { border-bottom: none; }

.section-head {
  margin-bottom: 32px;
}

.slab {
  display: inline-block;
  width: 56px;
  height: 5px;
  background: var(--accent);
  margin-bottom: 16px;
}

/* --------------------------------------------------- HUGE CALL CTA */
.call-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent);
  color: #FFFFFF;
  padding: 36px 24px;
  border-radius: var(--radius);
  margin: 0 0 24px;
  text-decoration: none;
  transition: background 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.call-cta:active { background: var(--accent-deep); }
.call-cta .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.92;
}
.call-cta .number {
  font-size: clamp(36px, 9vw, 52px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.call-cta .sub {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.92;
}

/* ------------------------------------------ ROUTE CARDS (HOME PAGE) */
.routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 16px 0 48px;
}
@media (min-width: 640px) {
  .routes { grid-template-columns: 1fr 1fr; }
}

.route-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 32px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
  position: relative;
  overflow: hidden;
}
.route-card:active { transform: scale(0.99); }

.route-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: auto;
}

.route-card .card-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}
.route-card .card-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.route-card .card-desc {
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.88;
  margin-bottom: 24px;
}
.route-card .arrow {
  align-self: flex-end;
  font-size: 24px;
  font-weight: 700;
  margin-top: 16px;
}

.route-medic {
  background: #E00000;
  color: #FFFFFF;
}
.route-medic:active { background: #B80000; }

.route-bewell {
  background: #206F9A;
  color: #FFFFFF;
}
.route-bewell:active { background: #18567A; }
.route-bewell .card-kicker { color: #96C924; opacity: 1; }
.route-bewell .arrow { color: #96C924; }

/* --------------------------------------------- INFO ROWS / DETAILS */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 24px 0 32px;
}
@media (min-width: 640px) {
  .info-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}

.info-row {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
}
.info-row .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.info-row .value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}

/* ------------------------------------------- WHEN TO CALL CHECKLIST */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* -------------------------------------------------- QR BLOCK */
.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--panel-bg);
  margin: 0 0 24px;
}
.qr-block .qr-img {
  width: 220px;
  height: 220px;
  background: #FFFFFF;
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.qr-block .qr-img img { width: 100%; height: 100%; }
.qr-block .qr-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.qr-block .qr-help {
  font-size: 14px;
  color: var(--text-body);
  max-width: 280px;
}

/* ------------------------------------------------ MONTHLY FEATURE — see bewell-specific section below */

.placeholder {
  border: 2px dashed var(--divider);
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.02);
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  font-style: italic;
}
.placeholder strong { color: var(--text); font-style: normal; }

/* ---------------------------------------------- YEAR GRID (12 months) */
.year-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 16px;
}
@media (min-width: 760px) {
  .year-grid { grid-template-columns: repeat(4, 1fr); }
}

.month-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 120ms ease;
}
.month-card .month-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.month-card .month-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.005em;
}
.month-card .month-desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-body);
  margin-top: 2px;
}

/* Current month — green energy accent */
.month-card.is-current {
  background: linear-gradient(180deg, rgba(150,201,36,0.08) 0%, var(--bg) 100%);
  border-left-color: var(--accent-2);
  border-left-width: 5px;
  position: relative;
}
.month-card.is-current .month-name {
  color: var(--accent-2-deep);
}
.month-card.is-current::after {
  content: "NOW";
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--accent-2);
  color: var(--text);
  padding: 3px 6px;
  border-radius: 2px;
}

/* --------------------------------------------- BEWELL LOGO IN HEADER */
.bewell-logo {
  height: 36px;
  width: auto;
  display: block;
}
@media (min-width: 640px) {
  .bewell-logo { height: 44px; }
}

/* --------------------------------------------- OCCUMEDX LOGO IN HEADER */
.occumedx-logo {
  height: 32px;
  width: auto;
  display: block;
}
@media (min-width: 640px) {
  .occumedx-logo { height: 40px; }
}

/* --------------------------------------------- HERO TAGLINE (BeWell) */
.tagline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 28px;
  text-transform: none;
}
body.bewell .tagline::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent-2);
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

/* --------------------------------------------- FEATURE BLOCK (BeWell) — restyle */
.feature {
  background: var(--panel-bg);
  border-left: 4px solid var(--accent);
  padding: 28px 24px;
  border-radius: var(--radius);
  margin: 0 0 32px;
}
.feature .month {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature .title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}
.feature .body { color: var(--text-body); font-size: 17px; line-height: 1.55; }

/* On BeWell pages, make the featured month use the green energy accent */
body.bewell .feature {
  border-left-color: var(--accent-2);
  border-left-width: 5px;
}
body.bewell .feature .month {
  color: var(--accent-2-deep);
}

/* --------------------------------------------- LOGO BLOCK (Medic) */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark .logo {
  height: 36px;
  width: auto;
}

/* --------------------------------------------- CLINIC STATUS / OPEN PANEL */
.clinic-status {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(180deg, #F1F9F4 0%, #FBFDFC 100%);
  border: 1px solid #C9E5D4;
  border-left: 6px solid #16A34A;
  border-radius: var(--radius);
  padding: 36px 32px;
  margin: 16px 0 8px;
}
.clinic-status .status-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.clinic-status .status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16A34A;
  position: relative;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
.clinic-status .status-dot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: #16A34A;
  opacity: 0;
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}
.clinic-status .status-label {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #16A34A;
  line-height: 1;
}
.clinic-status .status-text { flex: 1; min-width: 0; }
.clinic-status .status-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.clinic-status .status-sub {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 560px) {
  .clinic-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
  }
  .clinic-status .status-label { font-size: 36px; }
}

/* --------------------------------------------- PROCESS FLOW (numbered steps) */
.process-flow {
  margin: 24px 0 16px;
}
.process-step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--divider);
  align-items: flex-start;
}
.process-step:first-child { padding-top: 8px; }
.process-step:last-child { border-bottom: none; padding-bottom: 8px; }
.process-step .step-num {
  flex-shrink: 0;
  width: 78px;
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.process-step .step-content { flex: 1; min-width: 0; }
.process-step .step-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 6px 0 6px;
}
.process-step .step-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
}
@media (min-width: 640px) {
  .process-step .step-num { font-size: 56px; width: 100px; }
  .process-step .step-title { font-size: 22px; }
  .process-step .step-desc { font-size: 16px; }
}

/* --------------------------------------------------- FOOTER */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--divider);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

/* --------------------------------------------------- POWERED BY LOCKUP */
.powered-by {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.powered-by .pb-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.powered-by img {
  height: 24px;
  width: auto;
  display: block;
  opacity: 0.95;
}
.powered-by .pb-divider {
  width: 1px;
  height: 20px;
  background: var(--divider);
}

/* --------------------------------------------------- ENROLL / STAY INFORMED */
.enroll-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .enroll-grid { grid-template-columns: 1fr 1fr; }
}

.enroll-option {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--bg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 140ms ease, transform 140ms ease;
  position: relative;
  overflow: hidden;
}
.enroll-option::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.enroll-option:hover { transform: translateY(-1px); }
.enroll-option:active { transform: translateY(0); }

.enroll-option .enroll-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.enroll-option .enroll-prompt {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.3;
  margin-bottom: 6px;
}
.enroll-option .enroll-prompt-form {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.enroll-option .enroll-prefix {
  font-weight: 400;
  color: var(--text-body);
  margin: 0 4px;
}
.enroll-option .enroll-keyword {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
}
.enroll-option .enroll-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.enroll-option .enroll-form-btn {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin: 8px 0 12px;
}
.enroll-option .enroll-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 8px;
}

/* --------------------------------------------------- PARTNERSHIP CARD */
.partnership {
  background: #FAFAFA;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin: 36px 0 8px;
  position: relative;
  overflow: hidden;
}
/* Dual-color accent bar — Mortenson cobalt + OccuMedX red */
.partnership::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, #0054B7 0%, #0054B7 50%, #E00000 50%, #E00000 100%);
}
.partnership-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.partnership-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.partnership-logos img {
  width: auto;
  display: block;
}
.partnership-logos .pl-mortenson {
  max-height: 84px;
}
.partnership-logos .pl-occumedx {
  max-height: 52px;
}
.partnership-text {
  max-width: 540px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}
@media (max-width: 480px) {
  .partnership { padding: 32px 22px; }
  .partnership-logos { gap: 28px; }
  .partnership-logos .pl-mortenson { max-height: 64px; }
  .partnership-logos .pl-occumedx { max-height: 40px; }
}

/* --------------------------------------------- HERO (HOME) */
.hero {
  padding: 56px 0 32px;
}
.hero .project-mark {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 0;
}

/* --------------------------------------------- UTILITIES */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 20px; }
.mb-lg { margin-bottom: 40px; }
.text-dim { color: var(--text-dim); }
.text-accent { color: var(--accent); }

/* Subtle entrance animation on page load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
main > * { animation: fadeUp 320ms ease-out both; }
main > *:nth-child(2) { animation-delay: 60ms; }
main > *:nth-child(3) { animation-delay: 120ms; }
main > *:nth-child(4) { animation-delay: 180ms; }
main > *:nth-child(5) { animation-delay: 240ms; }
