/* ================================================================
   PANDEMICURE.ORG — BioResilience Network
   10-COLOR PANTONE PALETTE  (derived from the platform imagery)
   -----------------------------------------------------------------
    1  Midnight Navy   PANTONE 5395 C   #0A1E33   ground / header / footer
    2  Petrol Teal     PANTONE 316  C   #004851   deep sections, gradients
    3  Bio Teal        PANTONE 326  C   #00B2A9   primary brand accent
    4  Electric Cyan   PANTONE 306  C   #00B5E2   biological-intelligence glow
    5  Sky Blue        PANTONE 299  C   #00A3E0   secondary data blue
    6  Vital Green     PANTONE 360  C   #6CC24A   nutrition / One Health
    7  Signal Amber    PANTONE 137  C   #FFA300   readiness / energy
    8  Alert Coral     PANTONE 7417 C   #E0583B   emergency / alerts
    9  Slate           PANTONE 431  C   #5B6770   neutral text / rules
   10  Ice Mist        PANTONE 656  C   #DCE7F1   light panel tint
   Light/white background · varied box fills for aesthetic variety
   ================================================================ */

:root {
  /* ── Pantone palette — bright reference values ── */
  --navy:        #0A1E33;
  --petrol:      #004851;
  --teal-lt:     #00B2A9;
  --cyan-lt:     #00B5E2;
  --sky-lt:      #00A3E0;
  --green-lt:    #6CC24A;
  --amber-lt:    #FFA300;
  --coral-lt:    #E0583B;
  --slate:       #5B6770;
  --ice:         #DCE7F1;

  /* ── readable-on-white accent variants ── */
  --teal:        #00857D;
  --teal-dk:     #004851;
  --teal-dim:    rgba(0,178,169,.12);
  --teal-border: rgba(0,133,125,.28);
  --cyan:        #0093C4;
  --cyan-dim:    rgba(0,181,226,.12);
  --sky:         #0086C9;
  --green:       #4E9A2F;
  --green-dim:   rgba(108,194,74,.15);
  --amber:       #D98A00;
  --amber-dim:   rgba(255,163,0,.15);
  --coral:       #CF4632;
  --coral-dim:   rgba(224,88,59,.13);

  /* ── backgrounds: white base + soft tints for box variety ── */
  --bg:           #ffffff;
  --bg-soft:      #F5F9FC;
  --bg-teal-lt:   #E1F4F1;
  --bg-cyan-lt:   #E2F4FB;
  --bg-sky-lt:    #E5F1FB;
  --bg-green-lt:  #EDF6E6;
  --bg-amber-lt:  #FFF4DE;
  --bg-coral-lt:  #FCEBE7;
  --bg-ice:       #EDF3F9;
  --bg-slate-lt:  #EDF1F4;
  --bg-dark-navy: #0A1E33;
  --bg-dark-teal: #00343E;
  --bg-dark-bio:  #06222B;

  --card:         #ffffff;
  --border:       rgba(16,38,58,.12);
  --border2:      rgba(16,38,58,.2);

  --text:         #12263A;
  --text-dim:     #374A5C;
  --text-muted:   #6E7F8E;
  --text-lt:      rgba(255,255,255,.92);
  --text-lt-dim:  rgba(255,255,255,.66);

  --radius:       12px;
  --shadow:       0 4px 20px rgba(10,30,51,.08);
  --shadow-lg:    0 10px 34px rgba(10,30,51,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  font-size: 15px;
}

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dk); text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: 1.15rem; }

p { line-height: 1.75; }
ul { padding-left: 1.2rem; }
li { margin-bottom: .4rem; }

/* ── PAGE WRAP ──────────────────────────────────────────────── */
.page-wrap {
  max-width: 1900px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--teal-border);
  border-right: 1px solid var(--teal-border);
}
main { flex: 1; }

/* ── SITE HEADER ────────────────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 58%, var(--teal-lt) 130%);
  padding: 1.2rem 2rem;
}
.header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-logo-icon {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(0,200,180,.4));
}
.header-logo-text { display: flex; flex-direction: column; gap: .1rem; }
.header-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.header-sub {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.header-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  font-style: italic;
  max-width: 420px;
  text-align: right;
}

/* ── NAV ────────────────────────────────────────────────────── */
.site-nav-wrap { background: var(--navy); border-bottom: 2px solid var(--teal-lt); }

.pc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.pc-nav-brand { display: none; }
.pc-nav .nav-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }

