:root {
  --page: #fbf5ec;
  --header: #eeeeef;
  --ink: #151f46;
  --muted: #445073;
  --purple: #7a32f0;
  --purple-dark: #211d62;
  --green: #44d5bc;
  --pink: #fb639d;
  --blue: #77c8f9;
  --orange: #ffb62d;
  --footer: #eef0f1;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", "Montserrat", "Avenir Next", Arial, sans-serif;
  line-height: 1.45;
}

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

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

.site-header,
.site-footer {
  background: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(24px, calc((100vw - var(--container)) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 322px;
  max-width: min(322px, 72vw);
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.button-small {
  padding: 0 28px;
}

.hero {
  padding: 82px 24px 44px;
  text-align: center;
}

.hero-inner {
  max-width: 850px;
  margin: 0 auto;
}

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

h1 {
  max-width: 860px;
  margin: 0 auto 28px;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
}

.hero .intro {
  max-width: 720px;
  margin: 0 auto 28px;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.upwork {
  color: #111;
  font-size: 35px;
  font-weight: 800;
  line-height: 1;
}

.upwork span,
.upwork strong {
  color: #54c845;
}

.upwork strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: 4px;
}

.success-badge-image {
  width: 235px;
  height: auto;
}

.service-panel,
.reviews,
.gallery,
.tools {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.service-card {
  margin-top: 34px;
  padding: 58px 64px;
  border-radius: 42px;
  background: linear-gradient(145deg, #8434f5 0%, #1f1e60 100%);
  color: white;
}

.service-card h2 {
  margin-bottom: 30px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
}

.service-card ul {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 38px;
  color: #eee9ff;
  font-size: 18px;
  font-weight: 600;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: #ad93ff;
  font-size: 28px;
  font-weight: 900;
}

.reviews {
  padding-top: 54px;
}

.reviews h2,
.gallery h2,
.tools h2 {
  margin-bottom: 28px;
  color: #3f4165;
  font-size: 26px;
  text-align: center;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr 0.68fr;
  gap: 18px;
}

.review-card {
  min-height: 178px;
  padding: 20px 22px;
  border: 2px solid var(--orange);
  border-radius: 18px;
  background: #fffdfa;
}

.stars {
  color: var(--orange);
  font-size: 21px;
  line-height: 1;
}

.review-card h3 {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.24;
}

.review-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.review-card strong {
  display: block;
  margin-top: 16px;
  font-size: 12px;
}

.gallery {
  padding-top: 54px;
}

.gallery-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 34px;
  padding: 42px 52px;
  border-radius: 20px;
}

.band-green {
  background: var(--green);
}

.band-pink {
  background: var(--pink);
}

.band-blue {
  background: var(--blue);
}

.gallery-band img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  object-fit: cover;
}

.tools {
  padding: 24px 0 84px;
}

.tool-row {
  width: min(100%, 1100px);
  margin: 0 auto;
  object-fit: contain;
}

.site-footer {
  color: #9aa0ad;
  font-weight: 700;
}

.site-footer .email {
  color: #7a55de;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding-top: 58px;
  }

  .service-card {
    padding: 42px 30px;
    border-radius: 28px;
  }

  .review-grid,
  .gallery-band {
    grid-template-columns: 1fr;
  }

  .gallery-band {
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .brand {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 38px;
  }

  .hero p,
  .service-card li {
    font-size: 16px;
  }

  .service-panel,
  .reviews,
  .gallery,
  .tools {
    width: min(100% - 28px, var(--container));
  }

  .trust-row {
    gap: 20px;
  }

  .upwork {
    font-size: 30px;
  }
}
