/* A patient-access design with direct routes to booking, waitlist and forms. */
:root {
  --accent: #184e91;
  --accent-strong: #123a72;
  --ink: #142d51;
  --muted: #445d78;
  --canvas: #f5f8fc;
  --soft: #e8f1fe;
  --line: #d3e0ef;
  --line-strong: #89a6c9;
  --focus: #3574bf;
  --announce: #e9f2fe;
  --tint: #f5f8fc;
  --utility: #10294e;
  --utility-ink: #f6faff;
  --footer: #10294e;
  --footer-ink: #f1f6ff;
  --radius: 14px;
  --small-radius: 7px;
  --space: clamp(31px,4.5vw,57px);
}
.home-intro {
  color: white;
  background: radial-gradient(ellipse at 94% 8%, #235385 0%, transparent 62%), #10294e;
}
.hero-inner { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: clamp(24px,7vw,102px); align-items: center; }
.hero-copy h1 { font-size: clamp(43px,6.2vw,85px); line-height: .98; letter-spacing: -.06em; }
.hero-lead { color: #e2edfc; }
.hero-copy .walkin-status { background: #1c426d; color: #fff; border-color: #6e91bd; }
.hero-copy .underlink { color: #e9f4ff; }
.access-panel {
  background: white; color: var(--ink); border: 1px solid #c5d7f1;
  padding: clamp(16px,2.6vw,29px); border-radius: 17px;
}
.access-panel h2 { font-size: clamp(22px,3vw,31px); margin-bottom: 15px; }
.access-links { display: grid; gap: 8px; }
.access-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 47px;
  padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--small-radius);
  color: var(--ink); text-decoration: none; font-size: .91rem; font-weight: 700;
}
.access-links a:first-child { color: white; background: var(--accent); border-color: var(--accent); }
.access-links a:hover { color: white; background: var(--accent-strong); border-color: var(--accent-strong); }
.access-links a span { flex: none; }
.home-resources { margin-top: var(--space); display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 19px; align-items: start; }
.home-resources section { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 0; }
.home-resources section .wrap { padding: clamp(17px,2.5vw,30px); }
.home-resources .split, .home-resources .patient-forms-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
.home-resources .hours { border: 0; border-radius: 0; padding: 0; }
.home-resources .appointment-home { border-top: 1px solid var(--line); padding-top: 13px; }
.home-resources .appointment-home h2 { font-size: 21px; margin-bottom: 11px; }
.home-resources .patient-form-card { background: var(--canvas); padding: 14px 16px 8px; }
.home-resources .patient-form-card p { margin: 0; }
.home-resources h2 { font-size: clamp(22px,3vw,31px); }
.home-services .cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-services .card.iron { grid-column: 1 / -1; background: var(--soft); border-color: #a6bfde; }
.home-services .iron .card-body {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) auto;
  align-items: center; gap: 4px 22px;
}
.home-services .iron :is(h3,p) { grid-column: 1; margin: 0; }
.home-services .iron h3 { margin-bottom: 5px; }
.home-services .iron .checks { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.home-services .iron .btn { grid-column: 3; grid-row: 1 / span 3; margin: 0; }
.pagehero { background: #10294e; color: white; --crumb: #d5e6fc; }
.pagehero .title-icon { background: #214b7c; border-radius: 11px; color: white; }
.pagehero .walkin-status { color: white; border-color: #7b9cc5; background: #1c426d; }
.formbox { box-shadow: none; }
.footer-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,.8fr); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 455px) {
  .footer-grid { grid-template-columns: minmax(0,1fr); }
}
.page-new-patient-waitlist .waitlist-info { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: clamp(17px,3vw,29px); }
@media (max-width: 780px) {
  .hero-inner, .home-resources { grid-template-columns: minmax(0,1fr); }
  .access-panel { max-width: 560px; }
  .home-services .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-services .iron .card-body { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .home-services .iron .btn { grid-column: 1 / -1; grid-row: 4; justify-self: start; margin-top: 7px; }
}
@media (max-width: 465px) {
  .home-services .cards, .home-services .iron .card-body { grid-template-columns: minmax(0,1fr); }
  .home-services .iron .checks, .home-services .iron .btn { grid-column: 1; grid-row: auto; margin-top: 6px; }
}
