/* Walk-In MD Urgent Care — Wicked Fast Web */
:root {
  --paper: #fbfaf6;
  --paper-2: #f1efe7;
  --sky: #1597d6;
  --sky-pale: #d9eefa;
  --sky-d: #0a5c8c;
  --red: #d81f3a;
  --red-d: #b3162e;
  --ink: #0d2238;
  --muted: #4a5c70;
  --line: rgba(13, 34, 56, .16);
  --f-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ecg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40' viewBox='0 0 240 40'%3E%3Cpath d='M0 22H70l8-4 6 4h8l8-18 10 34 8-16h8l6-4 6 4H240' fill='none' stroke='%230d2238' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
  --ecg-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40' viewBox='0 0 240 40'%3E%3Cpath d='M0 22H70l8-4 6 4h8l8-18 10 34 8-16h8l6-4 6 4H240' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.08rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
section[id], #top { scroll-margin-top: 120px; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: .005em;
  color: var(--ink);
}
a { color: var(--sky-d); }
a:hover { color: var(--red-d); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn-wfm {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: .7rem 1.5rem;
  border: 3px solid var(--ink);
  line-height: 1.1;
}
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover, .btn-red:focus { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover, .btn-line:focus { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus { background: #fff; color: var(--ink); }

/* ---------- Utility bar + navbar ---------- */
.utility {
  background: var(--ink);
  color: #fff;
  font-size: .92rem;
  padding: .35rem 0;
}
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--sky-pale); }
.utility .sep { opacity: .4; margin: 0 .6rem; }
.site-nav {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  padding: .6rem 0;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: 1.7rem; line-height: 1; letter-spacing: .01em;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 38px; flex: none; }
.brand small {
  display: block; font-size: .8rem; letter-spacing: .22em; color: var(--red); font-weight: 600;
}
.site-nav .nav-link {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  font-size: 1.12rem; letter-spacing: .05em; color: var(--ink); padding: .4rem .7rem;
}
.site-nav .nav-link:hover { color: var(--red); }
.navbar-toggler { border: 3px solid var(--ink); border-radius: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 0; overflow: hidden; }
.hero-title {
  font-size: clamp(3.6rem, 10.5vw, 8.6rem);
  line-height: .86;
  margin: 0 0 1.2rem;
}
.hero-title span { color: var(--sky-d); display: block; }
.hero-lede { font-size: 1.3rem; max-width: 34rem; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-photo { position: relative; max-width: 460px; margin-inline: auto; }
.arch {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 14px 14px;
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--sky);
}
.sticker {
  position: absolute; left: -14px; bottom: 34px;
  background: var(--red); color: #fff;
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  padding: .7rem 1rem; line-height: 1;
  border: 3px solid var(--ink); border-radius: 6px;
  transform: rotate(-5deg);
  font-size: 1.35rem; letter-spacing: .03em;
}
.sticker small { display: block; font-size: .95rem; font-weight: 600; letter-spacing: .08em; }
.ecg-line {
  height: 40px;
  background: var(--ecg) repeat-x left center / 240px 40px;
  margin-top: 2.5rem;
}
.ecg-line.light { background-image: var(--ecg-light); margin: 0; }

/* ---------- Hours board ---------- */
.board { background: var(--sky); color: var(--ink); padding: 4rem 0; }
.board h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.big-hours {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(7rem, 20vw, 13rem);
  line-height: .8; letter-spacing: -.02em; color: #fff;
  text-shadow: 6px 6px 0 var(--ink);
  margin: 0;
}
.big-hours small {
  display: block; font-size: 1.5rem; letter-spacing: .08em; text-shadow: none;
  color: var(--ink); margin-top: 1rem; line-height: 1.25;
}
.loc-card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 10px;
  padding: 1.5rem 1.6rem; height: 100%;
  box-shadow: 8px 8px 0 var(--ink);
}
.loc-card h3 { font-size: 2.2rem; margin-bottom: .4rem; }
.loc-card address { margin: 0 0 .8rem; font-style: normal; color: var(--muted); }
.loc-card .phone {
  font-family: var(--f-head); font-weight: 700; font-size: 2rem; letter-spacing: .02em;
  text-decoration: none; color: var(--red-d); display: inline-block; line-height: 1.1;
}
.hours-list { list-style: none; padding: 0; margin: .8rem 0 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); padding: .35rem 0; font-weight: 500;
}
.hours-list li span:last-child { font-weight: 700; }

