:root {
  --primary: #0c8f7d;
  --primary-dark: #066b60;
  --primary-soft: #e8f6f3;
  --accent: #2b6fb4;
  --accent-soft: #edf5fb;
  --ink: #182522;
  --muted: #657572;
  --line: #dfe9e6;
  --surface: #f6faf9;
  --surface-strong: #eef6f4;
  --white: #ffffff;
  --footer: #102e2a;
  --shadow: 0 20px 55px rgba(20, 38, 35, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(20, 38, 35, 0.08);
  backdrop-filter: blur(16px);
}

.top-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 42px;
  padding: 8px clamp(18px, 4.6vw, 72px);
  color: rgba(255, 255, 255, 0.88);
  background: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.top-strip a:hover {
  color: #c9fff4;
}

.top-call a {
  display: inline;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-icon span {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}

.social-icon.facebook span::before {
  color: currentColor;
  content: "f";
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.social-icon.tiktok span::before {
  color: currentColor;
  content: "\266A";
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.social-icon.instagram span {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.social-icon.instagram span::before,
.social-icon.instagram span::after {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.social-icon.instagram span::before {
  top: 4px;
  left: 4px;
  width: 4px;
  height: 4px;
}

.social-icon.instagram span::after {
  top: 2px;
  right: 2px;
  width: 2px;
  height: 2px;
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 12px clamp(18px, 4.6vw, 72px);
  border-bottom: 1px solid rgba(223, 233, 230, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2vw, 30px);
  color: #30423e;
  font-size: 14px;
  font-weight: 850;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--primary-dark);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--primary);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--primary-dark);
}

.button-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
}

.button-outline-dark {
  color: var(--primary-dark);
  border: 1px solid rgba(6, 107, 96, 0.32);
  background: var(--white);
}

.button-outline-dark:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(610px, calc(100vh - 130px), 780px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 53, 48, 0.94) 0%, rgba(6, 70, 62, 0.82) 38%, rgba(6, 70, 62, 0.18) 78%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  width: min(780px, calc(100% - 42px));
  margin-left: clamp(20px, 5vw, 76px);
  padding: 88px 0 148px;
  align-self: center;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8f4eb;
}

.hero-tagline {
  margin: -4px 0 18px;
  color: #ffffff;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800;
}

.hero h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(40px, 5.1vw, 70px);
  line-height: 1.02;
}

.hero p:not(.eyebrow):not(.hero-tagline) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.quick-actions {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1160px, calc(100% - 36px));
  margin: -78px auto 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quick-actions article {
  min-height: 202px;
  padding: 32px 30px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.quick-actions article:last-child {
  border-right: 0;
}

.quick-actions .featured {
  color: var(--white);
  background: var(--primary-dark);
}

.quick-actions span,
.department-list span,
.service-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 900;
}

.quick-actions .featured span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.quick-actions h2 {
  font-size: 20px;
  line-height: 1.2;
}

.quick-actions p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.58;
}

.quick-actions .featured p {
  color: rgba(255, 255, 255, 0.78);
}

.quick-actions a {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-actions .featured a {
  color: #bff6ec;
}

.section,
.department-showcase,
.why-us,
.services-band,
.consultants,
.emergency-band,
.news,
.testimonials,
.appointment-section,
.contact-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 106px 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 70px;
  align-items: center;
}

.welcome-copy p:not(.section-kicker),
.section-heading p,
.why-copy p,
.appointment-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.welcome-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.welcome-links a {
  min-height: 48px;
  padding: 14px 16px;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  background: var(--surface);
  color: var(--primary-dark);
  font-weight: 900;
}

.welcome-card {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.welcome-card img {
  width: min(260px, 100%);
  margin: 0 auto 8px;
}

.welcome-card div {
  padding: 20px;
  border-left: 5px solid var(--primary);
  border-radius: 6px;
  background: var(--white);
}

.welcome-card strong,
.welcome-card span {
  display: block;
}

.welcome-card strong {
  color: var(--primary-dark);
  font-size: 28px;
}

.welcome-card span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

.department-showcase {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.department-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.department-list article {
  min-height: 292px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.department-list article:last-child {
  border-right: 0;
}

.department-list h3,
.service-grid h3,
.consultant-grid h3,
.news-grid h3 {
  font-size: 20px;
  line-height: 1.25;
}

.department-list p,
.service-grid p,
.consultant-grid p,
.news-grid p,
.testimonial-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.department-list a,
.consultant-grid a,
.news-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.why-us {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 54px;
  align-items: center;
  padding: 76px 64px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 107, 96, 0.96), rgba(43, 111, 180, 0.88)),
    var(--primary-dark);
}

.why-us .section-kicker {
  color: #c5fff4;
}

.why-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.why-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.why-copy li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  line-height: 1.45;
}

