/* Ambassadore Health Care, Inc. — production styles (v4 design system) */
@import url("fonts.css");


:root {
  --navy: #14263c;
  --navy-deep: #0d1a2b;
  --navy-mid: #1c3550;
  --gold: #b08a3a;
  --gold-soft: #c9a35a;
  --sand: #f3eee6;
  --sand-deep: #e8dfd1;
  --sky: #e7f1f6;
  --sky-deep: #d5e6ef;
  --paper: #faf8f5;
  --white: #ffffff;
  --text: #1a2430;
  --muted: #5b6572;
  --line: #d8d2c8;
  --line-soft: #e7e2d9;
  --focus: #1c5f8a;
  --danger-note: #7a3a16;
  --shadow: 0 8px 24px rgba(20, 38, 60, 0.08);
  --shadow-soft: 0 2px 10px rgba(20, 38, 60, 0.06);
  --radius: 6px;
  --header-h: 76px;
  --max: 1160px;
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --space-section: 72px;
  --space-section-sm: 48px;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-mid); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 3.4vw, 3.15rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.5vw, 2.25rem); }
h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--navy);
  color: #fff;
  z-index: 200;
  border-radius: var(--radius);
}
.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  clip: auto;
  clip-path: none;
  overflow: visible;
  top: 12px;
  color: #fff;
}

.wrap,
.header-inner,
.hero,
.page-hero-split .wrap-split {
  width: min(var(--max), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.note {
  font-size: 0.82rem;
  color: var(--danger-note);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-light:hover { background: var(--sand); color: var(--navy); }
.btn-on-navy {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-on-navy:hover { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand-name span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-inner > nav {
  margin-left: auto;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-main a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-main a:hover { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-phone {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold); }

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  color: var(--navy);
}
.menu-toggle .icon,
.menu-toggle .icon::before,
.menu-toggle .icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}
.menu-toggle .icon::before,
.menu-toggle .icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle .icon::before { top: -6px; }
.menu-toggle .icon::after { top: 6px; }

/* Hero + services share one sand canvas — no band between them */
.home-sand {
  background: var(--sand);
}
.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) 1.18fr;
  background: var(--sand);
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px 48px 0;
  gap: 0;
}
.hero-copy h1 { margin-bottom: 16px; max-width: 18ch; }
.hero-copy .lede {
  font-size: 1.12rem;
  color: #334155;
  max-width: 38em;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--sand-deep);
}
.hero-trust img.seal,
.hero-trust img.achc {
  height: 36px;
  width: auto;
}
.hero-trust img.achc { border-radius: 2px; }
.hero-trust .trust-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
  border: 0;
  line-height: 1.3;
}
.hero-photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 10%;
  position: absolute;
  inset: 0;
}

/* Services — continues the sand from the hero, 72px rhythm */
.services { background: transparent; padding: var(--space-section) 0; }
.section-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  max-width: 42rem;
}
.section-intro h2 { margin-bottom: 0; }
.section-intro p { color: #3d4754; font-size: 1.06rem; }

.service-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.service-card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
}
.service-card picture {
  display: block;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--sand-deep);
  flex-shrink: 0;
}
.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}
.service-card .body { padding: 18px 20px 22px; }
.service-card h3 { margin-bottom: 6px; color: var(--navy); }
.service-card p { color: #3f4a58; font-size: 0.98rem; }

.service-more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.service-plain {
  background: var(--paper);
  padding: 22px 26px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.service-plain h3 { margin-bottom: 6px; }
.service-plain p { color: #3f4a58; font-size: 0.98rem; }

/* Hospital / coming home */
.hospital { background: var(--sky); }
.hospital-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
}
.hospital-photo { min-height: 380px; position: relative; }
.hospital-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}
.hospital-copy {
  padding: var(--space-section) 56px var(--space-section) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hospital-copy p { color: #334155; }
.care-list {
  list-style: none;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.care-list li {
  padding-left: 18px;
  position: relative;
  color: var(--navy);
}
.care-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
}

/* What to expect */
.expect { background: var(--sand); padding: var(--space-section) 0 0; }
.expect-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}
.expect-grid > div:first-child {
  display: flex;
  flex-direction: column;
}
.expect-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}
.expect-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.expect-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}
.steps { list-style: none; display: grid; gap: 0; margin-top: 28px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { padding-bottom: 0; }
.step-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  padding-top: 2px;
}
.step h3 { margin-bottom: 4px; }
.step p { color: #3f4a58; }

/* About + office */
.about { background: var(--sand); padding: var(--space-section) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.about-copy,
.office-card {
  background: #fff;
  border-radius: 8px;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.about-bottom {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
.about-seals { display: flex; align-items: center; gap: 14px; }
.about-seals img.seal,
.about-seals img.achc { height: 64px; width: auto; }
.about-seals img.achc { border-radius: 3px; }
.about-copy p { color: #3f4a58; }
.office-card h2 { margin-bottom: 18px; }
.office-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 18px;
}
.office-details dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}
.office-details dd { margin: 0; color: var(--navy); font-weight: 500; }
.office-details a { color: var(--navy); text-decoration: none; font-weight: 600; }
.office-details a:hover { text-decoration: underline; }
.map-wrap {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 240px;
  background: var(--sky);
  display: block;
}
.map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.map-link { margin-top: 8px; font-size: 0.92rem; }

/* Testimonial */
.quote { background: var(--sky); padding: 0; }
.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
}
.quote-photo { position: relative; min-height: 320px; }
.quote-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.quote-copy {
  padding: var(--space-section) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-copy blockquote {
  margin: 12px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}
.quote-copy .attr { color: var(--muted); font-size: 0.95rem; }

/* Careers */
.careers { background: var(--sand); }
.careers-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}
.careers-photo { position: relative; min-height: 340px; }
.careers-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 12%;
}
.careers-copy {
  padding: var(--space-section) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}
.role-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 18px 0 22px;
}
.role-list li {
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--gold);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
}

