:root {
  --bg: #070807;
  --panel: #141414;
  --text: #f5f5f3;
  --muted: #b7b7b7;
  --yellow: #ffd235;
  --yellow-dark: #d1aa17;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

.site-header {
  position: absolute;
  top: 35px;
  left: 66px;
  right: 66px;
  z-index: 5;
  display: grid;
  grid-template-columns: 210px 1fr 205px;
  align-items: center;
}

.brand {
  display: block;
  width: 169px;
  height: 48px;
  overflow: hidden;
}

.brand img,
.footer-logo {
  display: block;
  width: 252px;
  height: auto;
  transform-origin: left top;
}

.brand img {
  transform: scale(0.61);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 57px;
  color: #c3c3c3;
  font-size: 18px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-bottom: 15px;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 57px;
  height: 2px;
  background: var(--yellow);
}

.quote,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.quote-top {
  justify-self: end;
  width: 203px;
  height: 49px;
  background: var(--yellow);
  color: #171717;
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  top: -72px;
  right: 0;
  width: 100%;
  height: auto;
  min-height: 911px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.72) 0%, rgba(7, 8, 7, 0.34) 31%, rgba(7, 8, 7, 0.02) 57%, rgba(7, 8, 7, 0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 7, 0.86) 6%, rgba(7, 8, 7, 0) 20%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 690px;
  padding: 272px 0 0 66px;
}

.hero h1 {
  margin: 0;
  color: #f4f4f4;
  font-size: 46px;
  line-height: 1.13;
  font-weight: 700;
}

.hero p {
  width: 492px;
  margin: 34px 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.button-primary {
  width: 171px;
  height: 48px;
  background: var(--yellow);
  color: #151515;
  font-size: 16px;
}

.whatsapp {
  position: fixed;
  right: 78px;
  top: 628px;
  z-index: 8;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #19d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.25);
}

.whatsapp span {
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50%;
  position: relative;
}

.whatsapp span::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -5px;
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(0 0, 100% 35%, 15% 100%);
}

.whatsapp span::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 12px;
  height: 16px;
  border: solid #fff;
  border-width: 0 0 4px 4px;
  transform: rotate(-36deg);
  border-radius: 2px;
}

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  align-items: start;
  padding: 84px 66px 0;
  min-height: 865px;
}

.about-photo {
  width: calc(100% - 17px);
  height: 655px;
  object-fit: cover;
  object-position: 42% center;
  filter: grayscale(100%);
}

.about-copy {
  padding-top: 116px;
  padding-left: 112px;
  width: 100%;
  max-width: 500px;
}

.about h2,
.services-intro h2,
.why h2 {
  margin: 0;
  font-size: 60px;
  line-height: 1.13;
  font-weight: 700;
}