.why-copy li::before {
  position: absolute;
  top: 2px;
  left: 0;
  content: "+";
  color: #c5fff4;
  font-weight: 900;
}

.skill-panel {
  display: grid;
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.skill-panel div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}

.skill-panel span,
.skill-panel strong {
  font-weight: 900;
}

.skill-panel i {
  grid-column: 1 / -1;
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #c5fff4 var(--value), rgba(255, 255, 255, 0.2) var(--value));
}

.services-band,
.consultants,
.news,
.testimonials,
.appointment-section {
  padding: 94px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  min-height: 238px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-grid article:hover,
.consultant-grid article:hover,
.news-grid article:hover {
  border-color: rgba(12, 143, 125, 0.42);
  box-shadow: 0 16px 38px rgba(20, 38, 35, 0.09);
  transform: translateY(-3px);
}

.consultants {
  border-top: 1px solid var(--line);
}

.consultant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.consultant-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.doctor-avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 24px;
  font-weight: 900;
}

.consultant-grid p {
  margin: 8px 0 16px;
  color: var(--primary-dark);
  font-weight: 900;
}

.consultant-grid .doctor-degree {
  margin: 6px 0 14px;
  color: #405551;
  font-size: 13px;
  font-weight: 900;
}

.consultant-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.emergency-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 52px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 53, 48, 0.9), rgba(6, 107, 96, 0.82)),
    url("assets/hospital-hero.png") center / cover;
}

.emergency-band .section-kicker {
  color: #c5fff4;
}

.emergency-band h2 {
  margin-bottom: 10px;
}

.emergency-band p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.news-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-grid article,
.testimonial-grid blockquote {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-grid article {
  min-height: 190px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.news-grid time {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.news-grid h3 {
  margin-top: 14px;
}

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

.testimonial-grid blockquote {
  background: var(--surface);
}

.testimonial-grid p {
  margin-top: 0;
  font-size: 17px;
}

.testimonial-grid cite {
  color: var(--primary-dark);
  font-style: normal;
  font-weight: 900;
}

.appointment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.appointment-copy {
  position: sticky;
  top: 154px;
}

.appointment-copy h2,
.contact-card h2 {
  margin-bottom: 18px;
}

.hours {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  background: var(--primary-soft);
}

.hours span {
  color: var(--muted);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: #3e504c;
  font-size: 13px;
  font-weight: 900;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(12, 143, 125, 0.16);
}

.appointment-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  padding-bottom: 96px;
}

.contact-card,
.location-card {
  min-height: 390px;
  border-radius: 8px;
}

.contact-card {
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.contact-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.contact-card dd a,
.contact-info-panel dd a {
  display: block;
  margin-top: 4px;
}

.location-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 38px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(232, 246, 243, 0.94), rgba(237, 245, 251, 0.94)),
    var(--surface-strong);
  text-align: center;
}

.location-card:not(.map-panel) img {
  width: min(300px, 82%);
}

.location-card:not(.map-panel) strong {
  color: var(--primary-dark);
  font-size: 25px;
}

.location-card:not(.map-panel) span {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 36px;
  padding: 54px clamp(18px, 4.6vw, 72px) 30px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--footer);
}

