:root {
  --navy: #062f66;
  --navy-900: #04264f;
  --blue: #1d9dcc;
  --teal: #43c7c9;
  --sky: #e8f7fb;
  --mint: #eefafb;
  --gray-50: #f7fafc;
  --gray-100: #eef3f7;
  --gray-200: #d8e2ea;
  --gray-600: #536170;
  --gray-800: #223244;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 47, 102, 0.12);
  --shadow-soft: 0 10px 26px rgba(6, 47, 102, 0.08);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
}

.brand img {
  width: min(300px, 58vw);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.menu-toggle span::after {
  position: absolute;
  top: 7px;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  color: var(--gray-800);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--sky);
}

.site-nav .nav-call {
  margin-left: 0.35rem;
  color: var(--white);
  background: var(--navy);
}

.site-nav .nav-call:hover {
  color: var(--white);
  background: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0;
  background:
    linear-gradient(115deg, rgba(232, 247, 251, 0.96), rgba(255, 255, 255, 0.92) 56%, rgba(238, 250, 251, 0.96)),
    var(--white);
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 30rem;
  height: 30rem;
  background: linear-gradient(135deg, rgba(29, 157, 204, 0.12), rgba(67, 199, 201, 0.16));
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.lead {
  max-width: 700px;
  margin: 1rem 0 0;
  color: var(--gray-600);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-panel {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(216, 226, 234, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel .media-card {
  margin-bottom: 1.25rem;
}

.doctor-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.doctor-card img {
  width: 96px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--sky);
  border-radius: 50%;
}

.doctor-card p {
  margin: 0;
  color: var(--gray-600);
}

.quick-info {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.quick-info div {
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-100);
}

.quick-info dt {
  color: var(--navy);
  font-weight: 800;
}

.quick-info dd {
  margin: 0;
  color: var(--gray-600);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(6, 47, 102, 0.06);
}

.button:hover {
  color: var(--navy);
  border-color: var(--teal);
  background: var(--mint);
}

.button.primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button.primary:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button.teal {
  color: var(--navy);
  background: var(--teal);
  border-color: var(--teal);
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section.alt {
  background: var(--gray-50);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-header p {
  max-width: 620px;
  margin: 0;
  color: var(--gray-600);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 4vw, 2rem);
}

.card,
.info-box {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.media-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card.compact img {
  aspect-ratio: 4 / 3;
}

.media-card.flush {
  align-self: stretch;
}

.media-card.flush img {
  height: 100%;
  min-height: 320px;
}

.why-choose-photo {
  object-position: center top;
}

.media-caption {
  padding: 1rem 1.1rem;
}

.media-caption h3 {
  font-size: 1.2rem;
}

.media-caption p {
  margin: 0.45rem 0 0;
  color: var(--gray-600);
}

.card p,
.info-box p {
  margin: 0.6rem 0 0;
  color: var(--gray-600);
}

.card .tag {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.22rem 0.65rem;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--sky);
  border-radius: 999px;
}

.feature-list,
.check-list,
.plain-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li,
.plain-list li {
  position: relative;
  margin-top: 0.55rem;
  padding-left: 1.4rem;
  color: var(--gray-600);
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.plain-list li {
  padding-left: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.8rem 0;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.hours-table th {
  color: var(--navy);
}

.cta-band {
  color: var(--white);
  background: linear-gradient(100deg, var(--navy), #0c5d93);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.cta-inner p {
  margin: 0.8rem 0 0;
  opacity: 0.9;
}

.page-hero {
  padding: clamp(2.7rem, 6vw, 4.8rem) 0;
  background: linear-gradient(110deg, var(--sky), var(--white));
  border-bottom: 1px solid var(--gray-100);
}

.page-hero p {
  max-width: 760px;
}

.service-group {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-group h3 {
  margin-bottom: 0.8rem;
}

.service-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-group li {
  color: var(--gray-600);
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--sky);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-social {
  margin-top: 20px;
}

.facebook-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}

.facebook-follow-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.facebook-follow-link:hover {
  text-decoration: underline;
}

.map-container {
  width: 100%;
  overflow: hidden;
  margin-top: 1rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.notice {
  padding: 1rem 1.1rem;
  color: var(--navy);
  background: var(--sky);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.emergency-note {
  margin: 0.8rem 0 0;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.55;
}

.site-footer .emergency-note,
.site-footer strong {
  color: inherit;
}

.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.footer-logo {
  width: min(280px, 100%);
  margin-bottom: 1rem;
  padding: 0.4rem;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li {
  margin: 0.45rem 0 0;
}

.site-footer ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--white);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  text-decoration: underline;
}

.footer-social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.foot-social-link:hover .footer-social-icon {
  transform: translateY(-2px);
  opacity: 0.8;
}

.footer-bottom {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

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

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-call {
    margin: 0;
    width: 100%;
  }

  .hero-grid,
  .two-col,
  .profile-layout,
  .contact-grid,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 0.8rem;
  }

  .media-card.flush img {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand img {
    width: min(235px, 58vw);
  }

  .hero {
    padding-top: 2.2rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .cards,
  .service-group ul {
    grid-template-columns: 1fr;
  }

  .doctor-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .doctor-card img {
    width: 76px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .map-container iframe {
    height: 320px;
  }
}
