:root {
  --page-bg: #ebe8e6;
  --ink: #000000;
  --rule: rgba(0, 0, 0, 0.62);
  --max: 1510px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Poppins, "Roboto Slab", "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

.section-wrap,
.site-header {
  width: min(var(--max), calc(100% - 88px));
  margin: 0 auto;
}

.site-header {
  padding-top: 52px;
}

.logo-link {
  display: inline-block;
}

.site-logo {
  width: 350px;
}

.hero {
  padding-top: 64px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  text-align: center;
  font-size: clamp(38px, 3.05vw, 55px);
  line-height: 1.12;
  font-weight: 800;
}

h2 {
  text-align: center;
  font-size: clamp(34px, 2.8vw, 52px);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding-top: 66px;
}

.image-pad {
  padding: 0 26px;
}

.cta-panel {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 30px 84px;
  text-align: center;
}

.cta-copy {
  max-width: 550px;
  font-size: 17px;
  line-height: 1.24;
}

.button-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  border: 2px solid var(--ink);
  background: #f7f6f5;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 86px 0 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding-top: 96px;
}

.copy-block {
  padding: 0 62px;
  text-align: center;
}

.copy-block h2 {
  margin-bottom: 45px;
}

.copy-block p,
.services-copy,
.service-grid p {
  font-family: Calibri, Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.38;
}

.about-image {
  padding-left: 20px;
  padding-right: 0;
}

.services {
  padding-top: 40px;
  text-align: center;
}

.wide-image {
  width: min(1024px, 72%);
  margin: 0 auto;
}

.services h2 {
  margin-top: 70px;
}

.services-copy {
  width: min(1210px, 92%);
  margin: 62px auto 0;
}

.btl-image {
  margin-top: 76px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 58px;
}

.service-grid article {
  padding: 0 12px;
}

.service-grid h3 {
  margin-bottom: 42px;
}

.testimonials {
  padding-top: 204px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 134px;
  margin-top: 78px;
}

blockquote {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.52;
}

cite {
  display: block;
  margin-top: 36px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.25;
}

cite span {
  display: block;
  font-size: 11px;
}

.site-footer {
  padding-top: 58px;
  padding-bottom: 68px;
  text-align: center;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 140px;
}

.trust-logos img {
  justify-self: center;
  max-width: 300px;
}

.site-footer p {
  margin-top: 66px;
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .section-wrap,
  .site-header {
    width: min(100% - 44px, 760px);
  }

  .site-header {
    padding-top: 34px;
  }

  .site-logo {
    width: 250px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-grid {
    padding-top: 46px;
  }

  .cta-panel {
    min-height: auto;
    padding: 18px 22px 0;
  }

  .about {
    padding-top: 66px;
  }

  .copy-block {
    padding: 0;
  }

  .copy-block h2 {
    margin-bottom: 28px;
  }

  .about-image,
  .image-pad {
    padding: 0;
  }

  .wide-image {
    width: 100%;
  }

  .service-grid,
  .testimonial-grid,
  .trust-logos {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 44px;
  }

  .service-grid h3 {
    margin-bottom: 18px;
  }

  .testimonials {
    padding-top: 110px;
  }

  .testimonial-grid {
    gap: 54px;
  }

  .trust-logos {
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .section-wrap,
  .site-header {
    width: min(100% - 28px, 430px);
  }

  .site-logo {
    width: 210px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .cta-copy {
    font-size: 15px;
  }

  hr {
    margin-top: 58px;
  }

  .services h2 {
    margin-top: 48px;
  }

  .services-copy {
    margin-top: 36px;
  }

  .btl-image {
    margin-top: 52px;
  }

  blockquote {
    font-size: 17px;
  }

  .site-footer p {
    font-size: 12px;
  }
}