.site-footer img {
  width: 120px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

.site-footer p {
  margin: 0;
  line-height: 1.68;
}

.site-footer .footer-tagline {
  margin: -8px 0 10px;
  color: var(--white);
  font-weight: 900;
  line-height: 1.35;
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 10px;
  font-style: normal;
}

.site-footer a:hover {
  color: #bff6ec;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: grid;
  place-items: center;
  min-width: 54px;
  min-height: 54px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 16px 34px rgba(20, 38, 35, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--primary-dark);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(12, 143, 125, 0.24);
  outline-offset: 3px;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-book-button {
  position: fixed;
  right: calc(clamp(16px, 3vw, 28px) + 76px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(20, 38, 35, 0.22);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.floating-book-button:hover,
.floating-book-button:focus-visible {
  color: var(--white);
  background: var(--primary);
}

.floating-book-button:focus-visible {
  outline: 3px solid rgba(12, 143, 125, 0.24);
  outline-offset: 3px;
}

.floating-book-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 440px;
  padding: 82px clamp(18px, 5vw, 76px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 53, 48, 0.95), rgba(6, 107, 96, 0.78)),
    url("assets/hospital-hero.png") center / cover;
}

.page-hero > div {
  width: min(780px, 100%);
  align-self: center;
}

.page-hero .eyebrow {
  color: #b8f4eb;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
}

.consultant-directory,
.consultant-cta {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.consultant-directory {
  padding: 94px 0;
}

.directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.consultant-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.consultant-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--surface);
  font-size: 13px;
  font-weight: 900;
}

.consultant-filters a:hover {
  border-color: rgba(12, 143, 125, 0.42);
  background: var(--primary-soft);
}

.consultant-directory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.consultant-directory-grid article {
  min-height: 438px;
}

.consultant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.consultant-meta span,
.consultant-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.consultant-meta span {
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 900;
}

.consultant-meta strong {
  color: #38504b;
  background: var(--accent-soft);
}

.consultant-directory-grid .doctor-avatar {
  width: 82px;
  height: 82px;
  font-size: 22px;
}

.consultant-directory-grid p {
  min-height: 78px;
}

.consultant-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 96px;
  padding: 44px 52px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.consultant-cta .section-kicker {
  color: #c5fff4;
}

.consultant-cta p {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.consultant-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  min-width: 260px;
}

.departments-page,
.department-support {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.departments-page {
  padding: 94px 0;
}

.department-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.department-detail-grid article {
  min-height: 360px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.department-detail-grid article:hover {
  border-color: rgba(12, 143, 125, 0.42);
  box-shadow: 0 16px 38px rgba(20, 38, 35, 0.09);
  transform: translateY(-3px);
}

.department-detail-grid span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 900;
}

.department-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.department-card-header span {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  background: var(--primary-soft);
}

.department-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: #005448;
  box-shadow: 0 10px 24px rgba(20, 38, 35, 0.16);
}

.department-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.department-detail-grid h3 {
  font-size: 22px;
  line-height: 1.25;
}

.department-detail-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.department-detail-grid ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.department-detail-grid a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.department-support {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 96px;
  padding: 54px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.department-support .section-kicker {
  color: #c5fff4;
}

.department-support p {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-grid article {
  min-height: 116px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.support-grid span,
.support-grid strong {
  display: block;
}

.support-grid span {
  margin-bottom: 10px;
  color: #c5fff4;
  font-size: 13px;
  font-weight: 900;
}

.support-grid strong {
  font-size: 20px;
}

.services-page,
.service-process {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.services-page {
  padding: 94px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-grid article {
  min-height: 310px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-detail-grid article:hover {
  border-color: rgba(12, 143, 125, 0.42);
  box-shadow: 0 16px 38px rgba(20, 38, 35, 0.09);
  transform: translateY(-3px);
}

.service-detail-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 900;
}

.service-detail-grid h3 {
  font-size: 20px;
  line-height: 1.25;
}

.service-detail-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.service-detail-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 96px;
  padding: 54px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.service-process .section-kicker {
  color: #c5fff4;
}

.service-process p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.service-process ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-process li {
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.service-process li span,
.service-process li strong {
  display: block;
}

.service-process li span {
  margin-bottom: 10px;
  color: #c5fff4;
  font-size: 13px;
  font-weight: 900;
}

.service-process li strong {
  font-size: 20px;
}

.service-process li p {
  margin-bottom: 0;
}

.contact-page,
.contact-location {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
  padding: 94px 0;
}

.contact-info-panel {
  min-height: 100%;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-info-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-info-panel dl {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.contact-info-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-info-panel dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.contact-form {
  box-shadow: none;
}

.form-intro {
  display: grid;
  gap: 10px;
  padding-bottom: 10px;
}

.form-intro h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.form-intro p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 20px;
  margin-bottom: 96px;
}

.hours-card,
.map-panel {
  min-height: 390px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hours-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hours-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 16px;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  background: var(--white);
}

.hours-list span {
  color: var(--muted);
  font-weight: 800;
}

.hours-list strong {
  color: var(--primary-dark);
  text-align: right;
}

.map-panel {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--surface-strong);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.map-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(20, 38, 35, 0.14);
}

.map-caption strong,
.map-caption span {
  display: block;
}

.map-caption strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.map-caption span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.map-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--white);
  background: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.map-directions:hover {
  background: var(--primary-dark);
}

.about-page,
.mission-section,
.about-values,
.about-cta {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 70px;
  align-items: center;
  padding: 94px 0;
}

.about-page-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-page-card {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.about-page-card img {
  width: min(260px, 100%);
  margin: 0 auto 8px;
}

.about-page-card div {
  padding: 20px;
  border-left: 5px solid var(--primary);
  border-radius: 6px;
  background: var(--white);
}

.about-page-card strong,
.about-page-card span {
  display: block;
}

.about-page-card strong {
  color: var(--primary-dark);
  font-size: 28px;
}

.about-page-card span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 94px;
}

.mission-section article {
  min-height: 250px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mission-section span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 900;
}

.mission-section h3 {
  font-size: 22px;
}

.mission-section p {
  color: var(--muted);
  line-height: 1.65;
}

.about-values {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 42px;
  align-items: center;
  padding: 54px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.about-values .section-kicker,
.about-cta .section-kicker {
  color: #c5fff4;
}

.about-values p,
.about-cta p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.values-grid article {
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.values-grid span,
.values-grid strong {
  display: block;
}

.values-grid span {
  margin-bottom: 10px;
  color: #c5fff4;
  font-size: 13px;
  font-weight: 900;
}

.values-grid strong {
  line-height: 1.45;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 94px;
  margin-bottom: 96px;
  padding: 44px 52px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 53, 48, 0.92), rgba(6, 107, 96, 0.82)),
    url("assets/hospital-hero.png") center / cover;
}

@media (max-width: 1120px) {
  .main-nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open a {
    padding: 14px 0;
  }

  .department-list,
  .service-grid,
  .consultant-directory-grid,
  .department-detail-grid,
  .service-detail-grid,
  .mission-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .department-list article:nth-child(2) {
    border-right: 0;
  }

  .department-list article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .top-strip {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .social-links {
    margin-left: 0;
  }

  .hero {
    min-height: 660px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(6, 53, 48, 0.93), rgba(6, 70, 62, 0.58));
  }

  .quick-actions,
  .welcome,
  .about-page,
  .why-us,
  .directory-heading,
  .department-support,
  .service-process,
  .about-values,
  .consultant-grid,
  .news-grid,
  .testimonial-grid,
  .appointment-section,
  .contact-section,
  .contact-page,
  .contact-location,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-actions article,
  .quick-actions article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-actions article:last-child {
    border-bottom: 0;
  }

  .why-us {
    padding: 48px 28px;
  }

  .consultant-filters {
    justify-content: flex-start;
  }

  .consultant-cta {
    display: grid;
    padding: 38px 28px;
  }

  .consultant-cta-actions {
    justify-content: flex-start;
  }

  .department-support {
    padding: 38px 28px;
  }

  .service-process {
    padding: 38px 28px;
  }

  .about-values {
    padding: 38px 28px;
  }

  .about-cta {
    display: grid;
    padding: 38px 28px;
  }

  .appointment-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .top-strip {
    display: none;
  }

  .main-nav {
    min-height: 76px;
    padding: 9px 16px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand span {
    max-width: 150px;
    font-size: 15px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    width: min(100% - 32px, 680px);
    margin-left: 16px;
    padding: 54px 0 118px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .quick-actions {
    margin-top: -62px;
  }

  .quick-actions article {
    min-height: auto;
    padding: 26px 22px;
  }

  .section,
  .department-showcase,
  .services-band,
  .consultants,
  .news,
  .testimonials,
  .appointment-section {
    padding: 72px 0;
  }

  .welcome-links,
  .department-list,
  .service-grid,
  .consultant-directory-grid,
  .department-detail-grid,
  .service-detail-grid,
  .mission-section,
  .values-grid,
  .support-grid,
  .service-process ol,
  .appointment-form,
  .why-copy ul {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 420px;
    padding: 58px 18px;
  }

  .consultant-directory {
    padding: 72px 0;
  }

  .departments-page {
    padding: 72px 0;
  }

  .services-page {
    padding: 72px 0;
  }

  .contact-page {
    padding: 72px 0;
  }

  .about-page {
    padding: 72px 0;
  }

  .mission-section {
    padding-bottom: 72px;
  }

  .about-cta {
    margin-top: 72px;
  }

  .department-list article,
  .department-list article:nth-child(2),
  .department-list article:last-child {
    border-right: 0;
  }

  .department-list article {
    border-bottom: 1px solid var(--line);
  }

  .department-list article:last-child {
    border-bottom: 0;
  }

  .emergency-band {
    display: grid;
    padding: 34px 24px;
  }

  .appointment-form,
  .contact-card,
  .location-card,
  .about-page-card,
  .contact-info-panel,
  .hours-card,
  .map-panel {
    padding: 22px;
  }

  .contact-card,
  .location-card,
  .hours-card,
  .map-panel {
    min-height: auto;
  }

  .hours-list div {
    display: grid;
    justify-items: stretch;
  }

  .hours-list strong {
    text-align: left;
  }

  .site-footer {
    padding: 42px 18px 26px;
  }
}
