@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #11a4d9;
  --blue-light: #249eed;
  --green: #83b735;
  --orange: #f19d00;
  --text: #666;
  --title: #2d2a2a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: Poppins, Arial, Helvetica, sans-serif; margin: 0; color: var(--title); line-height: 1.3; }

.wrap { max-width: 1222px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.heading { margin-bottom: 36px; font-size: 36px; font-weight: 600; text-align: center; }
.heading span { color: var(--green); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 20; background: var(--blue); color: #fff; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; min-height: 110px; padding-top: 8px; padding-bottom: 8px; }
.header a { color: #fff; }
.logo img { display: block; width: 230px; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 auto 0 0; padding: 0; list-style: none; }
.menu a { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.callcenter { font-size: 13px; text-align: right; }
.callcenter a { display: block; font-size: 20px; font-weight: 700; }

/* Баннер */
.banner img { display: block; width: 100%; min-height: 180px; object-fit: cover; }
.banner h1 {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}

/* Три плашки */
.intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.intro p { margin: 0; padding: 22px 24px; border-radius: 10px; background: var(--blue-light); color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(36, 158, 237, .35); }

/* Преимущества */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 80px; margin: 0; padding: 0 60px; list-style: none; }
.benefits li { display: flex; gap: 22px; align-items: flex-start; }
.benefits img { flex: 0 0 54px; width: 54px; }
.benefits h3 { font-size: 18px; }
.benefits p { margin: 2px 0 0; }

/* Услуги */
.services { background: linear-gradient(180deg, #f19d00 28%, #ffc800 79%); color: #fff; clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); padding: 110px 0; }
.services .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.services h2 { font-size: 36px; font-weight: 600; color: #fff; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc { padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; font: 700 13px/1.4 Lato, Arial, Helvetica, sans-serif; text-transform: uppercase; cursor: pointer; }
.svc:hover { background: rgba(255, 255, 255, .28); }
.svc.wide { grid-column: 1 / -1; border-color: transparent; background: none; text-decoration: underline; }

.popup { width: min(800px, calc(100% - 32px)); max-height: calc(100% - 40px); padding: 0; border: 0; border-radius: 8px; color: var(--text); box-shadow: 0 10px 50px rgba(0, 0, 0, .4); }
.popup::backdrop { background: rgba(0, 0, 0, .7); }
.popup-body { padding: 34px 40px 26px; }
.popup h3 { margin-bottom: 16px; font-size: 24px; }
.popup p { margin: 0 0 12px; }
.popup ul { margin: 0 0 12px; padding-left: 20px; }
.popup .close { position: absolute; top: 6px; right: 10px; padding: 4px 8px; border: 0; background: none; font-size: 28px; line-height: 1; color: #999; cursor: pointer; }
.popup .close:hover { color: var(--title); }

/* О компании */
.about { display: grid; grid-template-columns: 449px 1fr; gap: 60px; align-items: center; }
.about small { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--orange); }
.about h2 { margin-bottom: 18px; font-size: 40px; font-weight: 600; }
.counters { display: flex; gap: 80px; margin-top: 32px; text-align: center; }
.counters b { display: block; font-size: 32px; color: var(--title); }

/* Партнёры */
.carousel { max-width: 1100px; margin: 0 auto; }
.partners { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.partners::-webkit-scrollbar { display: none; }
.partners li { flex: 0 0 20%; display: flex; align-items: center; justify-content: center; height: 150px; padding: 0 16px; scroll-snap-align: start; }
.partners img { display: block; max-width: 100%; max-height: 130px; width: auto; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #d5d5d5; cursor: pointer; }
.dots button.on { background: var(--title); }

/* Как мы работаем */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.work ol { margin: 0; padding: 0; list-style: none; }
.work li, .archive { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; padding: 14px 18px; border: 1px solid var(--blue); border-radius: 8px; box-shadow: 0 3px 10px rgba(17, 164, 217, .18); }
.work h3 { font-size: 20px; color: var(--blue); }
.work li p, .archive p { margin: 4px 0 0; font-size: 18px; color: var(--title); }
.work li img, .archive img { flex: 0 0 48px; width: 48px; }
.work .pic { text-align: center; }
.archive { flex-direction: row-reverse; justify-content: flex-end; margin-top: 16px; text-align: left; }

/* Контакты */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 0 0 40px; padding: 0; list-style: none; }
.people li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: start; }
.people img { width: 90px; height: 100px; object-fit: cover; border-radius: 6px; }
.people small { display: inline-block; margin-bottom: 6px; padding: 2px 8px; background: var(--blue-light); color: #fff; font-size: 11px; font-weight: 700; }
.people h3 { margin-bottom: 6px; font-size: 15px; }
.people p { margin: 0; overflow-wrap: anywhere; }
.subheading { margin: 0 0 28px; font-size: 22px; font-weight: 600; text-align: center; }
.subheading span { color: var(--green); }

/* Филиалы */
.offices { background: #f9f9f9; }
.office { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 20px 0; }
.office h2 { margin-bottom: 14px; font-size: 32px; }
.office ul { margin: 0; padding: 0; list-style: none; }
.office li { padding: 4px 0 4px 34px; background: left center / 20px no-repeat; }
.office .loc { background-image: url(../img/ico-location.png); }
.office .tel, .office .time { background-image: url(../img/ico-phone.png); }
.office iframe { display: block; width: 100%; height: 300px; border: 0; }

.footer { padding: 22px 0; font-size: 13px; text-align: center; }

@media (max-width: 1000px) {
  .intro, .benefits, .services .wrap, .about, .work, .office { grid-template-columns: 1fr; }
  .benefits { padding: 0; }
  .people { grid-template-columns: 1fr 1fr; }
  .about img { display: block; max-width: 300px; margin: 0 auto; }
  .services { clip-path: none; padding: 56px 0; }
  .services h2 { text-align: center; }
  .menu { margin: 0; }
  .partners li { flex-basis: 33.333%; }
}

@media (max-width: 600px) {
  .header { position: static; }
  .header .wrap { justify-content: center; text-align: center; }
  .callcenter { text-align: center; }
  .heading, .about h2 { font-size: 26px; }
  .svc-list, .people { grid-template-columns: 1fr; }
  .partners li { flex-basis: 50%; }
  .popup-body { padding: 30px 20px 18px; }
  .counters { gap: 30px; justify-content: center; }
  .section { padding: 36px 0; }
}
