/* Neuro Anesthesia Protocols — stylesheet
   Modern, professional, clinical teal/blue theme. */

:root {
  --teal-900: #0b4a50;
  --teal-800: #0d5a61;
  --teal-700: #0f766e;
  --teal-600: #128a80;
  --teal-500: #14b8a6;
  --teal-050: #ecfeff;

  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --bg: #f6f9fb;
  --surface: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);

  --maxw: 1080px;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
}
.brand:hover { text-decoration: none; }

.brand__logo {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-050), #dff6f4);
  border: 1px solid var(--border);
  object-fit: cover;
  display: block;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__title { font-size: 1.06rem; letter-spacing: -.01em; }
.brand__sub {
  font-size: .74rem;
  font-weight: 600;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 380px at 82% -10%, rgba(20, 184, 166, .16), transparent 60%),
    linear-gradient(180deg, #0b4a50 0%, #0f766e 100%);
  color: #eafaf8;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding: 56px 24px 60px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #ffffff;
}
.hero p { margin: 0; font-size: 1.08rem; color: #cdeeea; max-width: 46ch; }
.hero__art {
  width: 100%;
  height: auto;
  max-width: 420px;
  justify-self: end;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .25));
}

/* ---------- Main ---------- */
main { padding: 48px 0 72px; }

/* ---------- Protocol images ---------- */
.protocol-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.protocol-images img {
  max-width: 100%;
  height: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: .88rem;
}
.footer-inner {
  padding: 28px 24px;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: center; justify-content: space-between;
}
.footer-inner .disclaimer { max-width: 62ch; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero__art { justify-self: start; max-width: 300px; margin-top: 8px; }
}
