:root {
  --blue: #0f93fe;
  --blue-deep: #016bc1;
  --blue-dark: #0a62a9;
  --lime: #deff4f;
  --white: #fff;
  --head: "Archivo", "Arial Black", sans-serif;
  --body: "Nunito Sans", "Avenir Next", Avenir, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 130px; }
body { margin: 0; font: 300 18px/1.55 var(--body); color: var(--white); background: var(--blue); }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--head); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; line-height: 1.2; margin: 0; }
h3 { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(980px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.btn { display: inline-block; padding: 12px 27px; border: 0; background: var(--lime); color: var(--blue); font: 700 22px/1.4 var(--body); cursor: pointer; }
.btn:hover { background: var(--white); }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; }
.topbar { display: flex; justify-content: flex-end; align-items: stretch; height: 48px; background: var(--white); }
.topbar .social { display: flex; align-items: center; gap: 24px; padding-right: 42px; color: var(--blue); }
.social a { display: block; }
.social svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.topphone { display: flex; align-items: center; justify-content: center; width: 211px; background: var(--lime); color: var(--blue); font-size: 20px; }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 77px; padding: 0 54px 0 50px; background: var(--blue); }
.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand img { width: 38px; height: auto; }
.brand span { font: 800 19px/1.2 var(--head); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; }
nav { display: flex; align-items: center; justify-content: space-between; flex: 1; max-width: 770px; }
nav > ul { display: flex; flex: 1; justify-content: space-around; list-style: none; margin: 0; padding: 0; }
nav li { position: relative; font-size: 16px; font-weight: 400; }
nav li > a { display: block; padding: 8px 0; }
nav li.on > a, nav li > a:hover { color: var(--lime); }
.has-drop ul { position: absolute; top: 100%; left: 50%; translate: -50% 0; min-width: 220px; margin: 0; padding: 6px 0; list-style: none; background: var(--blue-deep); opacity: 0; visibility: hidden; transition: opacity .15s; }
.has-drop:hover ul, .has-drop:focus-within ul { opacity: 1; visibility: visible; }
.has-drop ul a { display: block; padding: 8px 18px; white-space: nowrap; }
.has-drop ul a:hover { color: var(--lime); }
.book { color: var(--lime); font-weight: 700; font-size: 20px; margin-left: 24px; }
.burger { display: none; width: 44px; height: 44px; padding: 10px 8px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; margin-bottom: 8px; background: var(--white); }

