
:root {
  --green: #008000;
  --green-700: #008000;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --accent: #f1f5f9;
  --ring: rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1400px, 95%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: static; width: auto; height: auto; padding: .5rem .75rem; background: #fff; border: 2px solid var(--green-700); border-radius: .5rem;
}

.site-header {
  background: var(--green);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px var(--ring);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 0;
}
.brand { display: flex; flex-direction: column; line-height: 1; gap: .2rem; color: #fff; text-decoration: none; }
.brand-title { font-weight: 700; font-size: 1.125rem; letter-spacing: .2px; }
.brand-subtitle { font-size: .85rem; opacity: .95; }

/* === No underline/highlight on brand link === */
.brand, .brand:hover, .brand:focus { text-decoration: none; }
.brand:focus-visible { outline: 2px solid rgba(255,255,255,.95); outline-offset: 3px; text-decoration: none; }

.nav-toggle {
  background: transparent; border: 0; cursor: pointer; display: none; padding: .5rem; border-radius: .5rem;
}
.nav-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

.nav ul { list-style: none; display: flex; gap: 0.75rem; padding: 0; margin: 0; flex-wrap: nowrap; }
.nav a { color: #fff; font-weight: 600; padding: .5rem .75rem; border-radius: .5rem; display: inline-block; white-space: nowrap; }
/* Smaller fonts + tighter padding for specific links at desktop */
@media (min-width: 901px) {
  .nav a[href$="about.html"],
  .nav a[href$="services.html"],
  .nav a[href$="locations.html"],
  .nav a[href$="insurance.html"],
  .nav a[href$="patient-portal.html"],
  .nav a[href$="provider-portal.html"],
  .nav a[href$="pay-a-bill.html"],
  .nav a[href$="careers.html"],
  .nav a[href$="contact-us.html"] {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
    letter-spacing: 0.1px;
  }
}
.nav a:hover { background: transparent; color: rgba(255,255,255,.85); text-decoration: none; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.18); text-decoration: none; }

.hero {
  display: grid; gap: 1.25rem; padding: 2.5rem 0 1.5rem;
}
.hero h1 { font-size: clamp(1.8rem, 2.8vw + 1rem, 2.75rem); margin: 0; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 64ch; }

.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1rem; box-shadow: 0 4px 12px var(--ring);
}
.card h3 { margin-top: 0; }

.cta {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--green); color: #fff; padding: .75rem 1rem; border-radius: .75rem; border: 0; cursor: pointer; font-weight: 700;
}
.cta:hover { filter: brightness(0.95); text-decoration: none; }

.section { padding: 1rem 0 2rem; }
.section h2 { margin-bottom: .5rem; }
.muted { color: var(--muted); }

.site-footer { border-top: 1px solid #e5e7eb; margin-top: 2rem; background: #fff; }
.footer-inner { padding: 1.1rem 0; display: grid; gap: .6rem; }
.footer-row-1 { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; }
.footer-left { color: var(--muted); }
.footer-right { color: var(--muted); }
.footer-row-2 { text-align: center; }
.footer-links a { color: var(--muted); font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: var(--text); }
.footer-row-3 { text-align: center; }
.footer-row-3 .small { color: var(--muted); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; top: 100%; right: 0; left: 0; background: var(--green); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; border-radius: 0; padding: 1rem; }
  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  .footer-row-1 { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
}

/* === Nav link hover fade === */
.nav a { transition: color .2s ease; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.18); text-decoration: none; }
.nav a[aria-current="page"]:hover { color: #fff; } /* keep active link crisp on hover */


/* === Taller header overrides === */
.site-header .header-inner { padding: 1.15rem 0; }
@media (max-width: 768px) {
  .site-header .header-inner { padding: 0.9rem 0; }
}


/* === Brand title size adjustments === */
.brand-title { font-size: 1.35rem; } /* desktop & general */
@media (max-width: 768px) {
  .brand-title { font-size: 1.1rem; } /* slightly larger than before on mobile */
}


/* === Brand subtitle size bump + center === */
.brand-subtitle { font-size: 0.95rem; text-align: center; align-self: center; }
@media (max-width: 768px) {
  .brand-subtitle { font-size: 0.9rem; }
}