/* Contact */
.contact { background: var(--white); padding: 0 0 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
.contact-panel {
  background: var(--navy);
  color: #e8eef4;
  padding: var(--space-section) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-panel h2 { color: #fff; }
.contact-panel p { color: #cfd8e3; }
.contact-facts { list-style: none; margin: 22px 0 0; display: grid; gap: 16px; }
.contact-facts li { color: #fff; }
.contact-facts .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 2px;
}
.contact-facts a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-facts a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--sand);
  padding: var(--space-section) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
form { display: grid; gap: 14px; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border: 1px solid #cfc8bc;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.form-success {
  display: none;
  background: #fff;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 500;
}
.form-success.is-visible { display: block; }
form.is-sent .form-fields { display: none; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c5d0dc;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.footer-brand p { font-size: 0.92rem; color: #c5d0dc; }
.site-footer h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; display: grid; gap: 7px; }
.site-footer a { color: #d5dee8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.85rem;
  color: #b7c4d3;
}
.placeholder-link { color: #b7c4d3; }

/* Mobile CTA bar */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--navy);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
}
.mobile-cta .btn { flex: 1; }

/* Responsive */
@media (max-width: 980px) {
  :root { --gutter: 20px; }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero {
    width: 100%;
  }
  .hero-copy {
    padding: 36px var(--gutter) 32px;
    order: 2;
  }
  .hero-photo {
    order: 1;
    min-height: 280px;
    height: 52vw;
    max-height: 400px;
  }
  .hero-copy h1 { max-width: none; }
  .section-intro,
  .service-photos,
  .service-more,
  .hospital-grid,
  .expect-grid,
  .about-grid,
  .quote-grid,
  .careers-grid,
  .contact-grid,
  .footer-grid,
  .office-details,
  .role-list,
  .form-row {
    grid-template-columns: 1fr;
  }
  .hospital-copy,
  .quote-copy,
  .careers-copy,
  .contact-panel,
  .contact-form-wrap {
    padding: var(--space-section-sm) 24px;
  }
  .hospital-photo,
  .quote-photo,
  .careers-photo { min-height: 300px; height: 56vw; max-height: 400px; }
  .hospital-photo img,
  .quote-photo img,
  .careers-photo img { position: absolute; }
  .expect-photo img { min-height: 280px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-main,
  .header-actions { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  :root { --gutter: 16px; }
  .header-inner { gap: 12px; min-height: 66px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name span { display: none; }

  .nav-main.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px 20px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-main.is-open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-main.is-open .mobile-only-cta {
    display: inline-flex;
    margin-top: 14px;
    width: 100%;
  }

  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: calc(36px + 72px + env(safe-area-inset-bottom, 0px)); }

  .services, .expect, .about, .section { padding: var(--space-section-sm) 0; }
  .service-card img { height: 200px; }
  .about-copy, .office-card { padding: 28px 22px; }
  .map-wrap { height: 220px; }
}

@media (min-width: 761px) {
  .mobile-only-cta { display: none !important; }
}

.office-email { grid-column: 1 / -1; }

/* ---------- Multi-page additions ---------- */
.nav-main a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--gold);
  padding-bottom: 2px;
}

/* Inner page hero */
.page-hero {
  background: var(--sand);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero.page-hero-split {
  padding: 0;
  background: var(--sand);
}
.page-hero-split .wrap-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 300px;
}
.page-hero-copy {
  padding: 48px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40rem;
}
.page-hero-copy.contained {
  padding: 0;
  max-width: none;
}
.page-hero .lede { font-size: 1.12rem; color: #334155; max-width: 40em; }
.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.crumbs a { color: var(--navy-mid); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: var(--line);
}
.page-hero-photo { position: relative; min-height: 260px; }
.page-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prose (about, services, legal) */
.prose { max-width: 44rem; }
.prose p, .prose li { color: #3f4a58; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0 0 0.4em; }
.prose h2 { margin-top: 1.4em; }
.section { padding: var(--space-section) 0; }
.page-hero + .section { padding-top: 56px; }
.section-sand { background: var(--sand); }
.section-sky { background: var(--sky); }
.section-navy { background: var(--navy); color: #e8eef4; }
.section-navy h2, .section-navy h1 { color: #fff; }
.section-navy p { color: #cfd8e3; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: start;
}
.card-plain {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
}
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.cta-band p { margin: 0; max-width: 38em; }

/* Service cards as links */
a.service-card, a.service-plain {
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.service-card:hover, a.service-plain:hover {
  box-shadow: var(--shadow);
  color: inherit;
}
a.service-card .more, a.service-plain .more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--navy-mid);
  font-size: 0.95rem;
}

/* Related services list */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.related a:hover { box-shadow: var(--shadow-soft); }
.related a span {
  display: block;
  font-weight: 400;
  color: #3f4a58;
  margin-top: 4px;
  font-size: 0.95rem;
}

/* Placeholder / legal */
.legal-banner {
  background: #f8efe6;
  border-left: 4px solid var(--gold);
  padding: 18px 20px;
  margin-bottom: 28px;
  color: var(--navy);
}
.legal-banner strong { color: var(--danger-note); }

/* Form extras */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field-error {
  color: #8a2b12;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}
.field-error.is-visible { display: block; }
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: #8a2b12;
}
.form-error {
  display: none;
  background: #fdeceb;
  border-left: 3px solid #8a2b12;
  padding: 12px 14px;
  color: var(--navy);
}
.form-error.is-visible { display: block; }
.form-success.is-visible { display: block; }
.form-help { font-size: 0.88rem; color: var(--muted); font-weight: 400; }

/* 404 */
.page-404 { padding: 64px 0 72px; text-align: left; }
.page-404 h1 { max-width: 18ch; }
.page-404 .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Quote placeholder (no invented review) */
.quote-placeholder {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  .page-hero-split .wrap-split,
  .two-col,
  .related { grid-template-columns: 1fr; }
  .page-hero-split .wrap-split { width: 100%; }
  .page-hero-copy { padding: 36px var(--gutter) 32px; max-width: none; }
  .page-hero-photo { min-height: 220px; height: 48vw; max-height: 340px; }
  .section, .services, .expect, .about { padding: var(--space-section-sm) 0; }
  .page-hero + .section { padding-top: var(--space-section-sm); }
  .page-hero { padding: 36px 0 32px; }
}


/* Confirm/placeholder notes on dark backgrounds need higher contrast */
.accredit .note,
.site-footer .note,
.section-navy .note,
.contact-panel .note {
  color: #f3d19a;
}


/* Last service card fills the leftover row so the grid is not empty on the right */
.service-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  align-items: stretch;
}
.service-card-wide picture {
  height: auto;
  min-height: 240px;
  align-self: stretch;
}
.service-card-wide picture img,
.service-card-wide img {
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.service-card-wide .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}
@media (max-width: 760px) {
  .service-card-wide {
    grid-template-columns: 1fr;
  }
  .service-card-wide picture,
  .service-card-wide picture img,
  .service-card-wide img {
    height: 230px;
    min-height: 230px;
  }
}


@media (max-width: 1280px) {
  .nav-main { gap: 16px; }
  .header-actions { gap: 12px; }
  .header-inner { gap: 18px; }
  .hero-copy { padding-right: 28px; }
  .page-hero-copy { padding-right: 28px; }
}

@media (max-width: 1100px) {
  .nav-main { gap: 12px; }
  .nav-main a { font-size: 0.92rem; }
  .header-phone { font-size: 0.95rem; }
  .brand-name strong { font-size: 0.95rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .related { grid-template-columns: 1fr 1fr; }
  .hospital-copy,
  .quote-copy,
  .careers-copy { padding-left: 36px; padding-right: 36px; }
}
