:root {
  --orange: #f29a1f;
  --orange-dark: #df7d09;
  --orange-light: #ffc454;
  --ink: #222a33;
  --text: #4d5762;
  --muted: #727c86;
  --line: #dfe3e7;
  --paper: #fff;
  --page: #f2f4f5;
  --shell-width: 980px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, #fff 0 144px, transparent 144px),
    var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.top-line {
  height: 4px;
  background: linear-gradient(90deg, #f6b534, var(--orange), #f6b534);
}

.site-header {
  height: 140px;
  background: #fff;
}

.header-inner {
  position: relative;
  width: min(var(--shell-width), calc(100% - 32px));
  height: 140px;
  margin: 0 auto;
  background: url("assets/Logo_big.jpg") no-repeat right center / auto 140px;
}

.brand {
  position: absolute;
  top: 19px;
  left: 0;
  width: 340px;
  max-width: 52%;
  height: 66px;
  overflow: hidden;
  background: url("assets/Logo.jpg") no-repeat left center / contain;
  text-indent: -9999px;
}

.support {
  position: absolute;
  top: 27px;
  right: 0;
  color: #404850;
  font-size: 11px;
  letter-spacing: .01em;
  text-align: right;
}

.support a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.top-nav {
  position: absolute;
  top: 64px;
  right: 0;
  display: flex;
  flex-direction: row-reverse;
  list-style: none;
  font-size: 11px;
  letter-spacing: .02em;
}

.top-nav li + li {
  margin-right: 18px;
  padding-right: 18px;
  border-right: 1px solid #b7bdc2;
}

.top-nav a,
.footer-nav a {
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a[aria-current="page"],
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--orange-dark);
}

.site-shell {
  width: min(var(--shell-width), calc(100% - 32px));
  margin: -50px auto 0;
  overflow: hidden;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(36, 43, 50, .08);
}

.main-nav {
  position: relative;
  height: 50px;
  border-top: 4px solid var(--orange);
  background: #f5f6f7;
}

.main-nav ul {
  display: grid;
  height: 46px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.main-nav li {
  min-width: 0;
  border-right: 1px solid #d4d8dc;
  background: linear-gradient(180deg, #fff 0%, #edf0f2 100%);
}

.main-nav li:last-child {
  border-right: 0;
}

.main-nav a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--orange) 62%, #eb8a12 100%);
}

.main-nav a:focus-visible,
.top-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 3px solid rgba(242, 154, 31, .42);
  outline-offset: -3px;
}

.hero {
  height: 210px;
  background-color: #aeb8bc;
  background-position: center;
  background-size: cover;
}

.hero-home {
  background-image: url("assets/slide_1.jpg");
}

.section-ribbon {
  position: relative;
  min-height: 48px;
  padding: 13px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #343c44;
  font-size: 14px;
}

.section-ribbon::after {
  position: absolute;
  bottom: -7px;
  left: 30px;
  width: 12px;
  height: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.content {
  min-height: 150px;
  padding: 26px 30px 30px;
}

.internal-content {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--orange-dark);
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.content h1 {
  max-width: 880px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(21px, 2.15vw, 27px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.22;
}

.content h2 {
  margin: 22px 0 9px;
  color: var(--orange-dark);
  font-size: 17px;
  font-weight: 600;
}

.content p,
.content li {
  font-size: 15px;
}

.content p + p {
  margin-top: 13px;
}

.accent,
.content a {
  color: var(--orange-dark);
}

.content a:hover,
.content a:focus-visible {
  color: #b96300;
}

.service-list {
  display: grid;
  margin: 14px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 28px;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 17px;
}

.service-list li::before {
  position: absolute;
  top: .56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.guarantee {
  color: var(--orange-dark);
  font-weight: 500;
}

.service-list + .guarantee {
  margin-top: 18px;
}

.partners {
  padding: 19px 30px 18px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.partner-grid figure {
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: center;
}

.partner-grid img {
  width: min(170px, 92%);
  height: auto;
  filter: saturate(.92);
}

.phone-large {
  display: inline-block;
  margin: 4px 0;
  color: var(--ink) !important;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.02em;
  text-decoration: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  min-height: 177px;
  padding: 18px;
  border: 1px solid #e1e5e8;
  border-top: 3px solid var(--orange);
  border-radius: 4px;
  background: #fafbfb;
}

.contact-card h2 {
  margin-top: 0;
  color: var(--ink);
  font-size: 15px;
}

.contact-card address {
  font-size: 14px;
  font-style: normal;
}

.contact-card .contact-value {
  display: inline-block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
}

.breadcrumb {
  margin: 0 30px;
  padding: 13px 0 18px;
  border-top: 1px solid var(--line);
  color: var(--orange-dark);
  font-size: 10px;
  letter-spacing: .025em;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer {
  display: grid;
  width: min(var(--shell-width), calc(100% - 32px));
  min-height: 92px;
  margin: 17px auto 0;
  grid-template-columns: 1fr 480px;
  align-items: start;
  gap: 28px;
  color: var(--muted);
}

.copyright {
  padding-top: 5px;
  font-size: 10px;
}

.footer-nav {
  display: grid;
  width: 480px;
  max-width: 100%;
  align-self: start;
  justify-self: end;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 15px;
  list-style: none;
  font-size: 10px;
  line-height: 15px;
}

@media (max-width: 760px) {
  body {
    background: #fff;
  }

  .site-header {
    height: 152px;
  }

  .header-inner {
    height: 152px;
    background-position: right top;
    background-size: auto 145px;
  }

  .brand {
    top: 17px;
    width: 290px;
    max-width: 72%;
    height: 56px;
  }

  .support {
    top: 82px;
    left: 0;
    right: auto;
    text-align: left;
  }

  .top-nav {
    top: 112px;
    left: 0;
    right: auto;
    flex-direction: row;
  }

  .top-nav li + li {
    margin-right: 0;
    margin-left: 18px;
    padding-right: 0;
    padding-left: 18px;
    border-right: 0;
    border-left: 1px solid #b7bdc2;
  }

  .site-shell {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .main-nav {
    height: auto;
  }

  .main-nav ul {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav li:nth-child(2) {
    border-right: 0;
  }

  .main-nav li:nth-child(-n+2) {
    border-bottom: 1px solid #d4d8dc;
  }

  .main-nav a {
    min-height: 44px;
  }

  .hero {
    height: 168px;
  }

  .service-list,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .footer-nav {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: calc(100% - 28px);
  }

  .brand {
    max-width: 86%;
  }

  .support {
    font-size: 10px;
  }

  .support a {
    font-size: 13px;
  }

  .hero {
    height: 124px;
  }

  .section-ribbon {
    padding-right: 18px;
    padding-left: 18px;
    font-size: 13px;
  }

  .section-ribbon::after {
    left: 22px;
  }

  .content {
    padding: 23px 20px 25px;
  }

  .content h1 {
    font-size: 22px;
  }

  .content p,
  .content li {
    font-size: 14px;
  }

  .service-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .partners {
    padding-right: 20px;
    padding-left: 20px;
  }

  .partner-grid figure {
    min-height: 62px;
  }

  .breadcrumb {
    margin-right: 20px;
    margin-left: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .main-nav a {
    transition: none;
  }
}
