:root {
  color: #26292d;
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body { margin: 0; }

a { color: inherit; }
a:hover { color: #dd0324; }
a:focus-visible { outline: 3px solid #dd0324; outline-offset: 4px; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.container { width: min(100% - 40px, 1140px); margin-inline: auto; }

.header { background: #fff; }
.header-top { border-bottom: 1px solid #efefef; color: #676b73; font-size: 13px; }
.header-top-inner { display: flex; justify-content: flex-end; align-items: center; gap: 30px; min-height: 38px; }
.header-top a { color: #00aeef; font-weight: 600; text-decoration: none; }
.header-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 120px; }
.header-logo { display: block; max-width: 100%; height: auto; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.header-phone a { font-size: 22px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone span { color: #676b73; font-size: 13px; }

.main { flex: 1; background: #f7f7f7; padding: clamp(48px, 7vw, 94px) 0 80px; }
.eyebrow { color: #dd0324; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin: 15px 0 26px; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
.lead { max-width: 790px; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.48; }
.notice-note { margin: 22px 0 0; color: #676b73; font-size: 17px; line-height: 1.5; }

.contacts { margin-top: clamp(50px, 7vw, 85px); padding: 34px 40px 30px; background: #fff; box-shadow: 0 16px 45px rgba(38, 41, 45, .06); border-radius: 4px; }
.contacts::before { content: ""; display: block; width: 70px; height: 4px; margin-bottom: 22px; background: linear-gradient(90deg, #dd0224, #f5492f); }
h2 { margin: 7px 0 26px; font-size: 32px; line-height: 1.2; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 42px; }
.contact-item { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 18px; }
.contact-label { color: #676b73; font-size: 13px; }
.contact-item a { width: fit-content; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.hours { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid #efefef; color: #676b73; font-size: 14px; line-height: 1.5; }

.footer { background: #fff; }
.footer::before { content: ""; display: block; height: 15px; background: linear-gradient(90deg, #dd0224, #f5492f); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 32px; }
.footer-logo { display: block; max-width: 100%; height: auto; }
.social { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.social a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 14px; font-weight: 600; }
.social img, .vk-icon { display: block; width: 36px; height: 36px; border-radius: 9px; }
.vk-icon { display: grid; place-items: center; background: #0077ff; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -.06em; }

@media (max-width: 650px) {
  .header-top-inner { justify-content: center; flex-wrap: wrap; gap: 4px 18px; padding-block: 8px; text-align: center; }
  .header-main { min-height: 100px; }
  .header-logo { width: 170px; }
  .header-phone a { font-size: 17px; }
  .contact-grid { grid-template-columns: 1fr; gap: 23px; }
  .contacts { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 32px, 1140px); }
  .header-main { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding-block: 20px; }
  .header-phone { align-items: flex-start; }
  .main { padding-bottom: 56px; }
}
