:root {
  color-scheme: light;
  font: 100%/1.55 system-ui, sans-serif;
  color: #153c54;
  background: #edf7fc;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { max-width: 74rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.top { background: #ffffff; border-bottom: 1px solid #bfdce9; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.top img { display: block; max-inline-size: 100%; object-fit: contain; }
a { color: #00628e; text-underline-offset: .2em; }
a:hover { color: #07496b; }
:focus-visible { outline: 3px solid #0080ac; outline-offset: 3px; }
.hero { margin-top: 1.5rem; padding: clamp(1rem, 4vw, 3rem); border-radius: 1rem; background: linear-gradient(115deg, #075078, #0075a7); color: white; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2.15rem, 6vw, 4rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.08rem; line-height: 1.3; }
p { margin-top: .55rem; }
.hero > p { max-width: 43rem; margin-top: .9rem; }
.roles { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.35rem 0; }
.roles a, button { padding: .65rem 1rem; border: 1px solid #006c9c; border-radius: .45rem; font-weight: 650; }
.roles a { text-decoration: none; }
.roles [aria-current], button { background: #006c9c; color: white; }
.roles [aria-current]:hover, button:hover { background: #00547c; }
label { display: block; margin-bottom: .35rem; font-weight: 650; }
.selector { display: flex; flex-wrap: wrap; gap: .5rem; }
select, button { font: inherit; }
select { max-width: 100%; color: #153c54; background: white; border: 1px solid #789bad; border-radius: .45rem; padding: .62rem .75rem; }
button { cursor: pointer; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2rem; }
.steps { margin: 0; padding-inline-start: 1.55rem; }
.steps li { margin-bottom: 1.25rem; padding: 1rem 1rem 1rem 1.15rem; background: #ffffff; border: 1px solid #bfdce9; border-radius: .6rem; }
.steps li::marker { color: #006c9c; font-weight: 700; }
.local { margin-top: .8rem; border-left: 2px solid #4a94b5; padding-left: .75rem; }
.water, .template { background: #dceffa; padding: 1rem; border-radius: .6rem; margin-top: 1rem; }
.water h2 { margin-bottom: .35rem; }
.contacts { margin-top: 1rem; }
.contact { padding: 0 0 1rem; margin-bottom: 1rem; border-bottom: 1px solid #bfdce9; }
address, .address { font-style: normal; margin-top: .5rem; }
.links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.links, .template a { margin-top: .5rem; }
.template a { display: inline-block; }
footer { border-top: 1px solid #bfdce9; margin-top: 2rem; padding-block: 1rem 2rem; }
footer p { margin-bottom: .5rem; }
@media (max-width: 47rem) { .guide-layout { grid-template-columns: 1fr; } }
.languages { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin-bottom: 1.1rem; }
.languages a { padding: .3rem .5rem; border-radius: .35rem; }
.languages [aria-current] { background: #ffffff; color: #153c54; font-weight: 700; text-decoration: none; }

.guide-overview { margin-bottom: 1rem; }

.guide-terms { margin-top: 2rem; padding: 1rem; border: 1px solid #bfdce9; border-radius: .6rem; }
.guide-terms h2 { margin-bottom: .35rem; }

.hero a { color: white; }
.hero .roles a, .hero button { border-color: #bde5fa; }
.hero .roles [aria-current], .hero .languages [aria-current], .hero button { background: white; color: #075078; }
.hero :focus-visible { outline-color: white; }
.hero button:hover, .hero .roles a:hover { background: #dceffa; color: #075078; }
.contacts, .guide-terms { background: white; }
.contacts { padding: 1.25rem; border: 1px solid #bfdce9; border-radius: .8rem; overflow-wrap: anywhere; }
.contact:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
