/* Eneljay Nursing Staffing — site styles */
:root {
  --teal: #3d6b73;
  --teal-dark: #2f555c;
  --teal-soft: #5a8a92;
  --slate: #4a5560;
  --charcoal: #2c3338;
  --cream: #f7f5f1;
  --cream-dark: #ebe7df;
  --white: #ffffff;
  --border: #d8d4cc;
  --muted: #6b7280;
  --max: 1080px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(44, 51, 56, 0.08);
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
}

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

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal);
}

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--charcoal);
}

.logo-link:hover {
  color: var(--teal-dark);
}

.logo-mark {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
  letter-spacing: 0.01em;
}

@media (max-width: 719px) {
  .logo-mark {
    height: 34px;
  }

  .logo-text {
    font-size: 0.95rem;
    max-width: 9.5rem;
  }
}

.nav-toggle {
  display: none;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-family: inherit;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem 1rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--white) 0%, var(--cream) 55%, var(--cream-dark) 100%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-logo {
  max-width: 420px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

.hero .subline {
  font-size: 1.15rem;
  color: var(--slate);
  margin: 0 0 1.75rem;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.section h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--teal-dark);
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 40em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.section-alt .card {
  background: var(--cream);
}

.card p:last-child {
  margin-bottom: 0;
}

.list-clean {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.list-clean li {
  margin-bottom: 0.4rem;
}

.list-clean li::marker {
  color: var(--teal);
}

/* Page intro (inner pages) */
.page-intro {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.page-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.15rem);
  font-weight: 400;
  margin: 0 0 0.6rem;
  color: var(--charcoal);
}

.page-intro .lead {
  margin: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-details dt {
  font-weight: 600;
  color: var(--teal-dark);
  margin-top: 1rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.25rem 0 0;
  color: var(--slate);
}

.placeholder {
  font-style: italic;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}

.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  background: var(--cream);
  color: var(--charcoal);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.error {
  background: #fde8e8;
  color: #8b2e2e;
  border: 1px solid #e8b4b4;
}

.form-status.ok {
  background: #e8f2f0;
  color: var(--teal-dark);
  border: 1px solid #b8d4cf;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #c8cdd2;
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}

.site-footer a {
  color: #d4ebe8;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-acn {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.4rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-heading {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid #4a5258;
  padding-top: 1.1rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}


/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-muted {
  color: var(--muted);
}

/* Responsive */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
  }

  .hero-logo {
    margin: 0;
  }
}

@media (max-width: 719px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--cream-dark);
  }

  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--cream-dark);
    background: var(--cream);
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
