:root { --teal: #00615d; --ink: #183c39; --muted: #536965; --line: #d7e2dc; --soft: #eaf3ee; }
* { box-sizing: border-box; }
body { margin: 0; background: #f8faf7; color: var(--ink); font: 16px/1.5 "Segoe UI", Arial, sans-serif; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
p { margin: 0; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header .icon, .site-footer .icon { color: var(--teal); }
.with-icon { display: flex; align-items: center; gap: 8px; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 20px; z-index: 10; background: white; }
.skip-link:focus { top: 10px; }
.service-strip { background: var(--soft); color: var(--teal); font-size: 13px; }
.service-strip .container { min-height: 36px; display: flex; align-items: center; justify-content: space-between; }
.service-strip span:first-child { font-weight: 600; border-left: 3px solid #ff520a; padding-left: 11px; line-height: 14px; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-content { display: grid; grid-template-columns: 280px 1fr 335px; grid-template-rows: 149px 56px; }
.brand { align-self: start; margin-top: 31px; }
.brand img { display: block; width: 224px; height: auto; }
.header-address { padding-top: 34px; }
.header-address .directions { display: inline-block; margin: 7px 0 0 28px; font-size: 15px; }
.directions { text-decoration: underline; }
.opening-hours { margin-top: 17px; color: var(--muted); font-size: 15px; }
.header-contact { padding-top: 24px; }
.phone { white-space: nowrap; font-size: 20px; font-weight: 600; }
.header-contact .phone:first-child { font-size: 23px; }
.header-contact .phone + .phone { margin-top: 5px; }
.call-notice { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 19px; }
.desktop-nav { grid-column: 1/-1; display: grid; grid-template-columns: 12% 11.67% 15.58% 20.42% 1fr auto; align-items: center; border-top: 1px solid var(--line); }
.desktop-nav > a:not(.header-email) { color: var(--ink); }
.desktop-nav > a[aria-current="page"], dialog nav a[aria-current="page"] { color: #c73c00; text-decoration: underline; text-underline-offset: 3px; }
.header-email { font-size: 15px; }
.menu-toggle, .street-short { display: none; }
.error-page { min-height: 580px; padding-top: 56px; padding-bottom: 90px; text-align: center; }
.error-code { color: var(--teal); font-size: 176px; font-weight: 600; line-height: 1.2; }
.error-code span { display: block; transform: translateY(-15px); }
.error-code::after { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: #ff520a; margin: -26px auto 16px; }
.error-page h1 { margin: 0; font-size: 44px; line-height: 1.35; font-weight: 600; }
.error-description { max-width: 570px; margin: 12px auto 0; font-size: 18px; line-height: 28px; color: var(--muted); }
.error-actions { display: flex; justify-content: center; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 1px solid var(--teal); border-radius: 8px; background: var(--teal); color: white; font-weight: 600; }
.button:hover { background: #004e4b; text-decoration: none; }
.button-outline { background: white; color: var(--teal); }
.button-outline:hover { background: var(--soft); }
.site-footer { background: var(--soft); min-height: 300px; padding: 32px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 35.5% 1fr 270px; grid-template-rows: auto auto auto; column-gap: 24px; }
.footer-brand { grid-column: 1; grid-row: 1/3; }
.footer-brand img { display: block; width: 210px; height: auto; }
.footer-brand p { font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 23px; }
.footer-address { grid-column: 2; grid-row: 1/3; padding-top: 2px; }
.footer-address p { align-items: start; line-height: 25px; }
.footer-address .icon { margin-top: 3px; }
.footer-address .directions { margin-top: 20px; font-weight: 600; }
.footer-phones { grid-column: 3; grid-row: 1; }
.footer-phones .phone + .phone { margin-top: 14px; }
.footer-email { grid-column: 3; grid-row: 2; align-self: start; margin-top: 15px; text-decoration: underline; }
.footer-note { grid-column: 1/-1; grid-row: 3; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 19px; color: var(--muted); font-size: 14px; line-height: 22px; }
dialog { border: 1px solid var(--line); border-radius: 16px; padding: 28px; width: calc(100% - 32px); max-width: 560px; color: var(--ink); }
dialog::backdrop { background: #183c3977; }
dialog nav a { display: block; padding: 14px; }
@media (min-width: 1100px) {
  .header-address > .with-icon:first-child { font-weight: 600; }
  .error-code::after { margin-bottom: 12px; }
  .error-description { margin-top: 8px; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .header-content { grid-template-columns: 55% 45%; grid-template-rows: 137px 45px 61px; }
  .brand { margin-top: 25px; }
  .brand img { width: 200px; }
  .header-contact { grid-column: 2; grid-row: 1; padding-top: 19px; }
  .header-contact .phone:first-child { font-size: 22px; }
  .header-contact .phone + .phone { font-size: 18px; margin-top: 4px; }
  .header-address { grid-column: 1/-1; grid-row: 2; display: flex; align-items: center; gap: 30px; padding: 0; font-size: 14px; }
  .header-address .directions { margin: 0 0 0 auto; padding-right: 21%; }
  .opening-hours, .header-email { display: none; }
  .desktop-nav { display: flex; justify-content: space-between; gap: 16px; }
  .error-page { min-height: 576px; padding-top: 52px; }
  .error-page h1 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; column-gap: 48px; }
  .footer-brand { grid-row: 1; }
  .footer-address { grid-row: 1; }
  .footer-phones { grid-column: 1; grid-row: 2; margin-top: 27px; }
  .footer-phones .phone { font-size: 18px; }
  .footer-email { grid-column: 2; grid-row: 2; margin-top: 29px; }
  .footer-note { margin-top: 26px; }
  .site-footer { min-height: 380px; padding-bottom: 24px; }
}
@media (max-width: 599px) {
  .container { width: calc(100% - 40px); }
  .service-strip span:last-child { display: none; }
  .header-content { position: relative; grid-template-columns: 1fr; grid-template-rows: 92px 118px auto; }
  .brand { margin-top: 19px; }
  .brand img { width: 190px; }
  .has-menu .menu-toggle { display: grid; place-items: center; position: absolute; top: 27px; right: 0; width: 49px; height: 49px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--teal); }
  .menu-toggle .icon { width: 24px; height: 24px; }
  .header-contact { grid-row: 2; padding-top: 0; }
  .header-contact .phone:first-child { font-size: 21px; }
  .header-contact .phone + .phone { font-size: 18px; margin-top: 4px; }
  .call-notice { margin-top: 8px; }
  .header-address { grid-row: 3; padding: 12px 0 17px; border-top: 1px solid var(--line); font-size: 14px; }
  .header-address .directions { margin-top: 5px; font-size: 14px; }
  .opening-hours, .street-full, .header-email { display: none; }
  .street-short { display: inline; }
  .desktop-nav { display: flex; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
  .has-menu .desktop-nav { display: none; }
  .error-page { min-height: 614px; padding-top: 43px; padding-bottom: 100px; }
  .error-code { font-size: 116px; }
  .error-code span { transform: translateY(-5px); }
  .error-code::after { width: 32px; margin: -14px auto 13px; }
  .error-page h1 { font-size: clamp(23px, 7.18vw, 28px); line-height: 38px; }
  .error-description { max-width: 300px; font-size: 16px; line-height: 24px; margin-top: 5px; }
  .error-actions { flex-direction: column; margin-top: 21px; }
  .site-footer { min-height: 580px; padding: 32px 0; }
  .footer-grid { display: flex; flex-direction: column; }
  .footer-brand p { margin-top: 10px; }
  .footer-address { padding: 0; margin-top: 24px; }
  .footer-address .directions { margin-top: 20px; }
  .footer-phones { margin-top: 27px; }
  .footer-phones .phone + .phone { margin-top: 14px; }
  .footer-email { margin-top: 19px; }
  .footer-note { margin-top: 19px; padding-top: 16px; padding-right: 40px; }
}