.about p {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.about ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: #bdbdbd;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}

.services {
  padding: 0 66px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.service-card {
  min-height: 238px;
  padding: 47px 18px 28px;
  border-radius: 8px;
  background: var(--panel);
}

.service-card img {
  display: block;
  width: 74px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 25px;
}

.service-card h3 {
  margin: 0;
  color: #d6d6d6;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 700;
}

.service-card p {
  margin: 8px 0 0;
  color: #d1d1d1;
  font-size: 16px;
  line-height: 1.22;
  font-weight: 600;
}

.services-intro {
  grid-column: span 2;
  min-height: 238px;
  padding: 5px 18px 0 20px;
}

.services-intro p {
  margin: 28px 0 0;
  color: #c2c2c2;
  font-size: 18px;
  line-height: 1.52;
  font-weight: 500;
}

.why {
  padding: 112px 66px 125px;
}

.why-panel {
  min-height: 604px;
  border-radius: 42px;
  background: var(--panel);
  padding: 80px 100px 70px;
}

.why h2 {
  text-align: center;
  font-size: 60px;
}

.why p {
  max-width: 1048px;
  margin: 37px auto 0;
  color: #bdbdbd;
  text-align: center;
  font-size: 18px;
  line-height: 1.52;
  font-weight: 600;
}

.outline-tags,
.solid-tags {
  display: flex;
  flex-wrap: wrap;
}

.outline-tags {
  justify-content: space-between;
  gap: 26px;
  margin-top: 55px;
}

.outline-tags span {
  min-width: 162px;
  height: 55px;
  padding: 0 28px;
  border: 2px solid var(--yellow-dark);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dedede;
  font-size: 23px;
  font-weight: 700;
}

.solid-tags {
  display: grid;
  grid-template-columns: 414px 438px;
  gap: 32px 33px;
  margin-top: 41px;
}

.solid-tags span {
  width: 100%;
  min-width: 0;
  height: 55px;
  padding: 0 34px;
  border-radius: 8px;
  background: var(--yellow);
  color: #101010;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.solid-tags span:last-child {
  grid-column: 1;
}

.footer {
  background: var(--panel);
  min-height: 430px;
  padding: 84px 90px 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 365px 300px 1fr;
  column-gap: 115px;
  align-items: start;
}

.footer-logo {
  width: 252px;
  margin-top: 3px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--yellow);
  font-size: 23px;
  font-weight: 700;
}

.quote-footer {
  width: 199px;
  height: 45px;
  margin-top: 14px;
  background: #f7f7f7;
  color: #343434;
  font-size: 16px;
}

.contact h2 {
  margin: 0 0 32px;
  color: var(--yellow);
  font-size: 23px;
  line-height: 1;
  font-weight: 700;
}

.contact a,
.contact p {
  display: block;
  margin: 0 0 20px;
  color: #e6e6e6;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 22px;
  margin-top: 34px;
}

.socials a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #3b3b3b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e9e9e9;
  font-size: 18px;
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px 26px;
    background: #080908;
  }

  .brand {
    width: 172px;
    height: 50px;
  }

  .main-nav {
    grid-column: auto;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
    font-size: 14px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .quote-top {
    justify-self: start;
    width: auto;
    max-width: 100%;
    height: 46px;
    padding: 0 24px;
    font-size: 14px;
  }

  .hero {
    min-height: 0;
    padding: 0 20px 54px;
    overflow: hidden;
  }

  .hero-photo {
    position: absolute;
    top: 0;
    right: -210px;
    width: 760px;
    height: 560px;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
    opacity: 0.72;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 8, 7, 0.97) 0%, rgba(7, 8, 7, 0.83) 47%, rgba(7, 8, 7, 0.48) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 7, 0.8) 18%, rgba(7, 8, 7, 0.12) 72%);
  }

  .hero-copy {
    width: 100%;
    max-width: 350px;
    padding: 170px 0 0;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 36px;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .hero p {
    width: 100%;
    max-width: 340px;
    margin: 26px 0 28px;
    font-size: 17px;
    overflow-wrap: break-word;
  }

  .button-primary {
    width: auto;
    min-width: 174px;
    padding: 0 24px;
  }

  .whatsapp {
    right: 20px;
    top: auto;
    bottom: 20px;
    width: 58px;
    height: 58px;
  }

  .whatsapp span {
    width: 28px;
    height: 28px;
    border-width: 3px;
  }

  .about,
  .service-grid,
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about {
    gap: 42px;
    padding: 34px 20px 0;
    min-height: 0;
  }

  .about-photo,
  .about-copy {
    width: 100%;
  }

  .about-photo {
    height: clamp(420px, 118vw, 620px);
    aspect-ratio: auto;
    object-position: 37% center;
  }

  .about-copy {
    max-width: 100%;
    padding: 0;
  }

  .about h2,
  .services-intro h2,
  .why h2 {
    font-size: 40px;
    line-height: 1.12;
  }

  .about p,
  .services-intro p,
  .why p {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .services {
    padding: 64px 20px 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .services-intro {
    order: -1;
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0 0 16px;
  }

  .service-card {
    min-height: 0;
    margin-bottom: 0;
    padding: 34px 24px 28px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .why {
    padding: 64px 20px 76px;
  }

  .why-panel {
    min-height: 0;
    border-radius: 22px;
    padding: 42px 20px;
  }

  .outline-tags,
  .solid-tags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .solid-tags span,
  .outline-tags span {
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 12px 18px;
    margin-top: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.18;
    font-size: 18px;
  }

  .solid-tags span:last-child {
    grid-column: auto;
  }

  .footer {
    min-height: 0;
    padding: 52px 24px;
  }

  .footer-inner {
    gap: 44px;
  }

  .footer-logo {
    width: 220px;
  }

  .footer-nav,
  .contact {
    margin-top: 0;
  }

  .footer-nav {
    gap: 22px;
    font-size: 20px;
  }

  .contact a,
  .contact p {
    overflow-wrap: anywhere;
  }

  main,
  section,
  .hero-copy,
  .about-copy,
  .services-intro,
  .why-panel,
  .footer-inner {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .main-nav {
    font-size: 13px;
  }

  .hero-photo {
    right: -245px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .about h2,
  .services-intro h2,
  .why h2 {
    font-size: 36px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .services-intro {
    grid-column: auto;
  }
}
