/* AI & Nursing — shared styles v2 (light mode) */
:root {
  --bg: #f8f7f4;
  --bg-alt: #f0eeea;
  --bg-dark: #1a1a2e;
  --text: #1a1a2e;
  --text-muted: #5a5a72;
  --text-light: #8888a0;
  --accent: #4060f0;
  --accent-dark: #2a45d0;
  --accent-light: #eef1ff;
  --white: #ffffff;
  --border: rgba(26,26,46,0.1);
  --border-accent: rgba(64,96,240,0.2);
  --card: #ffffff;
  --card-shadow: 0 2px 12px rgba(26,26,46,0.08), 0 1px 3px rgba(26,26,46,0.06);
  --card-shadow-hover: 0 8px 32px rgba(26,26,46,0.12), 0 2px 8px rgba(26,26,46,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

a { color: var(--accent); text-decoration: none; }
p { color: var(--text-muted); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ---- NAV ---- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,247,244,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown > a::after { content: " ▾"; font-size: 0.65em; color: var(--text-light); }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px; min-width: 250px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all 0.15s; box-shadow: var(--card-shadow-hover);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 6px;
  font-size: 0.88rem; color: var(--text-muted) !important;
}
.dropdown-menu a:hover { background: var(--accent-light); color: var(--accent) !important; }
.nav-cta-btn {
  background: var(--accent); color: #fff !important;
  padding: 9px 20px; border-radius: 8px; font-weight: 600; font-size: 0.88rem;
  transition: background 0.2s;
}
.nav-cta-btn:hover { background: var(--accent-dark); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }
@media (max-width: 820px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 16px 28px 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { display: block; padding: 11px 0; font-size: 1rem; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: none; box-shadow: none; padding-left: 16px; }
  .nav-cta-btn { display: inline-block; margin-top: 8px; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(64,96,240,0.3); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 20px rgba(64,96,240,0.4); }
.btn-secondary { background: var(--white); color: var(--text); border: 1.5px solid var(--border); box-shadow: var(--card-shadow); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- TAG / EYEBROW ---- */
.tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  background: var(--accent-light); padding: 5px 12px; border-radius: 4px; margin-bottom: 18px;
}

/* ---- SECTIONS ---- */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--bg-dark); }

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.2; color: var(--text); margin-bottom: 16px;
}
section.dark h2 { color: #f5f2ed; }
.lead { font-size: 1.05rem; color: var(--text-muted); max-width: 680px; line-height: 1.75; }
section.dark .lead { color: #a89a8a; }
.section-intro { margin-bottom: 48px; }

/* ---- CARDS ---- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  box-shadow: var(--card-shadow); transition: all 0.2s;
}
.card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 10px; font-family: Inter, sans-serif; font-weight: 600; }
.card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.65; }

/* ---- ROW LIST ---- */
.row-list { list-style: none; }
.row-list li {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 16px 22px; margin-bottom: 10px;
  color: var(--text-muted); font-size: 0.97rem; box-shadow: var(--card-shadow);
}
.row-list li strong { color: var(--accent); }

/* ---- QUOTE ---- */
.quote-block {
  border-left: 3px solid var(--accent); background: var(--accent-light);
  padding: 22px 26px; border-radius: 0 8px 8px 0; margin: 20px 0;
  font-style: italic; color: var(--text-muted);
}
.quote-block .attr { display: block; margin-top: 10px; font-style: normal; font-size: 0.82rem; color: var(--text-light); }

/* ---- FOOTER ---- */
footer { background: var(--bg-dark); padding: 48px 0; }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: #f5f2ed; text-decoration: none; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: #8888a0; font-size: 0.86rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: #5a5a72; font-size: 0.8rem; }

/* ---- FORMS ---- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(64,96,240,0.1);
}
.form-note { font-size: 0.82rem; color: var(--text-light); margin-top: 14px; }
