/*
 * [Modified] Modern CSS Reset
 * @link https://github.com/hankchizljaw/modern-css-reset
*/
/* Box sizing rules */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

/* Make images easier to work with */
img {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: initial;
  }
}
.text-align-center {
  text-align: center;
}

/* MARGIN */
.margin-auto {
  margin: auto;
}

.margin-inline-auto {
  margin-inline: auto;
}

.margin-block-auto {
  margin-block: auto;
}

/* DISPLAY */
.display-flex {
  display: flex;
}

.display-grid {
  display: grid;
}

.display-none {
  display: none;
}

.display-block {
  display: block;
}

/* POSITION */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

/* GRID */
@media (min-width: 33em) {
  .grid-template-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* FLEX */
.justify-content-center {
  justify-content: center;
}

.justify-content-start {
  justify-content: start;
}

.justify-content-end {
  justify-content: end;
}

.justify-content-space-between {
  justify-content: space-between;
  margin-right: 8vw;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.align-content-center {
  align-content: center;
}

.align-items-center {
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

/* GAP */
.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.height-100svh {
  height: 100svh;
}

/* @link https://utopia.fyi/type/calculator?c=320,18,1.2,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

:root {
  --step--2: clamp(0.7813rem, 0.7747rem + 0.0326vi, 0.8rem);
  --step--1: clamp(0.9375rem, 0.9158rem + 0.1087vi, 1rem);
  --step-0: clamp(1.125rem, 1.0815rem + 0.2174vi, 1.25rem);
  --step-1: clamp(1.35rem, 1.2761rem + 0.3696vi, 1.5625rem);
  --step-2: clamp(1.62rem, 1.5041rem + 0.5793vi, 1.9531rem);
  --step-3: clamp(1.944rem, 1.771rem + 0.8651vi, 2.4414rem);
  --step-4: clamp(2.3328rem, 2.0827rem + 1.2504vi, 3.0518rem);
  --step-5: clamp(2.7994rem, 2.4462rem + 1.7658vi, 3.8147rem);
}

header h2 {
  font-size: var(--step-3);
  font-weight: bold;
  line-height: calc(var(--step-3) * 1.1);
}
header h3 {
  font-size: var(--step-2);
  font-weight: bold;
  line-height: calc(var(--step-2) * 1.1);
}
header p {
  font-size: var(--step--1);
  font-weight: normal;
}

h4 {
  font-size: var(--step-2);
  line-height: calc(var(--step-2) * 1.1);
}

h5 {
  text-transform: lowercase;
  letter-spacing: 0.4rem;
  font-size: var(--step--1);
  color: var(--color-primary);
}

header .container-text {
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding-inline: 1rem;
}
header .__carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.1019607843), rgba(0, 0, 0, 0.6862745098));
  z-index: 1;
}
header .__wrapper-navigator {
  bottom: 8.5rem !important;
}

@media (min-width: 33em) {
  header .container-text {
    max-width: 50vw;
    margin-left: 3rem;
  }
}
:root {
  --color-primary: #0e5e15;
  --color-white: white;
  --color-black: black;
  --color-bg-light: #f7f9fb;
  --gap-standard: 1.3rem;
  --margin: 1.3rem;
  --swiper-theme-color: #ffffff !important;
}

html {
  scroll-behavior: smooth;
}

.mb-1 {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

#logo {
  max-height: 200px;
  filter: brightness(0) saturate(100%) invert(1);
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 4rem;
}

.gap-standard {
  gap: var(--gap-standard);
}

.height-110svh {
  height: 110svh;
}

section,
footer {
  position: relative;
  z-index: 2;
  padding-block: 2rem;
}

section > * {
  padding-inline: 1rem;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.auto-width {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.container-text {
  grid-template-rows: min-content min-content min-content min-content;
}

::-webkit-scrollbar {
  width: 8px;
  /* Larghezza della barra di scorrimento */
}

::-webkit-scrollbar-track {
  background: #022905;
  /* Colore di sfondo della traccia della barra di scorrimento */
}

::-webkit-scrollbar-thumb {
  background: rgb(87, 199, 13);
  border-radius: 25px;
  /* Colore del thumb (il "manico" della barra di scorrimento) */
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(87, 199, 13);
  /* Cambia il colore del thumb al passaggio del mouse */
}

@media (min-width: 33em) {
  section {
    padding-inline: 0;
  }
  .span-2 {
    grid-column: 2 span;
  }
}
header {
  color: white;
  z-index: 2;
}
header .container-social a {
  color: white;
}

.btn {
  background-color: var(--color-primary);
  max-width: -moz-max-content;
  max-width: max-content;
  padding: 0.4rem 2rem;
  color: white;
  text-decoration: none;
  text-align: center;
  height: -moz-fit-content;
  height: fit-content;
}

#about .container-cards {
  transform: translateY(-80px);
}
#about .container-cards .card .img {
  height: 80px;
  aspect-ratio: 1/1;
  background: var(--color-bg-light);
  border-radius: 50%;
}
#about .container-cards .card:nth-child(2) {
  background: var(--color-primary);
  color: var(--color-white);
}
#about .container-about {
  padding-block: 6rem;
  max-width: 1100px;
  margin: 0 auto;
}
#about .container-about .container-img {
  background: url(../images/sezione_chi_siamo_architetto_ritratto.webp);
  max-height: 400px;
  aspect-ratio: 1/1;
  background-size: cover;
  position: relative;
  margin-block: auto;
}
#about .container-about .container-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: translate(15px, 15px);
  z-index: -1;
}
#about .container-about .container-text {
  margin-block: auto;
  grid-template-rows: min-content min-content min-content min-content;
}