.pc-nav a {
  display: block;
  padding: .75rem 1rem;
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.pc-nav > a:hover,
.pc-nav > a.active { color: #fff; background: rgba(255,255,255,.08); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { color: rgba(255,255,255,.82); font-weight: 600; font-size: .9rem; }
.nav-dropdown > a:hover,
.nav-dropdown > a.active { color: #fff; background: rgba(255,255,255,.08); }

.dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #0E2740;
  border: 1px solid var(--teal-border);
  border-top: 2px solid var(--teal-lt);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  z-index: 200;
  padding: .4rem 0;
}
.nav-dropdown:hover .dd-menu { display: block; }
.dd-menu a {
  display: block;
  padding: .45rem 1rem;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.dd-menu a:hover { background: rgba(0,137,123,.2); color: #fff; }
.dd-section {
  padding: .5rem 1rem .25rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal-lt);
  letter-spacing: .1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: .25rem;
}
.dd-section:first-child { border-top: none; margin-top: 0; }

/* ── GALLERY ────────────────────────────────────────────────── */
.pc-gallery-strip {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  line-height: 0;
}
.pc-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #002a2a 0%, #004040 100%);
}
.gallery-placeholder {
  color: rgba(255,255,255,.3);
  font-size: .85rem;
  font-style: italic;
}
.pc-gallery-slide {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.pc-gallery-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease-in-out;
}
.pc-gallery-slide img.active { opacity: 1; }

.slide-controls {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-top: 1px solid rgba(0,106,106,.15);
}
.slide-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: .2rem .5rem;
  border-radius: 5px;
  color: var(--text-dim);
  transition: background .18s;
  line-height: 1;
}
.slide-btn:hover { background: rgba(0,106,106,.1); }
.slide-btn.paused { background: var(--amber-dim); color: var(--amber); }
.slide-counter {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 3.5rem;
}
.slide-delay {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: .2rem .4rem;
  font-size: .78rem;
  color: var(--text-dim);
  cursor: pointer;
}

/* ── PAGE BANNER ────────────────────────────────────────────── */
.page-banner {
  padding: 2.8rem 2rem 2.4rem;
  border-bottom: 3px solid var(--teal);
}
.banner-navy      { background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%); }
.banner-dark-teal { background: linear-gradient(135deg, #00343E 0%, var(--petrol) 100%); }
.banner-teal      { background: linear-gradient(135deg, var(--petrol) 0%, var(--teal-lt) 125%); }
.banner-cyan      { background: linear-gradient(135deg, #00587F 0%, var(--cyan-lt) 125%); }
.banner-sky       { background: linear-gradient(135deg, #00577E 0%, var(--sky-lt) 125%); }
.banner-green     { background: linear-gradient(135deg, #2E6B18 0%, var(--green-lt) 130%); }
.banner-amber     { background: linear-gradient(135deg, #B0690A 0%, var(--amber-lt) 130%); }
.banner-coral     { background: linear-gradient(135deg, #A5301F 0%, var(--coral-lt) 130%); }

.banner-inner { max-width: 1200px; margin: 0 auto; }
.banner-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .6rem;
}
.banner-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .8rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.banner-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  line-height: 1.6;
}
.banner-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* ── SECTIONS ───────────────────────────────────────────────── */
.pc-section { padding: 3.5rem 2rem; }
.pc-section-inner { max-width: 1200px; margin: 0 auto; }

.bg-white      { background: #ffffff; }
.bg-soft       { background: var(--bg-soft); }
.bg-teal-lt    { background: var(--bg-teal-lt); }
.bg-cyan-lt    { background: var(--bg-cyan-lt); }
.bg-sky-lt     { background: var(--bg-sky-lt); }
.bg-green-lt   { background: var(--bg-green-lt); }
.bg-amber-lt   { background: var(--bg-amber-lt); }
.bg-coral-lt   { background: var(--bg-coral-lt); }
.bg-ice        { background: var(--bg-ice); }
.bg-slate-lt   { background: var(--bg-slate-lt); }
.bg-dark-navy  { background: var(--bg-dark-navy); }
.bg-dark-teal  { background: var(--bg-dark-teal); }
.bg-dark-bio   { background: var(--bg-dark-bio); }

.text-on-dark h2,
.text-on-dark h3,
.text-on-dark { color: #fff; }
.text-on-dark p,
.text-on-dark .section-lead { color: rgba(255,255,255,.78); }
.text-on-dark .section-eyebrow { color: var(--teal-lt); }
.text-on-dark li,
.text-on-dark .pc-list li { color: rgba(255,255,255,.8); }
.text-on-dark a { color: var(--cyan-lt); }

.section-eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6rem;
}
.eyebrow-lt { color: rgba(0,200,180,.8); }
.section-lead {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 720px;
  margin-top: .75rem;
  line-height: 1.75;
}
.section-hero-text {
  font-size: 1.12rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 820px;
}

/* ── GRIDS ──────────────────────────────────────────────────── */
.pc-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pc-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pc-pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.pc-pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pc-pillar-green { background: var(--bg-green-lt); }
.pc-pillar-icon { font-size: 2rem; margin-bottom: .6rem; }
.pc-pillar-title { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; color: var(--text); }
.pc-pillar-desc  { font-size: .9rem; color: var(--text-dim); line-height: 1.6; }

.pc-card-dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  transition: background .2s;
}
.pc-card-dark:hover { background: rgba(255,255,255,.1); }
.pc-card-title { font-weight: 700; color: rgba(255,255,255,.95); margin-bottom: .5rem; }
.pc-card-desc  { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ── PRODUCT CARDS ──────────────────────────────────────────── */
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.product-card-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.product-card-title { font-weight: 800; font-size: 1.05rem; margin-bottom: .4rem; color: var(--text); }
.product-card-desc  { font-size: .88rem; color: var(--text-dim); line-height: 1.55; flex: 1; }
.product-card-link  { margin-top: .8rem; font-size: .85rem; font-weight: 700; color: var(--teal); }

/* ── rotating box-fill accents → aesthetic variety across grids ── */
.pc-pillar, .product-card { border-top: 3px solid var(--teal-lt); }
.pc-grid-3 > :nth-child(6n+1), .pc-grid-2 > :nth-child(6n+1), .product-card-grid > :nth-child(6n+1) { border-top-color: var(--teal-lt); }
.pc-grid-3 > :nth-child(6n+2), .pc-grid-2 > :nth-child(6n+2), .product-card-grid > :nth-child(6n+2) { border-top-color: var(--cyan-lt); }
.pc-grid-3 > :nth-child(6n+3), .pc-grid-2 > :nth-child(6n+3), .product-card-grid > :nth-child(6n+3) { border-top-color: var(--sky-lt); }
.pc-grid-3 > :nth-child(6n+4), .pc-grid-2 > :nth-child(6n+4), .product-card-grid > :nth-child(6n+4) { border-top-color: var(--green-lt); }
.pc-grid-3 > :nth-child(6n+5), .pc-grid-2 > :nth-child(6n+5), .product-card-grid > :nth-child(6n+5) { border-top-color: var(--amber-lt); }
.pc-grid-3 > :nth-child(6n+6), .pc-grid-2 > :nth-child(6n+6), .product-card-grid > :nth-child(6n+6) { border-top-color: var(--coral-lt); }
.pc-pillar:hover { box-shadow: var(--shadow-lg); }

/* ── ARCHITECTURE FLOW ──────────────────────────────────────── */
.arch-flow { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.arch-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}
.arch-num {
  width: 2rem;
  height: 2rem;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.arch-title { font-weight: 700; font-size: 1rem; margin-bottom: .25rem; color: var(--text); }
.arch-desc  { font-size: .88rem; color: var(--text-dim); line-height: 1.5; }

/* ── LIST ───────────────────────────────────────────────────── */
.pc-list { padding-left: 1.4rem; margin-top: 1rem; }
.pc-list li { margin-bottom: .5rem; font-size: .95rem; color: var(--text-dim); line-height: 1.6; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-block { margin-bottom: 1.2rem; }
.contact-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .2rem; }
.contact-link  { font-size: 1rem; font-weight: 600; color: var(--teal); }
.contact-info h2 { margin: .75rem 0 0; }

/* ── TAGS ───────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tag-teal  { background: var(--teal-dim); color: var(--teal); border: 1px solid var(--teal-border); }
.tag-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(108,194,74,.32); }
.tag-cyan  { background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(0,181,226,.3); }
.tag-sky   { background: rgba(0,163,224,.1); color: var(--sky); border: 1px solid rgba(0,163,224,.3); }
.tag-blue  { background: rgba(0,163,224,.1); color: var(--sky); border: 1px solid rgba(0,163,224,.3); }
.tag-gold  { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(255,163,0,.32); }
.tag-coral { background: var(--coral-dim); color: var(--coral); border: 1px solid rgba(224,88,59,.32); }
.tag-slate { background: rgba(91,103,112,.1); color: var(--slate); border: 1px solid rgba(91,103,112,.28); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-teal {
  background: var(--teal);
  color: #fff;
  padding: .55rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .18s;
}
.btn-teal:hover { background: var(--teal-dk); color: #fff; text-decoration: none; }
.btn-teal-lg {
  background: var(--teal);
  color: #fff;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background .18s;
}
.btn-teal-lg:hover { background: var(--teal-lt); color: #fff; text-decoration: none; }
.btn-outline-lt {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.88);
  padding: .8rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.3);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background .18s;
}
.btn-outline-lt:hover { background: rgba(255,255,255,.18); color: #fff; text-decoration: none; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.pc-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 3rem 2rem 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}
.footer-brand .brand-name { font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: .75rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: .75rem; }
.footer-col a { display: block; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; transition: color .18s; }
.footer-col a:hover { color: var(--teal-lt); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ── MOBILE ─────────────────────────────────────────────────── */
.mob-hamburger {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  padding: .6rem 1rem;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.mob-icon { font-size: 1.4rem; }

@media (max-width: 900px) {
  .header-tagline { display: none; }
  .mob-hamburger  { display: flex; }
  .pc-nav { flex-wrap: wrap; }
  .pc-nav .nav-inner { display: none; width: 100%; flex-direction: column; }
  .pc-nav .nav-inner.open { display: flex; }
  .nav-dropdown { width: 100%; }
  .dd-menu { position: static; width: 100%; border-radius: 0; box-shadow: none; display: none; }
  .nav-dropdown:hover .dd-menu { display: none; }
  .nav-dropdown.open .dd-menu { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pc-gallery-slide { height: 480px !important; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pc-section { padding: 2.5rem 1rem; }
  .site-header { padding: 1rem; }
  .page-banner { padding: 2rem 1rem; }
  .pc-gallery-slide { height: 280px !important; }
}
