:root {
  --gold: #d89a27;
  --gold-dark: #a97014;
  --ink: #2f3338;
  --muted: #707782;
  --paper: #ffffff;
  --soft: #eef3f9;
  --line: #e5e9ef;
  --shadow: 0 18px 45px rgba(31, 38, 50, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.hero {
  min-height: 720px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(9, 13, 19, .86), rgba(9, 13, 19, .48)),
    url("https://autoboxgbo.com/wp-content/uploads/2021/06/main-slide-autobox.jpg") center / cover;
  position: relative;
  overflow: hidden;
}

.hero::after,
.contact::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  height: 84px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero::after {
  bottom: -38px;
}

.topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.nav-actions {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.nav-actions a {
  opacity: .82;
}

.nav-actions a:hover {
  opacity: 1;
}

.hero__content {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: clamp(36px, 8vw, 140px);
}

.hero__copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #2d81d7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.14;
}

h3 {
  font-size: 17px;
  line-height: 1.3;
}

.lead {
  max-width: 500px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.phone-list {
  margin-top: 34px;
  padding-left: 22px;
  border-left: 4px solid #2d81d7;
  display: grid;
  gap: 6px;
}

.phone-list span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.phone-list a {
  width: fit-content;
  font-size: 24px;
  font-weight: 800;
}

.consult-form {
  padding: 34px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.consult-form h2 {
  margin-bottom: 8px;
  font-size: 22px;
  text-align: center;
}

.consult-form p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.consult-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.consult-form span {
  font-size: 12px;
  color: var(--muted);
}

.consult-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font: inherit;
}

.consult-form input:focus {
  outline: 2px solid rgba(216, 154, 39, .28);
  border-color: var(--gold);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

button,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  background: var(--gold);
  color: #fff;
  font: 800 13px/1 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover,
.btn:hover {
  background: var(--gold-dark);
}

.btn--light {
  background: #fff;
  color: var(--gold-dark);
}

.btn--light:hover {
  background: #f6f2ea;
}

.section {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.intro__media {
  min-height: 390px;
  position: relative;
}

.intro__photo {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro__photo--small {
  width: 42%;
  top: 12px;
  left: 8%;
  aspect-ratio: 4 / 3;
  border: 8px solid #fff;
}

.intro__photo--main {
  width: 68%;
  right: 4%;
  top: 95px;
  aspect-ratio: 4 / 3;
}

.experience {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 126px;
  padding: 18px 12px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.experience strong {
  display: block;
  font-size: 45px;
  line-height: 1;
  color: var(--gold-dark);
}

.experience span {
  color: var(--muted);
  font-size: 13px;
}

.intro__copy p {
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 34px;
}

.service-card {
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
  text-align: center;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.service-card a {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}

.benefits,
.contact {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(216, 154, 39, .92), rgba(216, 154, 39, .92)),
    url("https://autoboxgbo.com/wp-content/uploads/2021/06/autoboxgbo-8-650x385.jpg") center / cover;
}

.benefits__inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 58px;
}

.benefits .eyebrow {
  color: rgba(255, 255, 255, .72);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefits__grid p,
.benefits__headline p {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.section-title {
  max-width: 640px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title p {
  color: var(--muted);
}

.master-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  text-align: center;
}

.master-list img {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
}

.master-list h3 {
  margin-bottom: 2px;
}

.master-list span {
  color: #2d81d7;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery {
  padding-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery a {
  overflow: hidden;
  background: #ddd;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery a:hover img {
  transform: scale(1.04);
}

.reviews {
  width: 100%;
  padding: 92px max(20px, calc((100% - 1040px) / 2));
  background: var(--soft);
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.review-list article {
  padding: 34px 28px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.review-list p {
  color: var(--muted);
  font-size: 14px;
}

.review-list span {
  color: var(--gold);
  letter-spacing: 0;
}

.contact {
  overflow: hidden;
}

.contact::before {
  top: -45px;
}

.contact__inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 92px;
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.contact__copy p {
  color: rgba(255, 255, 255, .86);
}

.contact__copy span {
  display: block;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.contact__copy a {
  display: inline-block;
  margin-top: 6px;
  font-size: 25px;
  font-weight: 800;
}

iframe {
  width: 100%;
  min-height: 330px;
  border: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

footer {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-bottom: 90px;
  }

  .topbar,
  .nav-actions {
    align-items: flex-start;
  }

  .nav-actions {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero__content,
  .intro,
  .benefits__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    margin-top: 28px;
  }

  .consult-form {
    max-width: 460px;
  }

  .services,
  .benefits__grid,
  .master-list,
  .gallery,
  .review-list {
    grid-template-columns: 1fr;
  }

  .intro__media {
    min-height: 320px;
  }

  .gallery {
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: min(100% - 28px, 1180px);
    padding-top: 18px;
  }

  .brand img {
    width: 78px;
  }

  .nav-actions {
    font-size: 12px;
  }

  .hero__content,
  .section,
  .benefits__inner,
  .contact__inner,
  footer {
    width: calc(100% - 28px);
  }

  .consult-form {
    padding: 24px;
  }

  .section,
  .reviews {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .intro__photo--small {
    left: 0;
  }

  .intro__photo--main {
    width: 76%;
    right: 0;
  }

  .experience {
    right: 8px;
  }

  .service-card div {
    padding: 22px 18px;
  }

  .master-list {
    gap: 34px;
  }

  footer {
    display: grid;
    gap: 10px;
  }
}
