.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  max-height: 920px;
  overflow: hidden;
  background-image: url("../images/hero-building.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 152, 121, 0.88) 0%, rgba(0, 152, 121, 0.76) 31%, rgba(0, 152, 121, 0.35) 54%, rgba(0, 152, 121, 0) 73%),
    linear-gradient(180deg, rgba(0, 64, 54, 0.08), rgba(0, 64, 54, 0.18));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 720px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 66px;
}

.hero__logo {
  position: absolute;
  top: 50px;
  left: 66px;
  width: 165px;
  height: auto;
}

.hero__copy {
  margin-top: 0;
  margin-left: 78px;
  color: #ffffff;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero p {
  margin: 48px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 500;
}

.hero .btn {
  margin-top: 24px;
  min-width: 224px;
  height: 44px;
  font-size: 18px;
  border-radius: 6px;
}

.facts {
  min-height: 250px;
  padding: 76px 20px;
  background: var(--gray);
}

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

.fact-card {
  min-height: 98px;
  padding: 21px 20px 17px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.fact-card:hover {
  border-color: rgba(0, 152, 121, 0.42);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-5px);
}

.fact-card h3 {
  margin: 0 0 7px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.05;
}

.fact-card p {
  max-width: 235px;
  margin: 0;
  color: #444444;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.22;
}

.section-pad {
  padding: 66px 20px 188px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
}

.section-heading p {
  margin: 27px 0 0;
  color: #434343;
  font-size: 14px;
  font-weight: 500;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  width: min(100%, 936px);
  gap: 42px 36px;
  justify-content: center;
  margin-top: 45px;
}

