/* High Performance Nursing — site styles */
:root {
  --cream: #faf6f0;
  --sand: #f1e9dd;
  --ink: #2f2623;
  --muted: #6b5d57;
  --maroon: #82453f;
  --maroon-deep: #5e2f2b;
  --gold: #d1964c;
  --gold-deep: #b97c33;
  --line: #e2d7c8;
  --white: #ffffff;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "Quattrocento Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
a:hover { color: var(--maroon-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.sand { background: var(--sand); }
.dark { background: var(--maroon-deep); color: #f6ece4; }
.dark h2, .dark h3 { color: var(--white); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--maroon); font-weight: 700; margin: 0 0 14px;
}
.dark .eyebrow { color: var(--gold); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.dark .lede { color: #ead9cd; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 4px;
  background: var(--gold); color: var(--ink); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--gold); cursor: pointer;
  font-family: var(--sans); transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--maroon); color: var(--maroon); }
.btn.ghost:hover { background: var(--maroon); color: var(--white); }
.dark .btn.ghost { border-color: #f6ece4; color: #f6ece4; }
.dark .btn.ghost:hover { background: #f6ece4; color: var(--maroon-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 220px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--maroon); }
.nav a.btn { color: var(--ink); padding: 10px 18px; font-size: 0.8rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--sand); }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 64px 48px 64px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.hero-img { position: relative; min-height: 360px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero { background: var(--sand); padding: 72px 0 64px; }

/* Grids and cards */
.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .more { margin-top: auto; font-weight: 700; text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.card-body .more::after { content: " \2192"; }
.plain { background: transparent; border: 0; border-top: 3px solid var(--gold); border-radius: 0; }
.plain .card-body { padding: 22px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-text { grid-template-columns: 1.25fr 1fr; }
.split img { border-radius: 6px; width: 100%; object-fit: cover; }
.split .tall { aspect-ratio: 4 / 5; }
.flip > :first-child { order: 2; }

/* Testimonials */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 30px; margin: 0; display: flex; flex-direction: column; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.02rem; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: 0.95rem; }
.quote footer img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.quote footer span { color: var(--muted); display: block; font-size: 0.88rem; }
.big-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.55; margin: 0; }
.big-quote footer { font-family: var(--sans); font-style: normal; font-size: 1rem; margin-top: 20px; color: #ead9cd; }

/* Logo strip */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px; margin-top: 30px; }
.logos img { height: 36px; width: auto; filter: brightness(0); opacity: 0.6; }
.logos img.keep { filter: none; mix-blend-mode: multiply; opacity: 0.75; height: 46px; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.dark .ticks li { border-color: rgba(255, 255, 255, 0.18); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.pill-row li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 16px; font-size: 0.92rem; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* Forms */
form.contact { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 1px solid #c9bcab; border-radius: 4px; background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 4px; background: var(--sand); border-left: 4px solid var(--gold-deep); }
.form-status[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: #d9cdc5; padding: 56px 0 36px; font-size: 0.95rem; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.site-footer img { width: 240px; }
.site-footer a { color: #f1e9dd; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 32px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .section { padding: 56px 0; }
  .hero, .split, .split.wide-text, .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .hero-text { padding: 48px 24px; }
  .hero-img { min-height: 320px; order: -1; }
  .flip > :first-child { order: 0; }
  .split { gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
  .brand img { width: 180px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 16px; text-align: center; border: 2px solid var(--gold); padding: 14px; }
  form.contact { padding: 22px; }
}
