:root {
  color-scheme: light;
  --ink: #101a2b;
  --muted: #53607a;
  --blue: #234bdc;
  --blue-dark: #1b3db8;
  --line: #e1e7ef;
  --pale: #eef3fb;
  --paper: #f7f9fc;
  --white: #fff;
  font: 16px/1.55 Inter, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
header { background: var(--white); border-bottom: 1px solid var(--line); }
.top, .brand, .actions, .filters, .foot { display: flex; align-items: center; gap: 16px; }
.top { justify-content: space-between; min-height: 78px; }
.brand { gap: 12px; flex-shrink: 0; }
.brand b {
  display: grid;
  place-items: center;
  min-width: 55px;
  min-height: 46px;
  padding: 0 9px 3px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.07em;
}
.brand-label { font-size: 13px; font-weight: 700; }
nav {
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
}
nav a { border-radius: 9px; padding: 7px 13px; color: var(--muted); }
nav a:hover, nav a[aria-current] { background: var(--white); color: var(--blue-dark); }
nav a[aria-current] { box-shadow: 0 1px 4px #13213b12; }
.top-phone a { font-size: 14px; font-weight: 750; white-space: nowrap; }
.top-phone a:hover { color: var(--blue-dark); }
main { min-height: 72vh; padding: 22px 0 clamp(52px, 6vw, 88px); }
h1, h2 { line-height: 1.05; letter-spacing: -.055em; overflow-wrap: anywhere; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: clamp(470px, 42vw, 640px);
  overflow: hidden;
  border-radius: 24px;
  background: #0d1c35;
  color: var(--white);
}
.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  display: block;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 57%;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #0d1c35 28%, #0d1c35a8 49%, #0d1c351a 72%, transparent);
  content: "";
}
.hero-content { padding: clamp(33px, 5.3vw, 84px); animation: rise .35s ease-out both; }
@keyframes rise { from { transform: translateY(5px); } }
.eyebrow { font-size: 12px; font-weight: 750; letter-spacing: .095em; color: var(--blue-dark); }
.hero-label {
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid #91abe884;
  border-radius: 7px;
  background: #1c345a;
  color: #e2edff;
}
.hero h1 { max-width: 11ch; margin: 23px 0 19px; font-size: clamp(47px, 6.25vw, 100px); font-weight: 700; }
.hero p { max-width: 34ch; color: #e0e9fa; font-size: clamp(17px, 1.65vw, 23px); }
.hero .actions { margin-top: 29px; gap: 9px; }
.hero .button { background: var(--white); color: var(--ink); }
.hero .button:hover { background: #deebff; }
.hero .secondary { background: #152744; border-color: #788ba8; color: var(--white); }
.hero .secondary:hover { background: #274065; }
.hero :focus-visible { outline-color: #b7d0ff; }
.hero-address {
  position: absolute;
  right: 21px;
  bottom: 21px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 17px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
.hero-address small, .hero-address strong { display: block; }
.hero-address small { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.hero-address strong { font-size: 16px; }
.address-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--pale);
  color: var(--blue-dark);
}
.hero-address:hover .address-arrow { background: #dfe8ff; }

.actions, .filters { flex-wrap: wrap; }
.button, .chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: background .16s, border-color .16s, color .16s;
}
.button:hover { background: var(--blue-dark); }
.secondary, .chip { background: var(--white); border-color: var(--line); color: var(--ink); }
.secondary:hover, .chip:hover { background: var(--pale); border-color: #a3b5df; color: var(--blue-dark); }
.featured { margin-top: clamp(32px, 5vw, 68px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(30px, 4.1vw, 59px); }
.arrow { color: var(--blue-dark); font-weight: 700; text-underline-offset: 4px; }
.arrow:hover { text-decoration: underline; }
.panel, .card { padding: clamp(20px, 3.2vw, 39px); border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow-wrap: anywhere; }
.panel h2 { font-size: clamp(24px, 2.8vw, 37px); }
.panel p, .card p { color: var(--muted); margin: 10px 0 18px; }
.empty { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; background: var(--pale); }
.empty p { max-width: 58ch; margin-bottom: 0; }
.heading { max-width: 920px; padding: clamp(20px, 4vw, 55px) 0 30px; }
.heading h1 { margin: 12px 0 17px; font-size: clamp(40px, 6vw, 83px); }
.heading p { color: var(--muted); font-size: clamp(17px, 1.8vw, 22px); }
.filters { margin-bottom: 22px; gap: 8px; }
.chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.card h2 { margin-top: 11px; font-size: 30px; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.about-grid img { display: block; width: 100%; height: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; }
.location { background: var(--pale); }
.location h2 { margin: 10px 0 20px; }
dt { margin-top: 13px; color: var(--muted); font-size: 13px; }
dd { margin: 2px 0 0; }
dd a { text-decoration: underline; text-underline-offset: 3px; }
.description { white-space: pre-wrap; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot { justify-content: space-between; flex-wrap: wrap; padding: 22px 0; }
.foot a:hover { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 48px); }
  .top-phone { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .top { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px 0; }
  .brand b { min-height: 39px; min-width: 45px; font-size: 21px; }
  nav { flex-wrap: wrap; gap: 1px; font-size: 12px; }
  nav a { padding-inline: 8px; }
  main { padding-top: 14px; }
  .hero { align-items: end; min-height: 0; padding-top: 155px; border-radius: 16px; }
  .hero-photo { inset: 0 0 auto; width: 100%; height: 265px; object-position: center 44%; }
  .hero::before { background: linear-gradient(0deg, #0d1c35 48%, #0d1c3500 100%); }
  .hero-content { padding: 23px 19px 17px; }
  .hero h1 { margin: 15px 0 12px; font-size: clamp(40px, 10vw, 62px); }
  .hero .actions { margin-top: 17px; }
  .hero-address { position: static; justify-self: start; gap: 14px; margin: 0 19px 19px; padding: 8px 10px; }
  .hero-address strong { font-size: 14px; }
  .address-arrow { width: 28px; height: 28px; }
  .about-grid, .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.map-panel { margin-bottom: 18px; scroll-margin-top: 18px; }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.map-frame {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 460px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--pale);
}