/* home */
.hero { position: relative; display: grid; place-items: center; min-height: 743px; padding: 60px 16px; overflow: hidden; background: var(--blue-dark); }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 40, 80, .38); }
.hero-in { position: relative; z-index: 1; max-width: 760px; text-align: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 64px); letter-spacing: .02em; }
.hero p { max-width: 500px; margin: 44px auto 34px; font-size: 24px; line-height: 1.4; }
.callband { padding: 54px 16px; background: var(--blue-deep); text-align: center; font-size: clamp(24px, 3vw, 36px); letter-spacing: .08em; }
.why { padding: 110px 0 100px; background: var(--lime); color: var(--blue); text-align: center; }
.why h2 { font-size: 32px; }
.why ul { display: flex; justify-content: space-between; gap: 24px; margin-top: 90px; padding: 0; list-style: none; text-align: left; }
.why li { flex: 1; max-width: 200px; padding-left: 22px; border-left: 1px solid var(--blue); font-weight: 700; font-size: 24px; line-height: 1.35; }
.said { position: relative; padding: 110px 110px 40px; background: var(--blue-dark); text-align: center; min-height: 440px; }
.slide { display: none; max-width: 500px; margin-inline: auto; }
.slide.on { display: block; }
.slide h2 { font-size: 32px; }
.slide p { margin: 24px 0 0; font-size: 16px; font-weight: 400; }
.arrow { position: absolute; top: 50%; width: 30px; height: 30px; padding: 0; border: 0; border-top: 2px solid var(--blue); border-left: 2px solid var(--blue); background: none; cursor: pointer; }
.arrow.prev { left: 106px; rotate: -45deg; }
.arrow.next { right: 106px; rotate: 135deg; }
.dots { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; gap: 14px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--blue); opacity: .55; cursor: pointer; }
.dots button.on { opacity: 1; }
.contact { padding: 110px 0 12px; background: var(--white); color: var(--blue); text-align: center; }
.contact h2 { font-size: 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 70px; text-align: left; }
.contact iframe { width: 100%; height: 100%; min-height: 330px; border: 0; }
.quote-form { display: grid; gap: 12px; padding-bottom: 20px; font-weight: 400; font-size: 16px; }
.quote-form label { display: grid; gap: 4px; }
.quote-form input, .quote-form textarea { width: 100%; padding: 10px; border: 1px solid var(--blue); border-radius: 0; font: 400 16px var(--body); color: #123; background: var(--white); }
.quote-form .btn { justify-self: start; font-size: 18px; padding: 8px 32px; background: var(--blue); color: var(--white); }
.quote-form .btn:hover { background: var(--blue-deep); }
.form-msg { margin: 0; font-weight: 700; }
.band { height: 62px; background: var(--blue-deep); }

/* about */
.about { background: var(--lime); color: var(--blue); padding: 34px 40px 44px; font-weight: 400; }
.about-top { max-width: 712px; margin-inline: auto; font-size: 20px; line-height: 28px; }
.about-top h1 { margin-bottom: 76px; font-size: 56px; text-align: center; letter-spacing: .18em; }
.about-top p { margin: 0; }
.about-top ul { margin: 28px 0; padding-left: 36px; }
.quality { max-width: 1360px; margin: 26px auto 0; padding: 86px 40px 60px; background: var(--blue-dark); color: var(--white); font-size: 20px; line-height: 28px; }
.quality h2 { font-size: 40px; text-align: center; letter-spacing: .18em; margin-bottom: 42px; }
.qrow { display: grid; grid-template-columns: 290px 1fr; max-width: 900px; margin: 0 auto 66px; }
.qrow h3 { font-weight: 300; font-size: 24px; }
.qrow p { margin: 0; }
.qrow ul { margin: 0; padding-left: 36px; }

/* services grid */
.grid-page { padding: 95px 16px 32px; background: var(--blue-deep); }
.grid { display: grid; grid-template-columns: repeat(3, 275px); justify-content: center; gap: 12px 72px; }
.card { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.card .pic { display: block; width: 100%; }
.card img { width: 100%; }
.more { padding: 8px 32px; background: var(--blue); font-size: 15px; font-weight: 400; letter-spacing: .04em; }
.more:hover { background: var(--lime); color: var(--blue); }

/* services text */
.services-page { padding: 100px 0 80px; text-align: center; font-size: 16px; font-weight: 400; }
.services-page h1 { font-size: 36px; }
.services-page .lead { margin: 36px 0 44px; font-size: 20px; line-height: 28px; font-weight: 300; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.cols3 img { width: 150px; height: 150px; margin: 0 auto 24px; border-radius: 50%; object-fit: cover; }
.cols3 h2 { font: 300 21px/28px var(--body); text-transform: none; letter-spacing: 0; margin-bottom: 36px; min-height: 56px; }
.cols3 p { margin: 0; }
.cols3 ul { margin: 0; padding: 0; list-style-position: inside; }

/* service pages */
.service { padding: 34px 0 110px; color: var(--lime); }
.service h1 { font-size: 50px; text-align: center; letter-spacing: .06em; }
.service .sub { margin: 22px 0 28px; font: 800 26px/1.4 var(--head); font-stretch: 125%; text-align: center; letter-spacing: .04em; text-transform: uppercase; }
.intro p { margin: 0; font-size: 20px; line-height: 28px; }
.service h2 { margin: 42px 0 28px; font-size: 22px; letter-spacing: .14em; }
.row.with-img { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.row.with-img > img { margin-top: 42px; }
.row dl { margin: 0; font-size: 20px; line-height: 28px; }
.row dt { font-weight: 700; }
.row dd { margin: 0; }
.row ul { margin: 0; padding-left: 36px; font-size: 20px; line-height: 28px; }
.method { display: grid; grid-template-columns: 300px 1fr; gap: 24px; margin-top: 30px; text-align: center; font-weight: 400; }
.method:nth-child(even of .method) { grid-template-columns: 1fr 300px; }
.method:nth-child(even of .method) img { order: 2; }
.method p { margin: 0; }
.cta { margin: 44px 0 0; text-align: center; }

/* footer */
.site-foot { background: var(--blue); padding-top: 86px; font-size: 16px; font-weight: 400; }
.foot-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 60px; }
.foot-grid h2 { font-size: 30px; margin-bottom: 40px; letter-spacing: .06em; white-space: nowrap; }
.foot-grid h3 { margin-bottom: 42px; font: 700 26px/1.2 var(--body); letter-spacing: .04em; }
.foot-grid p { margin: 0; line-height: 28px; }
.foot-grid hr { width: 60px; margin: 18px 0 60px; border: 0; border-top: 1px solid var(--white); }
.foot-grid .social { display: flex; gap: 20px; margin-top: 100px; }
.rights { margin: 0; padding: 10px 16px; background: var(--white); color: var(--blue-dark); text-align: center; font-size: 16px; letter-spacing: .04em; margin-top: 14px; }

@media (max-width: 1180px) {
  .navbar { padding: 8px 16px; flex-wrap: wrap; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand span { font-size: 15px; }
  .burger { display: block; flex: none; }
  nav { display: none; flex: 0 0 100%; max-width: none; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  nav.open { display: flex; }
  nav > ul { flex-direction: column; }
  .has-drop ul { position: static; translate: none; opacity: 1; visibility: visible; background: none; padding: 0 0 0 16px; }
  .book { margin: 8px 0 0; }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 275px)); gap: 24px; }
  .cols3, .foot-grid, .contact-grid { grid-template-columns: 1fr; }
  .cols3 h2 { min-height: 0; margin-bottom: 16px; }
  .row.with-img, .method, .method:nth-child(even of .method) { grid-template-columns: 1fr; }
  .method:nth-child(even of .method) img { order: 0; }
  .row img, .method img { margin-inline: auto; }
  .why ul { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .why li { max-width: none; font-size: 20px; }
  .why { padding: 50px 0; }
  .said { padding: 60px 56px 70px; min-height: 0; }
  .arrow.prev { left: 22px; }
  .arrow.next { right: 22px; }
  .contact { padding-top: 50px; }
  .contact-grid { margin-top: 32px; }
  .foot-grid { gap: 36px; }
  .foot-grid h2, .foot-grid h3 { margin-bottom: 14px; }
  .foot-grid hr { margin-bottom: 18px; }
  .foot-grid .social { margin-top: 24px; }
  .qrow { grid-template-columns: 1fr; gap: 10px; margin-bottom: 36px; }
  .quality { padding: 40px 20px; }
  .quality h2 { font-size: 26px; letter-spacing: .1em; }
  .about { padding: 34px 16px; }
  .about-top h1 { font-size: 36px; margin-bottom: 36px; }
  .service h1 { font-size: 32px; }
  .service .sub { font-size: 18px; }
  .hero { min-height: 560px; }
  .hero p { font-size: 20px; margin: 24px auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar .social { padding-right: 20px; gap: 16px; }
  .topphone { width: 170px; font-size: 17px; }
  .brand span { font-size: 11px; letter-spacing: .1em; }
  .brand img { width: 30px; }
  h1, h2 { overflow-wrap: anywhere; }
  .grid { grid-template-columns: minmax(0, 275px); }
  .why h2, .contact h2, .slide h2 { font-size: 24px; }
  .why li { font-size: 18px; padding-left: 12px; }
  .intro p, .row dl, .row ul { font-size: 17px; line-height: 25px; }
  .about-top, .quality { font-size: 17px; line-height: 25px; }
  .service h2 { font-size: 18px; }
  .foot-grid h2 { font-size: 26px; }
}
