/* Home page refresh. The existing font families and lower sections remain in styles.css. */
.home-redesign .hero {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(34px, 5vw, 88px);
  min-height: 0;
  padding: clamp(20px, 2.2vw, 34px) 0 14px;
}

.home-redesign .hero-copy {
  padding-top: 0;
}

.home-redesign .hero-hand {
  position: relative;
  width: fit-content;
  margin: 0 0 24px;
  color: var(--green);
  font-size: clamp(25px, 2.2vw, 36px);
  transform: rotate(-3deg);
}

.home-redesign .hero-hand::after {
  left: 55%;
  bottom: -8px;
  width: 43%;
  border-color: #5ca98a;
}

.home-redesign .hero h1 {
  max-width: none;
  color: var(--green);
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: clamp(38px, 3.45vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: normal;
}

.home-redesign .hero-text {
  max-width: 540px;
  margin: 28px 0 26px;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.34;
}

.home-redesign .hero-actions .telegram-link {
  min-height: 64px;
  padding: 0 29px;
  border-radius: 19px;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 800;
  box-shadow: 0 12px 25px rgba(0, 76, 50, .15);
}

.home-redesign .hero-assurance {
  max-width: 460px;
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.4;
}

.home-redesign .hero-visual {
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.home-redesign .hero-browser {
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(40, 31, 20, .2);
}

.home-redesign .hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 25px;
  padding: 0 10px;
  background: #f6f5f3;
}

.home-redesign .hero-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f16d66;
}

.home-redesign .hero-browser-bar span:nth-child(2) { background: #efc94f; }
.home-redesign .hero-browser-bar span:nth-child(3) { background: #59bb81; }

.home-redesign .hero-visual .hero-desktop-img {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(390px, 35vw, 470px);
  object-fit: cover;
  object-position: center top;
}

.home-redesign .hero-image-note {
  position: relative;
  width: fit-content;
  margin: 14px 0 0 auto;
  color: var(--green);
  font-size: clamp(23px, 2vw, 32px);
  transform: rotate(-4deg);
}

.home-redesign .hero-note-arrow {
  position: absolute;
  left: -82px;
  top: -34px;
  width: 76px;
  height: 54px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-redesign .works .section-heading h2 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: clamp(38px, 3.45vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.home-redesign .home-articles .home-articles-titles h2 {
  color: var(--green);
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: clamp(38px, 3.45vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.home-redesign .services {
  display: block;
  width: var(--container);
  max-width: none;
  margin: clamp(42px, 5vw, 76px) auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-redesign .services-heading {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(58px, 5.5vw, 82px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
}

.home-redesign .services .service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(201, 195, 184, .8);
  border-radius: 23px;
  background: rgba(248, 245, 238, .65);
  box-shadow: 0 22px 60px rgba(28, 24, 17, .06);
}

.home-redesign .services .service-item,
.home-redesign .services .service-item:nth-child(3),
.home-redesign .services .service-item:last-child {
  display: flex !important;
  flex-direction: column;
  min-height: 290px;
  padding: 30px 34px 26px !important;
  border: 0;
  border-right: 1px solid rgba(201, 195, 184, .8);
  background: transparent;
}

.home-redesign .services .service-item:last-child { border-right: 0; }

.home-redesign .services .service-icon-img {
  width: 76px;
  height: 76px;
  max-width: 76px;
  max-height: 76px;
  margin: 0 0 18px;
}

.home-redesign .services .service-item h3 {
  margin: 0 0 11px;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 800;
  line-height: 1.15;
}

.home-redesign .services .service-item p {
  max-width: 330px;
  margin: 0 !important;
  color: var(--ink);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.42;
}

.home-redesign .services .service-price {
  margin-top: auto;
  padding-top: 18px;
}

.home-redesign .services .service-price strong {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #e2e9dd;
  color: var(--green);
  font-size: 19px;
}

@media (max-width: 1020px) {
  .home-redesign .hero {
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    gap: 24px;
  }
  .home-redesign .hero h1 { font-size: clamp(35px, 3.8vw, 46px); }
  .home-redesign .hero-visual .hero-desktop-img { height: 390px; }
}

@media (max-width: 760px) {
  .home-redesign .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    padding: 36px 0 20px;
  }
  .home-redesign .hero-copy { padding: 0; }
  .home-redesign .hero-hand { margin-bottom: 24px; font-size: 28px; }
  .home-redesign .hero h1 { font-size: clamp(23px, 6.1vw, 35px); }
  .home-redesign .hero-text { margin: 23px 0; font-size: 19px; }
  .home-redesign .hero-actions .telegram-link {
    width: 100%;
    flex: 0 1 100%;
    min-width: 0;
    min-height: 58px;
    padding-inline: 12px;
    font-size: 15px;
  }
  .home-redesign .hero-assurance { margin-top: 24px; font-size: 16px; }
  .home-redesign .hero-visual { display: block; margin: 0; }
  .home-redesign .hero-visual .hero-desktop-img { height: clamp(270px, 62vw, 420px); }
  .home-redesign .hero-image-note { font-size: 23px; }
  .home-redesign .hero-note-arrow { left: -48px; top: -29px; width: 48px; height: 42px; }
  .home-redesign .works .section-heading h2 { font-size: clamp(22px, 6.1vw, 34px); }
  .home-redesign .home-articles .home-articles-titles h2 { font-size: clamp(23px, 6.1vw, 35px); }
  .home-redesign .services { width: 100%; max-width: 100%; margin-top: 44px; }
  .home-redesign .services-heading { font-size: clamp(55px, 12vw, 74px); }
  .home-redesign .services .service-list { grid-template-columns: 1fr; }
  .home-redesign .services .service-item,
  .home-redesign .services .service-item:nth-child(3),
  .home-redesign .services .service-item:last-child {
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    row-gap: 5px !important;
    min-height: 0 !important;
    padding: 20px !important;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 195, 184, .8);
  }
  .home-redesign .services .service-item:last-child { border-bottom: 0; }
  .home-redesign .services .service-icon-img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    margin: 0 !important;
  }
  .home-redesign .services .service-item h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center;
    margin: 0;
    font-size: 21px;
  }
  .home-redesign .services .service-item p {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: 5px !important;
    font-size: 16px;
  }
  .home-redesign .services .service-price {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
  }
}
