:root {
  --ink: #0f1d0e;
  --ink-soft: rgba(15, 29, 14, 0.6);
  --placeholder: rgba(15, 29, 14, 0.5);
  --green: #3cc669;
  --green-hover: #8cc63f;
  --gold: #fbc43b;
  --gray: #f5f5f5;
  --line: #d9d9d9;
  --rule: #c2c2c2;
  --white: #ffffff;
  --black: #000000;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea,
label {
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
}

p,
span {
  color: #0f1d0e;
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 20.4px */
  letter-spacing: -0.85px;
}

h2 {
  color: var(--Evolute-Colori-Brand-Verde-profondo, #0f1d0e);
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  line-height: 80%; /* 27.2px */
  letter-spacing: -1.7px;
}

h3 {
  color: #000;
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 80%;
  letter-spacing: -1.5px;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span,
.btn-brand span {
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.45;
}

img {
  max-width: 100%;
  height: auto;
}

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.wrap {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header {
  padding-top: 1.35rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: block;
  height: 32px;
  width: auto;
}

.brand-tagline {
  margin: 0;
  max-width: 8.4rem;
  text-align: right;
}

.hero {
  margin-top: 2.4rem;
}

.hero-title {
  margin: 0;
  color: #0f1d0e;
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: 80%; /* 36.8px */
  letter-spacing: -2.3px;
}

.text-green {
  color: var(--green);
}

.hero-lead {
  margin: 1.15rem 0 0;
  color: #000;
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: 80%; /* 20.8px */
  letter-spacing: -1.3px;
}

.hero-video {
  position: relative;
  margin-top: 1.5rem;
}

.hero-video.is-audible .hero-media {
  cursor: pointer;
}

.hero-media {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
  border-radius: 20px;
  background: #e5e5e5;
  object-fit: cover;
}

.hero-sound {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.hero-sound img {
  display: block;
  width: 48px;
  height: 48px;
}

.hero-media-mobile {
  aspect-ratio: 9 / 16;
}

.hero-media-desktop {
  aspect-ratio: 16 / 9;
}

.block {
  margin-top: 3.25rem;
}

.narrow {
  max-width: 34rem;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.15rem;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: var(--black);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.btn-brand:hover,
.btn-brand:focus-visible {
  background: var(--green-hover);
  color: var(--black);
}

.panel {
  border-radius: 20px;
  padding: 1.5rem 1.15rem;
}

.panel-gray {
  background: var(--gray);
}

.panel-gray.panel-split > :last-child {
  margin-top: 24px;
}

.panel-dark {
  background: var(--ink);
  color: var(--white);
}

.panel-dark p,
.panel-dark h2 {
  color: var(--white);
}

.with-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.mark {
  flex: none;
  width: 29px;
  height: 29px;
  margin: 0;
  padding: 0;
  background: transparent url("/assets/img/icona-evolute.svg") center / contain no-repeat;
}

.section-title {
  margin: 0 0 32px;
}

.section-title.center {
  max-width: 369px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.45rem;
}

.media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #e5e5e5;
  object-fit: cover;
}

.phases {
  display: grid;
  gap: 40px;
  margin-top: 0;
}

.phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phase-title {
  margin: 24px 0 16px;
  padding-inline: 16px;
}

.phase-copy {
  margin: 0;
  padding-inline: 16px;
}

.phase-block .cta-center {
  margin-top: 40px;
  text-align: center;
}

.phase-block .cta-center .btn-brand {
  margin-top: 0;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 0.85rem;
  margin-top: 0;
}

.service-title {
  margin: 0.7rem 0 0;
  color: var(--Evolute-Colori-Brand-Verde-profondo, #0f1d0e);
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
  letter-spacing: -0.9px;
}

.service-note {
  margin: 2rem 0 0;
  text-align: center;
}

.service-note strong {
  font-weight: 600;
}

.works-lead {
  margin: 0 0 0.45rem;
}

.works-copy {
  max-width: 32rem;
  margin: 0;
}

.works-slider {
  position: relative;
  margin-top: 32px;
}

.works-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  padding: 0.25rem 3.25rem 0.25rem 1.25rem;
  scrollbar-width: none;
  cursor: grab;
}

.works-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.works-track::-webkit-scrollbar {
  display: none;
}

.work-card {
  flex: 0 0 min(78vw, 428px);
  scroll-snap-align: start;
}

.work-card img,
.work-card video {
  aspect-ratio: 428 / 760;
}

.works-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.works-nav svg {
  width: 12px;
  height: 20px;
}

.works-prev {
  left: 0.4rem;
}

.works-next {
  right: 0.4rem;
}

.works-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.contact-sub {
  margin: 0 0 0.7rem;
}

.works-lead,
.contact-sub {
  color: var(--Evolute-Colori-Brand-Verde-profondo, #0f1d0e);
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 80%; /* 22.4px */
  letter-spacing: -1.4px;
}

.form-alert {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--gray);
}

.form-alert.is-ok {
  background: var(--green);
}

.form-alert.is-error {
  background: var(--ink);
  color: var(--white);
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.0625rem;
}

.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:not([type="checkbox"])::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
}

.field.is-invalid input:not([type="checkbox"]),
.field.is-invalid textarea {
  border-color: var(--ink);
  border-width: 2px;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.privacy-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.privacy-check label {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.privacy-check a {
  text-decoration: underline;
}

.field.is-invalid .privacy-check input {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.field-error {
  margin: 0.35rem 0 0;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.form-note {
  margin: 0;
}

.logo-panel {
  padding: 24px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.logo-panel h2 {
  margin: 0 0 32px;
  color: var(--white);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 90px;
  column-gap: 16px;
  row-gap: 0;
  align-items: center;
  justify-items: center;
}

.client-logo {
  width: auto;
  max-width: 136px;
  max-height: 76px;
  height: auto;
  object-fit: contain;
}

.late-sections {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  margin-top: 3.25rem;
}

.reviews {
  order: 1;
}

.certs {
  order: 2;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cert-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 1.25rem;
  border-radius: 20px;
  background: var(--gray);
}

.cert-card img {
  width: auto;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.reviews-panel {
  padding: 1.6rem 1.15rem 2rem;
  border-radius: 20px;
  background: var(--gray);
}

.google-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}

.google-row img {
  width: 120px;
  height: auto;
}

.review-grid {
  display: grid;
  gap: 1.8rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer h3 {
  margin: 0;
  color: var(--Evolute-Colori-Brand-Verde-profondo, #0f1d0e);
  font-family: "proxima-nova", "Proxima Nova", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 127.273% */
  letter-spacing: -0.66px;
}

.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
}

.avatar-a {
  background: #5b6cc0;
}

.avatar-b {
  background: #0197a7;
}

.avatar-c {
  background: #8cc63f;
}

.stars {
  display: flex;
  gap: 0.15rem;
  margin: 0.45rem 0 0.55rem;
  color: var(--gold);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.quote {
  margin: 0;
}

.site-footer {
  margin-top: 3.25rem;
  padding-bottom: 1.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer .logo {
  width: 146.674px;
  height: 30px;
  aspect-ratio: 146.67 / 30;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.footer-meta p,
.footer-site {
  margin: 0;
}

.social {
  display: flex;
  gap: 0.55rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: var(--black);
}

.social img {
  display: block;
  width: 21px;
  height: 21px;
}

.footer-panel {
  height: 180px;
  margin-top: 1.4rem;
  overflow: hidden;
  border-radius: 20px;
  background: var(--gray);
}

.footer-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.footer-contacts > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-label {
  margin: 0 0 0.35rem;
}

.footer-contacts .footer-label {
  margin: 0 0 12px;
  color: #000;
  font-weight: 600;
  line-height: 28px;
}

.footer-contacts a,
.footer-contacts p {
  margin: 0;
}

.footer-contacts a {
  display: block;
  font-size: 17px;
  font-weight: 500;
  line-height: 20.4px;
  letter-spacing: -0.85px;
  color: #0f1d0e;
}

.footer-contacts > div > p:not(.footer-label) {
  line-height: 28px;
}

.footer-legal {
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.footer-legal p {
  margin: 0;
  font-size: 14px;
}

.footer-legal .footer-policies {
  margin-top: 12px;
}

@media (min-width: 992px) {
  .wrap {
    padding-inline: 40px;
  }

  .logo {
    height: 44px;
  }

  .brand-tagline {
    max-width: 10rem;
  }

  .hero {
    margin-top: 6.5rem;
  }

  .hero-title {
    font-size: 91.236px;
    line-height: 68.1px; /* 74.641% */
    letter-spacing: -4.562px;
  }

  .hero-lead {
    color: #0f1d0e;
    font-size: 33.256px;
    line-height: 80%; /* 26.605px */
    letter-spacing: -1.663px;
  }

  h2 {
    color: #000;
    font-size: 45.254px;
    line-height: 80%; /* 36.203px */
    letter-spacing: -2.263px;
  }

  .hero-video {
    margin-top: 2.2rem;
  }

  .hero-sound img {
    width: 80px;
    height: 80px;
  }

  .block {
    margin-top: 5.25rem;
  }

  .section-title,
  .logo-panel h2 {
    margin-bottom: 60px;
  }

  .btn-brand {
    width: auto;
    font-size: 1.375rem;
  }

  .cta-center {
    text-align: center;
  }

  .panel {
    padding: 2.75rem 2.5rem;
  }

  .panel-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .panel-gray.panel-split > :last-child {
    margin-top: 0;
  }

  .phases {
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 0;
  }

  .works-slider {
    margin-top: 60px;
  }

  .works-lead,
  .contact-sub {
    font-size: 17px;
    line-height: 120%; /* 20.4px */
    letter-spacing: -0.85px;
  }

  .phase-title {
    margin-top: 60px;
    margin-bottom: 24px;
    padding-inline: 0;
  }

  .phase-copy {
    max-width: 256px;
    padding-inline: 0;
  }

  .phase-block .cta-center {
    margin-top: 60px;
  }

  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem 1.25rem;
  }

  .service-title {
    color: #000;
    font-size: 30px;
    line-height: 80%;
    letter-spacing: -1.5px;
  }

  .service-note {
    margin: 90px 0 0;
    text-align: center;
  }

  .works-track {
    scroll-padding-inline: max(40px, calc((100vw - 1440px) / 2 + 40px));
    padding-left: max(40px, calc((100vw - 1440px) / 2 + 40px));
    padding-right: 40px;
  }

  .works-prev {
    left: max(8px, calc((100vw - 1440px) / 2));
  }

  .works-next {
    right: max(8px, calc((100vw - 1440px) / 2));
  }

  .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
  }

  .privacy-check {
    margin-bottom: 1.25rem;
  }

  .form-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
  }

  .form-actions .btn-brand {
    margin-top: 0;
  }

  .logo-panel {
    padding: 60px;
    border-radius: 20px;
  }

  .logo-wall {
    width: 1005px;
    max-width: 100%;
    margin-inline: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: auto;
    column-gap: 40px;
    row-gap: 21px;
  }

  .client-logo {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
  }

  .late-sections {
    gap: 5.25rem;
    margin-top: 5.25rem;
  }

  .reviews {
    order: 2;
  }

  .certs {
    order: 1;
  }

  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .cert-card {
    min-height: 220px;
  }

  .cert-card img {
    max-height: 110px;
  }

  .reviews-panel {
    padding: 2.8rem 2.4rem 3rem;
  }

  .review-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .reviewer h3 {
    color: #000;
    font-size: 30px;
    line-height: 80%;
    letter-spacing: -1.5px;
  }

  .site-footer {
    margin-top: 4.5rem;
  }

  .footer-meta {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-meta p {
    max-width: 16rem;
  }

  .footer-panel {
    height: 304px;
  }

  .footer-contacts {
    display: grid;
    grid-template-columns: 16rem 16rem;
    gap: 1rem 2rem;
    margin-top: 1.6rem;
  }

  .footer-contacts .footer-label {
    margin: 0 0 14px;
    color: #0f1d0e;
    font-weight: 500;
    line-height: 120%;
  }

  .footer-contacts a {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: normal;
    color: inherit;
  }

  .footer-contacts > div > p:not(.footer-label) {
    line-height: 120%;
  }

}

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