:root {
  --blue: #147fbe;
  --blue-dark: #0876b8;
  --text: #252a31;
  --muted: #4b5966;
  --pale: #eaf4fb;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.psd-exact {
  display: none;
}

img {
  display: block;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1652px, calc(100% - 64px));
  margin: 0 auto;
}

.section { padding: 136px 0 116px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.nav {
  height: 121px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img { width: 200px; height: auto; }

.menu {
  display: flex;
  gap: 54px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.menu a:hover { opacity: .8; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 4px;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  min-height: 941px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,117,183,.96) 0%, rgba(18,132,197,.9) 49%, rgba(48,154,211,.74) 100%),
    url("assets/hero-bg-clean.png") center top / cover no-repeat,
    #147fbe;
  overflow: hidden;
}

.hero-inner {
  min-height: 941px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 118px;
}

.hero-copy {
  padding-top: 52px;
}

.hero h1 {
  margin: 0 0 24px;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: clamp(58px, 5.25vw, 118px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p {
  margin: 0 0 43px;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.hero-actions { display: flex; gap: 20px; }

.btn {
  display: inline-flex;
  min-width: 202px;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 30px;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid transparent;
}

.btn-white { background: #fff; color: var(--blue); }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-blue { min-width: 192px; background: var(--blue); color: #fff; }
.btn-outline-blue { min-width: 252px; min-height: 62px; border-color: var(--blue); color: var(--blue); background: #fff; }

.hero-media {
  justify-self: end;
  width: min(680px, 100%);
  margin-top: 30px;
  margin-right: 110px;
  position: relative;
}

.hero-media img { width: 100%; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: -20px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.slider-dots .active { background: #fff; }

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 170px;
  align-items: center;
}

.quality-image {
  position: relative;
  min-height: 640px;
}

.quality-image .quality-composite {
  width: 822px;
  max-width: 100%;
  height: auto;
}

.quality-copy { max-width: 740px; }

h2, h3 {
  font-family: "Nunito Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.quality h2 {
  margin: 0 0 35px;
  color: var(--blue);
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.12;
  font-weight: 800;
}

.quality p {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 600;
}

.quality h3 {
  margin: 34px 0 15px;
  color: var(--blue);
  font-size: 26px;
  line-height: 1.2;
}

.section-heading {
  max-width: 1110px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
  align-items: start;
}

.product-card {
  text-align: center;
}

.product-image {
  height: 250px;
  display: flex;
  align-items: end;
  justify-content: center;
  margin-bottom: 50px;
}

.product-card img {
  max-height: 250px;
  width: auto;
}

.product-card h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
}

.product-card p {
  min-height: 108px;
  margin: 0 0 30px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.why {
  min-height: 683px;
  padding: 120px 0 116px;
  color: #fff;
  background:
    linear-gradient(rgba(5,128,194,.84), rgba(5,128,194,.84)),
    url("assets/why-bg-clean.png") center / cover no-repeat,
    #1686c5;
}

.why h2 {
  margin: 0 0 88px;
  text-align: center;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
}

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

.why-grid article {
  min-height: 322px;
  padding: 30px 64px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.42);
}

.why-grid article:last-child { border-right: 0; }

.why-grid img {
  height: 104px;
  width: auto;
  margin: 0 auto 42px;
  object-fit: contain;
}

.why-grid h3 {
  max-width: 265px;
  margin: 0 auto 20px;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
}

.why-grid p {
  max-width: 250px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 752px;
  gap: 110px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 735px;
  margin: 0 0 36px;
  color: var(--blue);
  font-size: clamp(36px, 3.5vw, 56px);
  line-height: 1.12;
  font-weight: 800;
}

.contact-copy > p {
  max-width: 805px;
  margin: 0 0 52px;
  font-size: 16px;
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  align-items: center;
  font-size: 15px;
}

.contact-list span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--pale);
  font-size: 28px;
  font-weight: 900;
}

.contact-list strong {
  font-weight: 700;
}

.contact-list a,
.contact-list strong {
  color: var(--blue);
}

.contact-form {
  padding: 48px 84px 84px;
  background: var(--pale);
  text-align: center;
}

.contact-form h3 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

.contact-form p {
  margin: 0 0 42px;
  font-size: 14px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

input, textarea {
  width: 100%;
  min-height: 73px;
  margin: 0 0 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 32px;
  background: #fff;
  color: var(--text);
  font: 700 14px "Nunito Sans", Arial, sans-serif;
}

textarea {
  min-height: 153px;
  resize: vertical;
  border-radius: 32px;
  padding-top: 30px;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.contact-form button {
  width: 100%;
  min-height: 73px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  padding: 70px 0 36px;
  color: #fff;
  background: var(--blue-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 190px 285px 250px;
  gap: 90px;
  align-items: start;
  padding-bottom: 60px;
}

.footer-logo img {
  width: 300px;
}

.site-footer h3 {
  margin: 0 0 30px;
  font-size: 17px;
  font-weight: 800;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 34px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.footer-bottom span { margin: 0 28px; }

@media (max-width: 1200px) {
  .product-grid,
  .why-grid { gap: 28px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { max-width: 752px; }
  .quality-grid { gap: 70px; }
  .hero-media { margin-right: 0; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 36px, 720px); }
  .section { padding: 80px 0; }

  .nav { height: 88px; }
  .brand img { width: 160px; }
  .menu-toggle { display: block; }
  .menu {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    padding: 22px 18px;
    background: rgba(0,111,179,.96);
    gap: 18px;
    flex-direction: column;
  }
  .menu.open { display: flex; }

  .hero,
  .hero-inner { min-height: 760px; }
  .hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 25px;
    padding-top: 90px;
  }
  .hero-copy { padding-top: 0; }
  .hero-media {
    justify-self: center;
    width: min(470px, 90%);
    order: -1;
    opacity: .96;
  }

  .quality-grid,
  .product-grid,
  .why-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .quality-image { min-height: 500px; }
  .quality-image .quality-composite { width: 100%; }
  .why-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.38); }
  .why-grid article:last-child { border-bottom: 0; }
  .footer-grid { gap: 36px; }
}

@media (max-width: 560px) {
  .hero-actions,
  .form-row { grid-template-columns: 1fr; display: grid; }

  .hero h1 { font-size: 54px; }
  .hero p { font-size: 16px; }
  .btn { width: 100%; min-width: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card p { min-height: 0; }
  .contact-list li { grid-template-columns: 56px 1fr; gap: 18px; }
  .contact-list span { width: 56px; height: 56px; font-size: 22px; }
  .contact-form { padding: 36px 22px; }
  .footer-logo img { width: 230px; }
  .footer-bottom span { display: block; opacity: 0; height: 2px; }
}

@media (min-width: 901px) {
  .site-header,
  main,
  .site-footer {
    display: none;
  }

  .psd-exact {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background: #fff;
  }

  .psd-exact img {
    width: 100%;
    height: auto;
  }

  .hotspot {
    position: absolute;
    display: block;
  }

  .nav-home { left: 66.7%; top: 1.02%; width: 3.4%; height: .8%; }
  .nav-about { left: 73.1%; top: 1.02%; width: 3.6%; height: .8%; }
  .nav-products { left: 79.4%; top: 1.02%; width: 5.2%; height: .8%; }
  .nav-contact { left: 88.0%; top: 1.02%; width: 4.8%; height: .8%; }
  .hero-contact { left: 7.0%; top: 13.38%; width: 10.5%; height: 1.52%; }
  .hero-products { left: 18.4%; top: 13.4%; width: 10.5%; height: 1.5%; }
}