span {
  display: block;
}
span.separator {
  width: 50px;
  height: 0.3rem;
  background: linear-gradient(90deg, #57c70d 0%, rgba(0, 255, 179, 0.19) 100%);
  border-radius: 0px 50px 50px 0px;
  position: relative;
  margin-bottom: 1.8rem;
}
span.separator::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translate(0, -50%);
  height: 10px;
  aspect-ratio: 1/1;
  background: var(--color-primary);
  border-radius: 50%;
}

.separator {
  margin-inline: auto !important;
  margin-top: 1rem !important;
}

#services .container:nth-child(1) {
  max-width: 1350px;
  margin-inline: auto;
}
#services .container:nth-child(1) .container-title h4 {
  margin-block: auto;
}
#services .container:nth-child(1) .container-title h4::before {
  content: "";
  display: inline-block;
  height: 0.3rem;
  width: 40px;
  background: var(--color-primary);
  margin-right: 1rem;
  margin-bottom: 0.8rem;
}
#services .container:nth-child(1) .container-cards {
  margin-block: 3.5rem;
}
#services .container:nth-child(1) .card {
  width: 100%;
}
@media (min-width: 33em) {
  #services .container:nth-child(1) .container-title {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  padding: 2.5rem 1.5rem;
  width: min(300px, 100%);
  flex-shrink: 0;
  border-bottom: 1px solid var(--color-primary);
  box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.11);
  display: grid;
  background: var(--color-white);
}
.card h4 {
  font-size: var(--step-1);
}

#hero {
  position: relative;
  background: var(--color-white);
}
#hero h4 {
  max-width: min(850px, 100% - 1rem);
  color: var(--color-white);
  line-height: calc(var(--step-2) * 1.1);
  font-size: var(--step-2);
  margin-block: 2rem 4rem;
}
#hero img {
  width: min(1200px, 100%);
  aspect-ratio: 16/9;
}

#hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 80%;
  background: #022905;
  z-index: -1;
}

#experience {
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 3rem;
}
#experience .container-text {
  grid-template-rows: min-content min-content min-content min-content;
}
#experience .container-img {
  margin-inline: auto;
}

#competence {
  padding-block: 5rem;
}
#competence .container-competence .container-img-left {
  margin-block: auto;
  border-radius: 15px;
  overflow: hidden;
}
#competence .container-competence .container-text {
  margin-block: auto;
}
#competence .container-competence .container-text .container-code ul {
  display: grid;
  gap: 2rem;
}
#competence .container-competence .container-text .container-code ul .item {
  display: flex;
  gap: 2rem;
}
#competence .container-competence .container-text .container-code ul .item .container-img {
  height: 70px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
#competence .container-competence .container-text .container-code ul .item h4 {
  font-size: var(--step--1);
  font-weight: 900;
}

#solution {
  display: grid;
  gap: 4rem;
  padding-block: 5rem;
  padding-bottom: 7rem;
}
#solution .container-text {
  width: min(900px, 100%);
  margin: 0 auto;
}
#solution .container-items {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}
#solution .container-items .item {
  gap: 2rem;
  box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.11);
  padding: 2rem 1.5rem;
}
#solution .container-items .item h4 {
  font-size: var(--step-1);
}
#solution .container-items .item .container-text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

@media (min-width: 55em) {
  #solution .container-items {
    width: min(1200px, 100%);
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
  }
}
#testimonials {
  padding-block: 3.5rem;
  color: black;
  background: white;
  background-size: cover;
}
#testimonials .container-items {
  margin-top: 1rem;
}
#testimonials .container-items .item {
  gap: 3rem;
}
#testimonials .container-items .item .message {
  background: whitesmoke;
  color: black;
  padding: 3rem 2rem;
  border-radius: 15px;
  position: relative;
}
#testimonials .container-items .item .container-people .container-img {
  aspect-ratio: 1/1;
  height: 80px;
  background-size: cover;
  box-shadow: 0 0 0 5px white;
  border-radius: 50%;
}
#testimonials .container-items .item .container-people .container-text .name {
  font-weight: bold;
}
#testimonials .container-items .item .container-people .container-text .craft {
  font-weight: bold;
  font-size: var(--step--2);
}