.product-card {
  flex: 0 0 288px;
  width: 288px;
  min-height: 398px;
  overflow: hidden;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #ffffff;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.product-card img {
  width: 100%;
  height: 174px;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.product-card__image--center {
  object-position: center center;
}

.product-card:hover {
  border-color: rgba(0, 152, 121, 0.46);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
  transform: translateY(-6px);
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card__body {
  min-height: 224px;
  padding: 42px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card h3 {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}

.product-card p {
  min-height: 58px;
  margin: 0;
  color: #4c4c4c;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.product-card .btn {
  margin-top: auto;
}

.partnership {
  padding: 30px 20px 156px;
}

.partnership__inner {
  display: grid;
  grid-template-columns: 467px 1fr;
  gap: 48px;
  align-items: start;
}

.partnership__image {
  width: 467px;
  height: 429px;
  border-radius: 4px;
  object-fit: cover;
}

.partnership__text {
  padding-top: 3px;
}

.partnership__text h2 {
  max-width: 520px;
  margin: 0 0 43px;
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.12;
}

.partnership__text p,
.partnership__text li {
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.18;
}

.partnership__text p {
  margin: 0 0 34px;
}

.partnership__text p:nth-of-type(2) {
  margin-bottom: 34px;
}

.partnership__text p:nth-of-type(3) {
  margin-bottom: 15px;
}

.partnership__text ul {
  margin: 0;
  padding-left: 17px;
}

.resale {
  padding: 0 20px 132px;
}

.resale .section-heading h2 {
  font-size: 39px;
}

.resale .section-heading p {
  margin-top: 28px;
}

.resale__bars {
  width: min(100%, 690px);
  margin: 48px auto 68px;
}

.resale__bars p {
  min-height: 49px;
  margin: 0 0 16px;
  padding: 16px 24px 14px;
  border-radius: 5px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.resale__bars p:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 22px rgba(0, 111, 93, 0.22);
  transform: translateX(6px);
}

.resale__bars strong {
  font-weight: 900;
}

.resale__cards {
  display: grid;
  grid-template-columns: repeat(2, 390px);
  justify-content: center;
  gap: 50px;
}

.green-card {
  min-height: 252px;
  overflow: hidden;
  border-radius: 2px;
  color: #ffffff;
  background: var(--green);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.green-card:hover {
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.14);
  transform: translateY(-6px);
}

.green-card h3 {
  margin: 0;
  padding: 24px 31px 23px;
  background: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  transition: background 0.22s ease;
}

.green-card:hover h3 {
  background: #005246;
}

.green-card ul {
  margin: 0;
  padding: 23px 30px 26px 46px;
}

.green-card li {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.13;
}

.quote {
  padding: 42px 20px 74px;
}

.quote__panel {
  position: relative;
  width: min(100%, 872px);
  height: 472px;
  min-height: 0;
  border-radius: 8px;
  transition: transform 0.24s ease;
}

.quote__panel:hover {
  transform: translateY(-5px);
}

.quote__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(7, 10, 20, 0.99) 0%, rgba(8, 10, 19, 0.98) 36%, rgba(8, 10, 18, 0.72) 51%, rgba(8, 10, 18, 0.22) 67%, rgba(8, 10, 18, 0.86) 100%),
    radial-gradient(circle at 54% 64%, rgba(228, 216, 178, 0.54), rgba(228, 216, 178, 0.18) 27%, rgba(8, 10, 18, 0) 57%),
    image-set(
      url("../images/form-wall-bg.webp") type("image/webp"),
      url("../images/form-wall-bg.jpg") type("image/jpeg")
    ) center center / cover no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: box-shadow 0.24s ease, filter 0.24s ease;
}

.quote__panel:hover::before {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  filter: brightness(1.04);
}

.quote__panel::after {
  content: "";
  position: absolute;
  top: auto;
  right: -22px;
  bottom: 0;
  z-index: 1;
  width: 430px;
  height: 556px;
  background: image-set(
    url("../images/form-person-new.webp") type("image/webp"),
    url("../images/form-person-new.png") type("image/png")
  ) center bottom / auto 542px no-repeat;
  pointer-events: none;
}

.quote-form {
  position: absolute;
  top: 46px;
  left: 42px;
  z-index: 2;
  width: 380px;
  padding: 0;
}

.quote-form h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.quote-form label {
  display: block;
  margin-bottom: 16px;
}

.quote-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  color: #394049;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.quote-form input:hover,
.quote-form textarea:hover,
.quote-form input:focus,
.quote-form textarea:focus {
  box-shadow: inset 0 0 0 2px rgba(0, 152, 121, 0.28);
  transform: translateY(-1px);
}

.quote-form input {
  height: 45px;
  padding: 0 22px;
}

.quote-form textarea {
  height: 98px;
  resize: vertical;
  padding: 22px 22px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #676767;
}

.quote-form .btn {
  margin-top: 18px;
  margin-left: 8px;
  height: 26px;
  min-width: 171px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
}

.quote-form .field-error {
  outline: 2px solid #ff7269;
}

.footer {
  min-height: 263px;
  padding: 62px 20px 24px;
  color: #ffffff;
  background: var(--green);
}

.footer__inner {
  text-align: center;
}

.footer img {
  width: 168px;
  height: auto;
  margin: 0 auto 50px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer__label {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
}

.footer p a {
  color: inherit;
  text-decoration: none;
}

.footer p a:hover,
.footer p a:focus-visible {
  text-decoration: underline;
}

.footer .footer__copyright {
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card,
  .product-card img,
  .fact-card,
  .resale__bars p,
  .green-card,
  .green-card h3,
  .quote__panel,
  .quote__panel::before,
  .quote-form input,
  .quote-form textarea {
    transition: none;
  }

  .product-card:hover,
  .product-card:hover img,
  .fact-card:hover,
  .resale__bars p:hover,
  .green-card:hover,
  .quote__panel:hover,
  .quote-form input:hover,
  .quote-form textarea:hover,
  .quote-form input:focus,
  .quote-form textarea:focus {
    transform: none;
  }
}

@media (max-width: 1100px) {

  .facts__grid {
    gap: 30px;
  }

  .product-grid {
    width: min(100%, 612px);
  }

  .partnership__inner {
    grid-template-columns: 43% 1fr;
  }

  .partnership__image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 820px) {
  .hero {
    height: auto;
    max-height: none;
    background-position: 56% center;
  }

  .hero,
  .hero__content {
    min-height: 620px;
  }

  .hero__content {
    height: auto;
    padding: 0 28px;
  }

  .hero__logo {
    top: 42px;
    left: 28px;
    width: 150px;
  }

  .hero__copy {
    margin-left: 0;
  }

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

  .hero p {
    font-size: 16px;
  }

  .hero .btn {
    min-width: 190px;
    height: 40px;
    font-size: 15px;
  }

  .facts {
    padding: 48px 20px;
  }

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

  .section-pad {
    padding-bottom: 100px;
  }

  .section-heading h2,
  .resale .section-heading h2 {
    font-size: 30px;
  }

  .partnership {
    padding-bottom: 92px;
  }

  .partnership__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .partnership__image {
    height: auto;
  }

  .partnership__text h2 {
    margin-bottom: 25px;
  }

  .partnership__text p {
    margin-bottom: 20px;
  }

  .resale {
    padding-bottom: 80px;
  }

  .resale__cards {
    grid-template-columns: minmax(0, 390px);
  }

  .quote__panel {
    overflow: hidden;
    height: auto;
    min-height: 472px;
  }

  .quote__panel::before {
    background:
      linear-gradient(90deg, rgba(8, 11, 22, 0.98) 0%, rgba(8, 11, 22, 0.91) 55%, rgba(8, 11, 22, 0.42) 100%),
      image-set(
        url("../images/form-wall-bg.webp") type("image/webp"),
        url("../images/form-wall-bg.jpg") type("image/jpeg")
      ) center center / cover no-repeat;
  }

  .quote__panel::after {
    top: 72px;
    right: -84px;
    bottom: auto;
    width: 280px;
    height: 390px;
    opacity: 0.72;
    background-size: auto 365px;
  }

  .quote-form {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 420px);
    padding: 42px 26px 38px;
  }

  .footer__cols {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hero,
  .hero__content {
    min-height: 560px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero__shade {
    background: linear-gradient(90deg, rgba(0, 152, 121, 0.94) 0%, rgba(0, 152, 121, 0.82) 62%, rgba(0, 152, 121, 0.22) 100%);
  }

  .hero__logo {
    width: 126px;
  }

  .hero__copy {
    margin-top: 0;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 32px;
  }

  .hero p {
    margin-top: 30px;
    font-size: 14px;
  }

  .hero .btn {
    min-width: 178px;
    height: 36px;
    font-size: 13px;
    border-radius: 5px;
  }

  .product-grid {
    width: min(100%, 288px);
    gap: 34px;
  }

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

  .fact-card {
    max-width: 390px;
    width: 100%;
    margin: 0 auto;
  }

  .partnership,
  .products,
  .resale,
  .quote {
    padding-inline: 18px;
  }

  .resale__bars p {
    padding-inline: 18px;
  }

  .green-card h3 {
    padding-inline: 24px;
  }

  .green-card ul {
    padding-left: 39px;
    padding-right: 24px;
  }

  .footer {
    padding-bottom: 88px;
  }

}

@media (max-width: 480px) {
  .hero,
  .hero__content {
    min-height: 530px;
  }

  .hero__content {
    padding: 0 22px;
  }

  .hero__logo {
    top: 34px;
    left: 22px;
  }

  .hero__copy {
    margin-top: 0;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 30px;
  }

  .hero p {
    max-width: 330px;
    line-height: 1.35;
  }

  .section-heading h2,
  .resale .section-heading h2 {
    font-size: 28px;
  }

  .product-card {
    flex-basis: min(100%, 288px);
    width: min(100%, 288px);
  }

  .resale__cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .green-card {
    width: 100%;
  }

  .quote {
    padding-top: 30px;
  }

  .quote-form {
    padding: 34px 18px 32px;
  }

  .quote__panel::after {
    right: -118px;
    opacity: 0.46;
  }

}

@media (max-width: 390px) {
  .hero,
  .hero__content {
    min-height: 510px;
  }

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

  .hero .btn {
    min-width: 166px;
  }

  .quote-form input,
  .quote-form textarea {
    font-size: 13px;
  }

  .quote-form input {
    height: 40px;
    padding-inline: 16px;
  }

  .quote-form textarea {
    padding: 16px;
  }

}

@media (max-width: 360px) {
  .hero__content {
    padding-inline: 18px;
  }

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

  .section-heading h2,
  .resale .section-heading h2 {
    font-size: 26px;
  }

  .green-card ul {
    padding-left: 32px;
  }
}