/* ---------- Section scaffolding ---------- */
.section { padding: 5rem 0; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .8rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* ---------- What we treat ---------- */
.treat-list { list-style: none; padding: 0; margin: 0; }
.treat-list li {
  padding: .5rem 0 .5rem 1.6rem; position: relative;
  border-bottom: 1px solid var(--line);
}
.treat-list li::before {
  content: ""; position: absolute; left: 0; top: .95rem;
  width: 10px; height: 10px; background: var(--red); border-radius: 50%;
}
.treat-col h3 { font-size: 2.2rem; margin-bottom: .6rem; border-bottom: 4px solid var(--ink); padding-bottom: .3rem; }

/* ---------- Services index ---------- */
.index { border-top: 3px solid var(--ink); }
.index details { border-bottom: 3px solid var(--ink); }
.index summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem .25rem;
}
.index summary::-webkit-details-marker { display: none; }
.index summary:hover .svc-name { color: var(--red-d); }
.svc-name {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1;
}
.svc-tag { color: var(--muted); font-size: 1rem; display: block; font-family: var(--f-body); font-weight: 500; text-transform: none; margin-top: .2rem; }
.index summary::after {
  content: "+"; flex: none;
  font-family: var(--f-head); font-weight: 700; font-size: 2.4rem; line-height: 1;
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 3px solid var(--ink); border-radius: 50%;
  transition: transform .2s, background .2s;
}
.index details[open] summary::after { content: "–"; background: var(--sky); }
.svc-body { padding: .5rem .25rem 2.2rem; }
.svc-body .arch { max-width: 340px; }
.svc-body h4 { font-size: 1.5rem; margin: 1.1rem 0 .4rem; }
.svc-body ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.svc-body li { margin-bottom: .25rem; }

/* ---------- Employer ---------- */
.employers { background: var(--paper-2); }
.emp-card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 10px;
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
}
.emp-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--ink); display: block; }
.emp-card .emp-body { padding: 1.3rem 1.5rem 1.6rem; }
.emp-card h3 { font-size: 2rem; margin-bottom: .5rem; }
.emp-card ul { padding-left: 1.2rem; margin: 0; }
.emp-card li { margin-bottom: .2rem; }
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 3px solid var(--ink); border-radius: 10px; background: var(--ink); color: #fff; overflow: hidden;
}
.stat-strip div { padding: 1.1rem 1.2rem; border-right: 1px solid rgba(255,255,255,.25); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { display: block; font-family: var(--f-head); font-size: 2rem; line-height: 1; text-transform: uppercase; color: var(--sky-pale); }

/* ---------- About ---------- */
.about-photos { position: relative; }
.about-photos .arch { max-width: 420px; }
.about-photos .inset {
  position: absolute; right: 0; bottom: -2rem; width: 46%;
  aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--red);
}

/* ---------- Insurance ---------- */
.insurance { background: var(--ink); color: #fff; }
.insurance h2 { color: #fff; }
.insurance .section-head p { color: #cbd9e6; }
.plans { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.plans li {
  border: 2px solid rgba(255,255,255,.55); border-radius: 999px;
  padding: .35rem 1rem; font-weight: 600; font-size: 1.02rem;
}

/* ---------- Book + pay band ---------- */
.book { background: var(--red); color: #fff; padding: 4rem 0; }
.book h2 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); }
.book p { color: #fff; font-size: 1.15rem; }
.book .btn-wfm { border-color: #fff; }
.book .btn-white { background: #fff; color: var(--red-d); }
.book .btn-white:hover, .book .btn-white:focus { background: var(--ink); border-color: var(--ink); color: #fff; }
.book .btn-ghost { background: transparent; color: #fff; }
.book .btn-ghost:hover, .book .btn-ghost:focus { background: #fff; color: var(--red-d); }
.book .arch { box-shadow: 12px 12px 0 var(--ink); border-color: #fff; max-width: 380px; margin-inline: auto; }

/* ---------- Jobs ---------- */
.job-list { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--ink); }
.job-list li {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.1;
  padding: .8rem .25rem; border-bottom: 3px solid var(--ink);
}

/* ---------- Locations ---------- */
.locations { background: var(--sky-pale); }
.map-wrap { border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; margin-top: 1.2rem; box-shadow: 8px 8px 0 var(--ink); }
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }
.contact-line { display: flex; gap: .7rem; align-items: baseline; margin: .3rem 0; }
.contact-line i { color: var(--red-d); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #dbe6f0; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sky-pale); }
.site-footer h3 { color: #fff; font-size: 1.5rem; margin-bottom: .6rem; }
.logo-chip { background: var(--paper); border-radius: 10px; padding: .8rem 1rem; display: inline-block; }
.logo-chip img { width: 240px; display: block; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.2); margin-top: 2.2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .95rem;
}
.powered { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: 1rem 0; }
  .hero { padding-top: 2rem; }
  .section { padding: 3.5rem 0; }
  .sticker { left: 0; }
}
@media (max-width: 575.98px) {
  body { font-size: 1.02rem; }
  .utility { font-size: .82rem; }
  .utility .sep { margin: 0 .3rem; }
  .brand { font-size: 1.35rem; }
  .brand-mark { width: 36px; height: 31px; }
  .arch { box-shadow: 9px 9px 0 var(--sky); }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .about-photos .inset { width: 40%; bottom: -1.5rem; }
  .hero-cta .btn-wfm { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
