/* Premier Nursing Group — site styles */
:root {
  --ink: #14242b;
  --ink-soft: #3d5159;
  --muted: #5f727a;
  --line: #d7e2e6;
  --paper: #f7fafb;
  --white: #ffffff;
  --teal: #0f5c6b;
  --teal-deep: #0a3f4a;
  --teal-soft: #e6f3f5;
  --coral: #c94a4a;
  --coral-soft: #f8eaea;
  --shadow: 0 18px 50px rgba(15, 40, 48, 0.08);
  --radius: 18px;
  --max: 1120px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  background: var(--teal);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 226, 230, 0.9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  height: 68px;
  width: auto;
  max-width: min(420px, 64vw);
  object-fit: contain;
  display: block;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--teal-deep);
  background: var(--teal-soft);
}

.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  margin-left: 0.35rem;
}

.nav-cta:hover {
  background: var(--teal-deep) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* Hero */
.hero {
  padding: 0.5rem 0 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(15, 92, 107, 0.12), transparent 32%),
    linear-gradient(180deg, #eef6f7 0%, var(--paper) 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--coral);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 1rem;
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

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

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

.btn-secondary {
  background: white;
  color: var(--teal-deep);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-row strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-card {
  background: white;
  border: 1px solid rgba(215, 226, 230, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  overflow: hidden;
}

.hero-visual {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background: #d9ebef;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.hero-card p {
  margin: 0;
  color: var(--ink-soft);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.stat {
  background: var(--paper);
  border-radius: 16px;
  padding: 0.9rem;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--teal-deep);
  margin-bottom: 0.15rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.05rem;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.services-banner {
  margin: 0 0 1.25rem;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 10px 30px rgba(15, 40, 48, 0.04);
}

.services-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.service-card {
  padding: 1.4rem 1.35rem 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 40, 48, 0.04);
}

.service-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: 1rem;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.split-copy,
.split-aside {
  padding: 1.75rem;
}

.split-aside {
  background:
    linear-gradient(160deg, rgba(15, 92, 107, 0.95), rgba(10, 63, 74, 0.98));
  color: white;
  border-radius: var(--radius);
}

.split-aside h2,
.split-aside p {
  color: white;
}

.split-aside p {
  opacity: 0.92;
}

.split-aside ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.aside-photo {
  margin: 1.35rem 0 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.aside-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.split-aside li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.split-aside li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #8fd4df;
  margin-top: 0.45rem;
  flex: 0 0 auto;
}

.meds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.area {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonials {
  padding: 4rem 0;
  background:
    radial-gradient(circle at top left, rgba(15, 92, 107, 0.08), transparent 34%),
    linear-gradient(180deg, #eef6f7 0%, var(--paper) 70%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.testimonial {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 40, 48, 0.04);
  padding: 1.4rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
}

.testimonial-featured {
  grid-row: 1 / span 2;
  padding: 1.7rem 1.6rem 1.4rem;
  background:
    linear-gradient(165deg, rgba(15, 92, 107, 0.06), transparent 42%),
    white;
}

.testimonial p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.testimonial-featured p {
  font-size: 1.12rem;
  color: var(--ink);
}

.testimonial p::before {
  content: "“";
  color: var(--teal);
  font-family: var(--display);
  font-size: 1.6em;
  line-height: 0;
  margin-right: 0.12em;
  vertical-align: -0.15em;
}

.testimonial footer {
  display: grid;
  gap: 0.15rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--teal-deep);
}

.testimonial footer span {
  color: var(--muted);
  font-size: 0.9rem;
}

.area-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}

.contact-card,
.form-card {
  padding: 1.6rem;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-list a,
.contact-list strong {
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 700;
}

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

form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(15, 92, 107, 0.18);
  border-color: var(--teal);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(circle at top left, rgba(15, 92, 107, 0.1), transparent 28%),
    linear-gradient(180deg, #eef6f7 0%, var(--paper) 80%);
}

.page-hero h1 {
  max-width: 16ch;
}

.content-block {
  padding: 0 0 4rem;
}

.prose {
  max-width: 46rem;
}

.prose p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.prose p + p {
  margin-top: 1rem;
}

.checklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  color: var(--ink-soft);
}

.checklist strong {
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 1.75rem;
}

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

.site-footer a {
  color: white;
}

.site-footer h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.3rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .services-grid,
  .split,
  .area-inner,
  .contact-grid,
  .footer-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-featured {
    grid-row: auto;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 1.25rem;
    left: 1.25rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav-cta {
    margin: 0;
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    position: relative;
  }

  .brand-tag {
    display: none;
  }

  .brand-logo {
    height: 56px;
    max-width: min(300px, 68vw);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
