:root {
  --bg: #f6f9fb;
  --fg: #0b1f2a;
  --muted: #5b6b75;
  --brand: #0b3d5c;
  --brand-2: #0f6fa6;
  --card: #fff;
  --radius: 14px;
}

/* --- Base reset --- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

html {
  scroll-behavior: smooth;
}


/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #e6eef5;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.brand img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #d5e6f5;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.portal-btn {
  background-color: #003366;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.portal-btn:hover {
  background-color: #002244;
}

/* --- Hero --- */
.hero {
  display: grid;
  place-items: center;
  padding: 80px 20px;
  background: radial-gradient(1000px 500px at 10% -10%, #d6ecfa 0%, rgba(214,236,250,0) 60%),
              linear-gradient(180deg, #edf6fd 0%, #f7fbff 100%);
}
.hero-content { max-width: 900px; text-align: center; }
.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--brand);
}
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--brand);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
}
.btn.secondary { background: #e9f4fb; color: var(--brand); }

/* --- Cards / Panels --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 30px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: var(--card);
  border: 1px solid #e6eef5;
  border-radius: var(--radius);
  padding: 18px;
}

/* --- Layouts --- */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  padding: 30px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.panel {
  background: var(--card);
  border: 1px solid #e6eef5;
  border-radius: var(--radius);
  padding: 16px;
}

/* --- Forms --- */
.appt-form label {
  display: block;
  font-weight: 600;
  margin: 12px 0 6px;
}
.appt-form input, .appt-form select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d8e6f3;
  background: white;
}
.appt-form button { margin-top: 12px; }
.form-note { color: var(--muted); font-size: 14px; }

/* --- General content --- */
.content { max-width: 1000px; margin: 20px auto; padding: 0 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.provider {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
.avatar {
  width: 220px;
  height: 280px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  background: #e7eef5;
}
.steps { counter-reset: step; }
.steps li { margin: 12px 0; }
.steps li::marker { font-weight: 700; color: #0f6fa6; }

/* --- Map --- */
.map-wrap {
  margin-top: 10px;
  border: 1px solid #e0ebf5;
  border-radius: 14px;
  overflow: hidden;
  background: #e9f3fb;
}
.map-frame { width: 100%; height: 340px; border: 0; display: block; }

/* --- Footer --- */
.site-footer {
  margin-top: 40px;
  padding: 24px 20px;
  background: #0b1f2a;
  color: #d7e7f2;
}
.site-footer a { color: #bfe4ff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 10px;
}
.fineprint { text-align: center; font-size: 13px; color: #b5c7d1; }

/* --- Checklists --- */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 28px; position: relative; margin: 8px 0; }
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f6fa6;
}

/* --- Mobile layout --- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .provider {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  /* nav toggle visible on mobile */
  .nav-toggle {
    display: block;
    background: transparent;
    border: 1px solid #d5e6f5;
    padding: 8px 10px;
    border-radius: 10px;
  }

  /* mobile dropdown menu */
  .nav-list {
    display: none;
    position: absolute;
    top: 110px;
    right: 20px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e6eef5;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    flex-direction: column;
    gap: 14px;
    min-width: 240px;
    z-index: 10000;
  }
  .nav-list.open { display: flex; }
}

/* prevent background scroll when menu open */
.body-lock { overflow: hidden; }

/* =========================
   Footer Enhancements
   ========================= */

/* Footer logo */
.footer-logo {
  height: 32px;           /* adjust between 32–40px if desired */
  width: auto;
  display: block;
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  .footer-logo {
    height: 32px;
    margin: 0 auto 8px;
  }
}

/* Patient Portal button (footer) */
.footer-portal-btn {
  display: inline-block;
  background-color: #003366; /* navy */
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}
.footer-portal-btn:hover {
  background-color: #002244; /* darker navy on hover */
}

/* Phone & Fax side-by-side with icons and divider */
.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;              /* wraps nicely on mobile */
  margin: 4px 0;
}
.divider {
  color: #bfe4ff;
  opacity: 0.6;
  font-weight: 400;
}
.contact-icon {
  font-size: 15px;
  margin-right: 4px;
  opacity: 0.85;
  transform: translateY(1px);   /* baseline align to digits */
}
.phone-link,
.fax-link,
.site-footer a[href^="mailto:"] {
  color: #bfe4ff;
  text-decoration: none;
  font-weight: 500;
}
.phone-link:hover,
.fax-link:hover,
.site-footer a[href^="mailto:"]:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --- Instagram icon-only button --- */
.insta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #003366;     /* same navy tone */
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  margin-top: 8px;
}

.insta-btn:hover {
  background-color: #002244;
  transform: scale(1.05);
}

.insta-icon-only {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* makes icon white on dark bg */
  opacity: 0.9;
}
.insta-btn:hover .insta-icon-only {
  opacity: 1;
}

/* Contact page details card */
.contact-details {
  max-width: 700px;
  margin: 30px auto;
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.contact-details h2 {
  color: var(--brand);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 24px;
}
.contact-line {
  margin: 8px 0;
  font-size: 16px;
  color: var(--fg);
}
.contact-line a {
  color: var(--brand-2);
  text-decoration: none;
  font-weight: 500;
}
.contact-line a:hover { text-decoration: underline; }
.contact-icon { font-size: 18px; margin-right: 6px; transform: translateY(2px); }
.contact-actions { margin-top: 20px; }
.contact-actions .portal-btn {
  display: inline-block;
  background-color: #003366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.contact-actions .portal-btn:hover { background-color: #002244; }

.cards {
  margin-top: 40px;
}

.cards h3 {
  color: var(--brand);
}

.cards p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 12px;
}


.site-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.3;
}

.site-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.site-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.notice{
  background:#f5f7f8;
  border:1px solid rgba(0,0,0,.08);
  padding:14px 16px;
  border-radius:12px;
  margin:6px 0 18px;
  color:var(--text, #1f2d3d);
}

.cta-row{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.hero-cta{
  display: inline-block;
  width: auto;
  white-space: nowrap;
}

