/* Bryan Skilled Home Care Inc. static site. Navy/teal medical. */
:root {
  --navy: #001d5c;
  --navy-deep: #001344;
  --blue: #0033a1;
  --blue-bright: #1a4fc4;
  --wine: #73263e;
  --teal: #0d6e7a;
  --ice: #f0f5ff;
  --ice-2: #e6eef9;
  --ink: #1c1c28;
  --muted: #5a6170;
  --line: #d5deee;
  --white: #ffffff;
  --shadow: 0 8px 28px rgba(0, 29, 92, 0.12);
  --radius: 10px;
  --max: 1120px;
  --header-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Open Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--wine); text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 650;
}
h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6em 1em;
  z-index: 10000;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

.topbar {
  background: var(--navy);
  color: #d6e0f5;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: space-between;
  padding: 0.45rem 0;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #cfe8ff; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.navrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
}
.logo { flex: 0 0 auto; text-decoration: none; }
.logo img { height: 72px; width: auto; }
.logo:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--blue); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.2rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.site-nav > a,
.site-nav .drop > summary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.65rem;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.92rem;
  border-radius: 6px;
  list-style: none;
  cursor: pointer;
  text-decoration: none;
}
.site-nav > a:hover,
.site-nav .drop > summary:hover,
.site-nav > a[aria-current="page"] {
  background: var(--ice);
  color: var(--blue);
  text-decoration: none;
}
.site-nav .drop { position: relative; }
.site-nav .drop > summary::-webkit-details-marker { display: none; }
.site-nav .drop > summary::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.4em;
  margin-top: -0.25em;
}
.site-nav .drop[open] > summary::after { transform: rotate(-135deg); margin-top: 0.15em; }
.site-nav .drop-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
  z-index: 50;
}
.site-nav .drop-menu a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav .drop-menu a:hover { background: var(--ice); color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border-radius: 7px;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  letter-spacing: 0.02em;
}
.btn:hover { background: var(--wine); }
.btn-wine { background: var(--wine); }
.btn-wine:hover { background: var(--navy); }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
}
.btn-ghost:hover { background: #fff; color: var(--navy) !important; }
.btn-outline {
  background: #fff;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.phone-cta {
  background: var(--wine);
  white-space: nowrap;
  margin-left: 0.4rem;
}
.phone-cta:hover { background: var(--navy); }

.hero {
  background: linear-gradient(120deg, rgba(0, 29, 92, 0.82), rgba(0, 51, 161, 0.55)), url("hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 4.5rem 0 4.2rem;
}
.hero.hero-alt {
  background: linear-gradient(120deg, rgba(0, 29, 92, 0.84), rgba(13, 110, 122, 0.45)), url("care-home.png") center/cover no-repeat;
}
.hero-inner { max-width: 640px; }
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #c9d8ff;
}
.hero h1 { color: #fff; margin-bottom: 0.6rem; }
.hero p { color: #e8eefc; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

.band {
  padding: 3.4rem 0;
}
.band-ice { background: var(--ice); }
.band-navy { background: var(--navy); color: #e6edfb; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy p, .band-navy li { color: #d5def0; }

.nap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 2;
}
.nap article {
  background: var(--navy);
  color: #fff;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nap h2 { color: #9eb6ff; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.35rem; font-family: inherit; }
.nap p { margin: 0; color: #fff; font-weight: 650; }
.nap a { color: #fff; }

.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 1.15rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.4rem;
  box-shadow: 0 2px 10px rgba(0, 29, 92, 0.04);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); flex: 1; }
.card .more { font-weight: 700; color: var(--blue); margin-top: 0.6rem; }
.card:hover { border-color: #abc0ea; box-shadow: var(--shadow); }
.card a.stretched { color: inherit; text-decoration: none; display: contents; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: center;
}
.split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }

.quote {
  background: #fff;
  border-left: 4px solid var(--teal);
  padding: 1.2rem 1.3rem;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 10px rgba(0, 29, 92, 0.05);
}
.quote p { font-style: italic; color: #2c3344; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); display: block; margin-top: 0.5rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 700;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.6rem 0 0.2rem; color: var(--muted); }

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.person .role {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

form.intake {
  display: grid;
  gap: 0.85rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c5d0e4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
.honey { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.note { font-size: 0.88rem; color: var(--muted); }

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 2.4rem 0 2.1rem;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #c9d6f5; margin: 0; max-width: 46rem; }
.crumbs { font-size: 0.85rem; color: #9eb0d8; margin-bottom: 0.6rem; }
.crumbs a { color: #dce6ff; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6rem; }
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding-left: 1.5rem;
  position: relative;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.55em;
  height: 0.55em;
  background: var(--teal);
  border-radius: 2px;
}

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--wine);
  color: #fff;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
}
.cta-bar h2, .cta-bar p { color: #fff; margin: 0; }
.cta-bar p { opacity: 0.9; }

.updates {
  font-size: 0.95rem;
  background: var(--ice-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--navy);
}

.refer-band {
  background: var(--ice-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.45rem 0;
}
.refer-band h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.refer-band p { margin: 0; max-width: 52rem; }

.site-footer {
  background: var(--navy-deep);
  color: #c5d0e8;
  padding: 2.8rem 0 0;
  margin-top: 0;
}
.site-footer h2 {
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.foot-logo {
  height: 72px;
  width: auto;
  background: #fff;
  padding: 6px 8px;
  border-radius: 8px;
}
.site-footer a { color: #dce6ff; }
.site-footer a:hover { color: #fff; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.6rem;
  padding-bottom: 2rem;
}
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0.9rem 0 1.2rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: space-between;
}
.lhcs { font-size: 0.88rem; margin-top: 0.4rem; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3, .people, .nap, .split, .split.reverse, .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split img { height: 260px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.2rem 1rem;
    box-shadow: var(--shadow);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav .drop-menu { position: static; box-shadow: none; border: 0; padding-left: 0.6rem; }
  .phone-cta { display: none; }
  .form-row, .grid-2, .grid-3, .grid-4, .people, .nap, .split, .split.reverse, .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 3rem 0; }
  .logo img { height: 48px; }
}
