:root {
  color-scheme: light;
  --ink: #132d49;
  --blue: #16558e;
  --secondary: #4c6279;
  --line: #d7e2ee;
  --paper: #f9fbfe;
  --mist: #e4f0fc;
  font: 16px/1.55 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(1230px, calc(100% - 96px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 45px; height: 45px; }
.brand strong { display: block; font-size: 20px; letter-spacing: -.045em; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: var(--blue); font-size: 9px; font-weight: 750; letter-spacing: .17em; }
.header nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 34px); font-weight: 650; font-size: 14px; color: #334b64; }
.header nav .current { color: var(--blue); box-shadow: 0 2px #7daed9; }
.emergency { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #ead2cb; border-radius: 7px; background: #fff4f0; color: #842c27; font-size: 12px; font-weight: 650; }
.emergency .icon { width: 14px; height: 14px; }
.emergency strong { font-size: 15px; }

.hero { border-bottom: 1px solid #d9e5f2; background: radial-gradient(ellipse at 65% 100%, #e0edfa, #edf5fd 58%, #f6f9fd 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.035fr); gap: clamp(30px, 4.3vw, 66px); align-items: center; padding-block: 42px 48px; }
.kicker { color: var(--blue); text-transform: uppercase; font-size: 11px; font-weight: 750; letter-spacing: .17em; }
.hero .kicker { display: flex; align-items: center; gap: 10px; }
.hero .kicker::before { content: ""; width: 25px; height: 2px; background: #548cbf; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.06em; line-height: 1.02; }
h1 { margin-block: 16px 21px; font-size: clamp(48px, 5.6vw, 86px); }
h1 em { color: var(--blue); font-style: normal; }
.intro { max-width: 490px; color: #3e5874; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }
.search-box { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 7px; margin-top: 26px; padding: 7px; border: 1px solid #cadced; border-radius: 11px; background: white; box-shadow: 0 6px 14px #183e6610; font-size: 13px; }
.search-input, .search-place { display: flex; align-items: center; gap: 8px; padding: 10px 8px; color: var(--secondary); }
.search-place { color: var(--ink); border-left: 1px solid #deebf7; }
.search-box .icon { width: 17px; height: 17px; color: var(--blue); }
.search-place .chevron { width: 14px; height: 14px; }
.search-button { padding: 12px 18px; border-radius: 6px; background: var(--blue); color: white; font-size: 14px; font-weight: 700; text-align: center; }
.quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; color: #405b77; font-size: 12px; font-weight: 650; }
.quick-links span + span { padding: 2px 9px; border: 1px solid #c7d9eb; border-radius: 99px; color: var(--blue); }
.hero-map { position: relative; isolation: isolate; aspect-ratio: 720 / 550; border-radius: 16px; overflow: hidden; background: #102b47; box-shadow: 0 16px 29px #153d6924; }
.hero-map > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-caption { position: absolute; right: 16px; bottom: 15px; display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 8px 11px 8px 8px; border: 1px solid #bfd9ef; border-radius: 9px; background: #f4faff; box-shadow: 0 4px 14px #10274130; }
.caption-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 6px; color: var(--blue); background: #dcecfb; }
.map-caption strong, .map-caption small { display: block; line-height: 1.25; }
.map-caption strong { font-size: 13px; }
.map-caption small { margin-top: 3px; font-size: 11px; color: var(--secondary); }
.map-arrow { margin-left: 7px; color: var(--blue); width: 16px; height: 16px; }

.section { padding-top: 44px; }
h2 { margin-block: 8px 9px; font-size: clamp(33px, 3.2vw, 48px); }
.section-copy { color: var(--secondary); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 19px; }
.tile { position: relative; padding: 17px 15px 15px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.tile-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 11px; border-radius: 9px; color: var(--blue); background: var(--mist); }
.tile-icon .icon { width: 23px; height: 23px; }
.tile h3 { font-size: 16px; line-height: 1.2; letter-spacing: -.015em; }
.tile p { margin-top: 5px; color: var(--secondary); font-size: 13px; line-height: 1.4; }
.tile-arrow { position: absolute; right: 15px; top: 19px; color: var(--blue); width: 17px; height: 17px; }

.hospitals { padding-block: 43px 47px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.section-link, .card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 13px; font-weight: 700; }
.section-link { margin-bottom: 9px; }
.section-link .icon, .card-link .icon { width: 15px; height: 15px; }
.hospital-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.hospital-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.hospital-card img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.hospital-card:nth-child(1) img { object-position: 50% 47%; }
.hospital-card:nth-child(2) img { object-position: 50% 54%; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; }
.location { display: flex; align-items: center; gap: 5px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.location .icon { width: 14px; height: 14px; }
.card-content h3 { margin-block: 7px 13px; font-size: 18px; line-height: 1.23; letter-spacing: -.025em; }
.card-link { margin-top: auto; }
.footer { border-top: 1px solid var(--line); background: #ecf3fa; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 15px; flex-wrap: wrap; padding-block: 17px; color: var(--secondary); font-size: 12px; }
.footer-inner div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.footer-inner strong { color: var(--ink); font-size: 14px; }
.footer-inner a { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.footer-inner .icon { width: 14px; height: 14px; }

@media (max-width: 1050px) {
  .wrap { width: min(1230px, calc(100% - 60px)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); }
  .search-box { grid-template-columns: minmax(0, 1fr) auto; }
  .search-input { grid-column: 1 / -1; border-bottom: 1px solid #deebf7; }
  .search-place { border-left: 0; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .header nav { display: none; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 8px; }
  .emergency { padding: 5px 8px; gap: 5px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-block: 27px 24px; }
  h1 { margin-block: 12px 14px; font-size: clamp(43px, 12vw, 67px); }
  .intro { font-size: 15px; }
  .search-box { margin-top: 17px; }
  .quick-links { margin-top: 12px; }
  .hero-map { border-radius: 12px; }
  .map-caption { right: 9px; bottom: 8px; padding: 5px 7px 5px 5px; gap: 6px; }
  .caption-icon { width: 27px; height: 27px; }
  .caption-icon .icon { width: 15px; height: 15px; }
  .map-caption strong { font-size: 11px; }
  .map-caption small { font-size: 10px; }
  .map-arrow { margin-left: 3px; width: 13px; height: 13px; }
  .section { padding-top: 29px; }
  .section-copy { font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
  .tile { padding: 12px 10px; }
  .tile-icon { width: 34px; height: 34px; margin-bottom: 8px; }
  .tile-icon .icon { width: 20px; height: 20px; }
  .tile-arrow { top: 14px; right: 10px; }
  .tile h3 { font-size: 14px; }
  .tile p { font-size: 12px; }
  .hospitals { padding-bottom: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 0; }
  .section-link { margin-bottom: 0; }
  .hospital-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .hospital-card { display: grid; grid-template-columns: 37% minmax(0, 1fr); }
  .hospital-card img { height: 100%; min-height: 123px; aspect-ratio: auto; }
  .card-content { padding: 11px 10px; }
  .card-content h3 { font-size: 16px; margin-block: 5px 7px; }
  .footer-inner div { flex-direction: column; }
  .map-source { width: 100%; font-size: 10px; }
}

@media (max-width: 350px) {
  .brand small, .emergency .icon { display: none; }
  .wrap { width: calc(100% - 24px); }
}