@media (min-width: 43em) {
  #testimonials .container-items {
    margin-inline: auto;
    width: min(1300px, 100%);
    grid-template-columns: repeat(3, 1fr);
  }
}
footer {
  color: white;
  background: #022905;
  padding-block: 2rem;
}

#__container-progressbar {
  padding-block: 2rem;
  display: grid;
  gap: 3.2rem;
}
#__container-progressbar .bar {
  border-radius: 50px;
  height: 10px;
  width: 100%;
  position: relative;
}
#__container-progressbar .bar .title {
  position: absolute;
  top: -25px;
  left: 0;
}
#__container-progressbar .bar .progress {
  position: absolute;
  inset: 0;
  width: 90%;
  border-radius: 50px;
}
#__container-progressbar .bar .progress .percentage {
  position: absolute;
  inset: 0;
  right: -20px;
  text-align: right;
  top: -25px;
  font-weight: bold;
}

@media (min-width: 80em) {
  .__container-progressbar {
    padding-block: 2rem;
    display: grid;
    gap: 3.2rem;
  }
  .__container-progressbar .bar {
    border-radius: 50px;
    height: 10px;
    width: 100%;
    position: relative;
  }
  .__container-progressbar .bar .title {
    position: absolute;
    top: -25px;
    left: 0;
  }
  .__container-progressbar .bar .progress {
    position: absolute;
    inset: 0;
    width: 90%;
    border-radius: 50px;
    background: red;
  }
  .__container-progressbar .bar .progress .percentage {
    position: absolute;
    inset: 0;
    right: 20px;
    text-align: right;
    top: -25px;
    font-weight: bold;
  }
}
#contacts {
  margin-top: 3rem;
}
#contacts .container-item {
  padding: 2rem 1.5rem;
}
#contacts .container-item .item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
  color: black;
}
#contacts .container-item .item img {
  height: 180px;
  width: auto;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.show-map {
  margin-top: 2rem;
}

#contacts #special-form {
  display: grid;
  gap: 0.5rem;
}
#contacts #special-form .special-form-container {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  width: 100%;
}
#contacts #special-form .disabled {
  opacity: 0.3;
}
#contacts #special-form .container-check {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
#contacts #special-form label {
  font-weight: 800;
}
#contacts #special-form input:focus,
#contacts #special-form #message:focus {
  outline: none;
}
#contacts #special-form #name,
#contacts #special-form #message {
  width: 100%;
  border: none;
  border-bottom: 1px solid;
  padding-block: 0.4rem;
}
#contacts #special-form #message {
  min-height: 200px;
}

#slider .swiper-slide {
  cursor: pointer;
}
#slider img {
  aspect-ratio: 9/12;
  border-radius: 15px;
  margin-inline: auto;
}

.d-none {
  visibility: hidden !important;
}

.on-nav {
  background: #022905;
}

nav {
  background: transparent;
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-block: 1.2rem;
  z-index: 9999;
  transition: all 0.3s ease-in-out;
}
nav .btn-hamburger {
  cursor: pointer;
}
nav span {
  transition: transform 0.6s ease-in-out;
}
nav .rotate1 {
  transform: rotateZ(-45deg) translate(-15px);
}
nav .rotate2 {
  transform: rotateZ(45deg) translate(-15px);
}
nav .container-logo {
  margin-left: 1rem;
}
nav .container-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 0;
  overflow: hidden;
  height: 100vh;
  z-index: 2;
  background: black;
  display: flex;
  margin-block: auto;
  transition: width 0.2s;
}
nav .container-menu ul {
  display: flex;
  gap: 1.8rem;
  flex-direction: column;
  list-style: none;
  padding: 4rem 2rem;
}
nav .container-menu ul li {
  color: white;
  font-size: var(--step-2);
}
nav .container-menu ul li a {
  text-decoration: none;
  color: white;
}
nav .container-menu ul li a:hover {
  text-decoration: underline;
}
nav .hamburger {
  z-index: 9000;
  padding-right: 1.2rem;
}
nav .hamburger a {
  display: grid;
  gap: 0.5rem;
}
nav .hamburger a span {
  display: block;
  height: 2px;
  background: white;
  width: 2rem;
}
nav .active {
  width: 80%;
}

@media (min-width: 66em) {
  nav .container-menu {
    display: block;
    width: auto;
    height: auto;
    position: relative;
    background: none;
  }
  nav .container-menu ul {
    flex-direction: row;
    padding: 0 2rem;
  }
  nav .container-menu ul li {
    font-size: var(--step--1);
  }
  nav .hamburger {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */