/* Gateway Wound Care - site.css (v4) */
:root {
  --bg: #FBF7EE;          /* cream */
  --surface: #FFFFFF;
  --surface-warm: #F4EFE3;
  --surface-alt: #F5F1E7;
  --surface-accent: #E5EEF1;
  --border: #DDD6C6;
  --border-soft: #EBE6D8;
  --text: #0E2330;
  --text-muted: #4D5E6B;
  --accent: #0C3A5A;        /* navy */
  --accent-deep: #082B48;
  --accent-hover: #103E61;
  --accent-soft: #D5E2EA;
  --teal: #2D848E;
  --teal-soft: #C9E0E3;
  --gold: #B88A3B;
  --gold-soft: #F0E5CC;
  --radius: 10px;
  --radius-btn: 6px;
  --container: 1180px;
  --shadow-sm: 0 1px 2px rgba(20,30,40,0.05);
  --shadow-md: 0 4px 14px rgba(20,30,40,0.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--text); margin: 0 0 16px; line-height: 1.2; letter-spacing: -0.01em; }
h1, h2 { font-family: 'DM Sans', 'Inter', sans-serif; font-weight: 700; }
h3, h4 { font-family: 'Inter', sans-serif; font-weight: 600; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.text-muted, .footer-muted { color: var(--text-muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 12px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Utility bar — dark navy strip, address front and center */
.utility-bar { background: var(--accent-deep); color: #E8ECEE; font-size: 14px; }
.utility-bar a { color: #fff; }
.utility-bar a:hover { color: var(--accent-soft); }
.utility-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 16px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px;
}
.utility-bar-addr { color: #D7DCE0; }
.utility-bar-phones { display: flex; gap: 14px; align-items: center; }
.utility-bar-note { color: #9FAFB8; font-size: 12px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; color: var(--text); }
.brand-mark { display: inline-flex; color: var(--accent); width: 40px; height: 40px; }
.logo-mark { width: 100%; height: 100%; display: block; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand-tagline { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.primary-nav { display: none; align-items: center; gap: 4px; }
.nav-link {
  color: var(--text); padding: 10px 14px;
  font-weight: 500; font-size: 15px; border-radius: 6px;
}
.nav-link:hover { background: var(--surface-alt); color: var(--text); text-decoration: none; }
.nav-link.is-active { color: var(--accent); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center;
  width: 44px; height: 44px; padding: 10px; background: transparent;
  border: 1px solid var(--border); border-radius: 6px; cursor: pointer; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--radius-btn);
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--accent-hover); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #A37A2F; border-color: #A37A2F; color: #fff; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn { min-height: 44px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--surface-warm); }
.section-cool { background: var(--surface-accent); }
.section-lede { font-size: 19px; color: var(--text-muted); max-width: 720px; margin-bottom: 24px; }

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  h3 { font-size: 21px; }
}

/* Eyebrow — gold accent with hairline */
.eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold);
  margin: 0 0 14px;
  display: inline-block; position: relative; padding-bottom: 4px;
}
.eyebrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px;
  background: var(--gold);
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 92% 18%, rgba(45,132,142,0.10) 0%, rgba(45,132,142,0) 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-warm) 100%);
  padding: 64px 0 56px; border-bottom: 1px solid var(--border-soft);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-lede { font-size: 19px; color: var(--text-muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero-tertiary { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.hero-visual { display: none; }
.hero-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 28px; color: var(--text);
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.hero-card-eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.hero-card h3 { font-size: 17px; margin: 0; }
.hero-card-row { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.dot-accent { background: var(--accent); box-shadow: 0 0 0 3px rgba(12,58,90,0.18); }
.dot-teal { background: var(--teal); box-shadow: 0 0 0 3px rgba(45,132,142,0.18); }
.dot-muted { background: #B7C5C2; }
.hero-card-foot { border-top: 1px solid var(--border-soft); padding-top: 14px; font-size: 13px; color: var(--text-muted); }

@media (min-width: 900px) {
  .hero { padding: 96px 0 80px; }
  .hero-inner { grid-template-columns: 6fr 4fr; gap: 56px; }
  .hero-visual { display: block; }
  .hero-text h1 { font-size: 54px; }
}
@media (max-width: 540px) {
  .hero-text h1 { font-size: 34px; }
}

/* Trust grid */
.trust-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.trust-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.trust-card h3 { font-size: 17px; margin-bottom: 6px; }
.trust-card p { color: var(--text-muted); margin: 0; font-size: 15px; }

/* Feature grid */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.feature-card h3 { color: var(--accent); }
.feature-card p { color: var(--text-muted); margin: 0; }

/* Link grids */
.link-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.cards-grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.cards-grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
}

.link-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; color: var(--text);
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
  position: relative; box-shadow: var(--shadow-sm);
}
.link-card:hover { border-color: var(--accent); text-decoration: none; color: var(--text); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.link-card h3 { color: var(--accent); margin-bottom: 6px; }
.link-card p { color: var(--text-muted); margin: 0; font-size: 15px; }
.link-arrow {
  position: absolute; top: 24px; right: 20px;
  color: var(--accent); font-size: 18px; font-weight: 600;
}
.link-grid-more { margin-top: 18px; text-align: right; }
.link-more {
  display: inline-block; font-weight: 600; color: var(--accent-deep);
  text-decoration: none; border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.link-more:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Hiring block — gold-accented, prominent */
.hiring-section {
  background: linear-gradient(180deg, var(--surface-warm) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.hiring-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-md);
}
.hiring-card .eyebrow { color: var(--gold); }
.hiring-card h2 { font-size: 30px; margin-bottom: 10px; }
.hiring-roles {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px;
}
.role-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.role-chip .role-abbr { color: var(--gold); font-weight: 700; }
.hiring-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hiring-card .hiring-line { font-size: 17px; color: var(--text); margin: 0; }

/* Locations card on home */
.location-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .location-card { grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
}
.location-card h3 { color: var(--accent); margin-bottom: 8px; }
.location-card .addr { font-size: 17px; color: var(--text); margin-bottom: 12px; }
.location-card .addr-meta { color: var(--text-muted); font-size: 15px; margin-bottom: 4px; }
.location-map iframe { width: 100%; height: 280px; border: 0; border-radius: 8px; }

/* Service area / county grid */
.county-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.county-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.county-card h3 { color: var(--accent); margin-bottom: 12px; }
.county-card h3 a { color: var(--accent); }
.city-list { list-style: none; padding: 0; margin: 0; }
.city-list li { margin-bottom: 6px; }

/* Split grids */
.split-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* Lists */
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { margin-bottom: 8px; padding-left: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* Partner band */
.section-partner { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-inner { display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .partner-inner { grid-template-columns: 2fr 1fr; gap: 56px; } }

/* CTA band */
.cta-band { background: var(--accent-deep); color: #fff; padding: 56px 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #C9D9E2; margin: 0; }
.cta-band-inner { display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--surface-warm); color: var(--accent-deep); border-color: var(--surface-warm); }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 2fr 1fr; gap: 56px; } }

/* Breadcrumb */
.breadcrumb { margin-bottom: 16px; font-size: 14px; color: var(--text-muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* Long-form */
.long-form { max-width: 760px; }
.long-form h2 { margin-top: 32px; }
.long-form h2:first-child { margin-top: 0; }
.long-form p { font-size: 17px; color: var(--text); }

/* Contact */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
}
.contact-side {
  background: var(--surface); border: 1px solid var(--border);
  padding: 28px; border-radius: var(--radius);
}
.contact-side h2 { font-size: 22px; margin-bottom: 16px; }
.contact-side .contact-row { margin-bottom: 14px; }
.contact-side .contact-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); font-weight: 600; margin-bottom: 2px;
}
.contact-side .contact-value { font-size: 16px; color: var(--text); }
.contact-side iframe { width: 100%; height: 260px; border: 0; border-radius: 8px; margin-top: 14px; }

.phi-warning {
  background: #FBF6E8; border: 1px solid #E2D9B8; border-left: 4px solid var(--gold);
  padding: 16px 18px; border-radius: 6px; margin-bottom: 24px;
}
.phi-warning h3 { margin-top: 0; margin-bottom: 6px; color: #6F5612; font-size: 16px; }
.phi-warning p { margin: 0; font-size: 15px; color: #6F5612; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); min-height: 44px; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-note { padding: 12px 14px; border-radius: 6px; background: var(--accent-soft); color: var(--text); font-size: 15px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 4px 18px;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 17px; }
.faq-item summary::after {
  content: "+"; color: var(--accent); font-weight: 600; font-size: 22px;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 18px; color: var(--text-muted); }
.faq-answer p { margin: 0; }

/* Role cards (careers) */
.role-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.role-card {
  background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.role-card .role-abbrev {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px;
}
.role-card h3 { color: var(--accent); margin-bottom: 14px; }
.role-card ul { padding-left: 20px; color: var(--text-muted); }
.role-card .role-apply { margin-top: 16px; }

/* Footer */
.site-footer {
  background: var(--accent-deep); color: #C9D6DF;
  padding: 64px 0 32px; margin-top: 64px;
}
.site-footer a { color: #E8ECEF; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1.4fr 1fr 1.2fr; } }
.footer-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: #fff; margin-bottom: 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-col-brand .brand-name { color: #fff; }
.footer-blurb { color: #B7C4CC; font-size: 14px; margin-bottom: 16px; max-width: 360px; }
.footer-addr { font-size: 14px; line-height: 1.6; margin-bottom: 14px; color: #D4DCE2; }
.footer-addr strong { color: #fff; }
.footer-phones { font-size: 14px; line-height: 1.8; }
.footer-muted { color: #8E99A1; }
.hiring-strip-footer {
  background: rgba(184,138,59,0.12);
  border: 1px solid rgba(184,138,59,0.35);
  border-radius: 8px; padding: 16px;
  font-size: 14px; color: #F0E5CC;
}
.hiring-strip-footer strong { color: #fff; display: block; margin-bottom: 4px; }
.hiring-strip-footer a { color: #F0E5CC; text-decoration: underline; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column; gap: 6px; font-size: 13px;
}
.footer-nap { font-size: 13px; color: #B7C8D0; }
.site-footer .footer-muted { color: #8FA0A8; }

/* Service area highlight */
.area-highlight {
  background: var(--surface-accent); border: 1px solid var(--accent-soft);
  border-radius: var(--radius); padding: 28px; margin-top: 24px;
}
.area-highlight h3 { color: var(--accent); margin-bottom: 8px; }

/* Mobile nav drawer */
@media (max-width: 979px) {
  .primary-nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--surface); z-index: 60;
    flex-direction: column; align-items: stretch;
    padding: 80px 24px 32px; gap: 4px; display: none; overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .nav-link { padding: 16px 8px; border-bottom: 1px solid var(--border-soft); border-radius: 0; font-size: 17px; min-height: 44px; display: flex; align-items: center; }
  .nav-cta { margin: 16px 0 0; width: 100%; text-align: center; justify-content: center; min-height: 48px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 720px) {
  .utility-bar-inner { font-size: 13px; }
  .utility-bar-note { display: none; }
}
