@font-face {
  font-family: "Titillium Web";
  src: url("/assets/fonts/titillium-web-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("/assets/fonts/titillium-web-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("/assets/fonts/titillium-web-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #3aaa35;
  --green-dark: #207c2e;
  --yellow: #e09900;
  --dark: #222222;
  --darkest: #171717;
  --text: #333333;
  --muted: #666666;
  --line: #e2e2e2;
  --header-height: 106px;
  --container: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open,
body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p {
  margin: 0 0 1.2em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Titillium Web", Helvetica, Arial, sans-serif;
  line-height: 1.15;
}

.site-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-space {
  padding: 80px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-header {
  position: fixed;
  z-index: 900;
  inset: 0 0 auto;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: height 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  height: 58px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  width: 139px;
  height: 96px;
  overflow: hidden;
  transition: width 240ms ease, height 240ms ease;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header.is-scrolled .brand {
  width: 76px;
  height: 54px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 29px;
}

.main-navigation a {
  position: relative;
  padding: 6px 0;
  color: #000000;
  font-family: "Titillium Web", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--green);
  transition: transform 180ms ease, opacity 180ms ease;
}

#main-content {
  padding-top: var(--header-height);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--green);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.home-hero,
.standard-hero,
.home-company {
  position: relative;
  isolation: isolate;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.home-hero {
  height: 594px;
}

.home-hero-content,
.standard-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ffffff;
  text-align: center;
}

.home-hero h1 {
  font-size: 100px;
  font-weight: 700;
  letter-spacing: 15px;
  line-height: 1;
}

.home-hero p {
  margin: 10px 0 0;
  font-family: "Titillium Web", sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 24px;
  line-height: 1;
  text-indent: 24px;
}

.competences {
  min-height: 568px;
  padding-top: 80px;
  padding-bottom: 66px;
}

.outlined-title {
  width: fit-content;
  margin: 0 auto;
  padding: 22px 40px;
  border: 1px dashed #777777;
  color: #333333;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 10px;
  line-height: 1;
  text-align: center;
}

.competence-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin-top: 62px;
  column-gap: 30px;
  row-gap: 52px;
}

.competence-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 112px;
}

.competence-card .checkmark {
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 55px;
  font-weight: 400;
  line-height: 1;
}

.competence-card h3 {
  margin-top: 30px;
  color: #555555;
  font-size: 18px;
  font-weight: 400;
}

.home-company {
  min-height: 489px;
  color: #ffffff;
}

.home-company-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 489px;
}

.home-company-copy {
  width: 560px;
}

.home-company-copy h2 {
  margin-bottom: 10px;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 10px;
}

.home-company-copy h3 {
  margin-bottom: 30px;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 2px;
}

.home-company-copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.48;
}

.qualibat {
  min-height: 530px;
  padding-top: 78px;
  padding-bottom: 75px;
}

.qualibat-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.qualibat-heading .outlined-title {
  margin: 0;
  font-size: 37px;
}

.qualibat-heading img {
  width: 92px;
  height: 95px;
  margin-left: auto;
  margin-right: 130px;
  object-fit: cover;
}

.qualibat-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 58px;
}

.qualibat-copy p {
  margin: 0;
  color: #303030;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
  text-align: justify;
}

.standard-hero {
  height: 334px;
}

.standard-hero h1 {
  color: #ffffff;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1.4;
}

.standard-hero p {
  margin: 4px 0 0;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.contact-hero {
  height: 481px;
  background-position: center 48%;
}

.contact-hero h1 {
  font-size: 70px;
  letter-spacing: 10px;
}

.contact-section {
  padding-top: 80px;
  padding-bottom: 82px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: 60px;
}

.section-title {
  margin-bottom: 16px;
  color: #333333;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-form label {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #eeeeee;
  color: #444444;
  font-size: 14px;
  transition: box-shadow 160ms ease, background 160ms ease;
}

.contact-form input {
  height: 51px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 151px;
  padding: 17px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #f4f4f4;
  box-shadow: inset 0 0 0 2px var(--green);
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.captcha-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #666666;
}

.contact-form .captcha-label input {
  width: 51px;
  padding: 0 6px;
  text-align: center;
}

.contact-submit button,
.outline-button {
  min-height: 51px;
  padding: 8px 22px;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  font-family: "Titillium Web", sans-serif;
  font-size: 22px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.contact-submit button:hover,
.contact-submit button:focus-visible,
.outline-button:hover,
.outline-button:focus-visible {
  color: #ffffff;
  background: var(--green);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #b71c1c;
  text-align: right;
}

.contact-coordinates {
  padding-left: 1px;
}

.contact-coordinates p {
  margin-top: 45px;
  color: #666666;
  font-size: 14px;
}

.contact-coordinates a:hover {
  color: var(--green);
}

.company-hero {
  position: relative;
  height: 364px;
  overflow: visible;
  background-position: center 42%;
}

.company-hero .hero-overlay {
  background: #e09900;
}

.company-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -50px;
  height: 70px;
  background: #e5a400;
  clip-path: polygon(0 0, 50% 62%, 100% 0, 100% 18%, 50% 100%, 0 18%);
}

.company-hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 0;
}

.company-about {
  padding-top: 95px;
  padding-bottom: 145px;
  font-family: "Poppins", sans-serif;
}

.company-section-title {
  margin-bottom: 64px;
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  font-weight: 500;
  text-align: center;
}

.company-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  color: #727272;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.company-about-grid p {
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin-top: 70px;
  padding-top: 68px;
  border-top: 2px solid #e8aa00;
}

.service-list h3 {
  margin-bottom: 27px;
  color: #676767;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

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

.service-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  color: #777777;
  font-size: 13px;
}

.service-list li span {
  color: #e8a900;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.company-cta {
  min-height: 500px;
  padding: 135px 0 90px;
  background: linear-gradient(100deg, #e09900 0%, #eddd00 100%);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.company-cta h2 {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 600;
}

.company-cta p {
  max-width: 670px;
  margin: 22px auto 26px;
  font-size: 17px;
  font-weight: 600;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 55px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #444444;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.portfolio-hero {
  background-position: center 47%;
}

.portfolio-section {
  min-height: 640px;
  padding-top: 138px;
  padding-bottom: 140px;
}

.portfolio-toolbar {
  margin-bottom: 40px;
}

.portfolio-toolbar button {
  min-width: 72px;
  height: 36px;
  padding: 0 20px;
  border: 1px solid #dddddd;
  border-radius: 2px;
  background: #fafafa;
  color: var(--green);
  cursor: pointer;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.portfolio-card {
  min-width: 0;
}

.portfolio-image {
  display: block;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: #eeeeee;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.045);
}

.portfolio-card h2 {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.03;
}

.portfolio-card h2 a:hover,
.portfolio-category:hover {
  color: var(--green);
}

.portfolio-category {
  display: inline-block;
  margin-top: 6px;
  color: #777777;
  font-size: 14px;
}

.quote-hero {
  height: 400px;
  background-position: center 38%;
}

.quote-hero h1 {
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 1px;
}

.quote-section {
  padding: 58px 0 70px;
}

.quote-container {
  width: min(calc(100% - 40px), 680px);
  margin-inline: auto;
}

.quote-form {
  display: grid;
  gap: 22px;
  color: #2b2b2b;
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
}

.quote-input {
  display: grid;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.quote-input input {
  width: 100%;
  height: 39px;
  padding: 0 10px;
  border: 1px solid #7a8792;
  border-radius: 2px;
  background: #ffffff;
}

.quote-input input:focus {
  outline: 2px solid rgba(58, 170, 53, 0.3);
  border-color: var(--green);
}

.required {
  color: #ef2828;
}

.quote-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-fieldset legend,
.quote-file {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 700;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 14px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.choice input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--green);
}

.quote-file {
  display: grid;
  gap: 7px;
}

.quote-file input {
  font-size: 12px;
  font-weight: 400;
}

.quote-submit {
  width: 100%;
  height: 41px;
  border: 0;
  border-radius: 2px;
  background: var(--green);
  color: #ffffff;
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease;
}

.quote-submit:hover,
.quote-submit:focus-visible {
  background: #2d942e;
}

.job-section {
  padding-top: 126px;
  padding-bottom: 120px;
}

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

.job-image {
  min-height: 800px;
}

.job-image img {
  width: 100%;
  height: auto;
}

.job-copy {
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.job-copy p {
  margin-bottom: 20px;
}

.job-copy ul {
  margin: 0 0 20px;
  padding-left: 22px;
  line-height: 1.35;
}

.job-copy ul ul {
  margin-bottom: 0;
}

.project-section {
  padding-top: 80px;
  padding-bottom: 110px;
}

.project-section h1 {
  max-width: 1120px;
  margin: 0 auto 70px;
  color: #333333;
  font-size: 50px;
  font-weight: 300;
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 58px;
  align-items: start;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.76;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #eeeeee;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(58, 170, 53, 0.55);
  color: #ffffff;
  font-size: 42px;
  opacity: 0;
  transition: opacity 200ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
  opacity: 1;
}

.project-pinedes-cala-rossa .project-gallery .gallery-item {
  aspect-ratio: 0.78;
}

.project-villa-ghisonaccia .project-gallery .gallery-item {
  aspect-ratio: 0.78;
}

.archive-section,
.legal-section {
  min-height: 700px;
}

.archive-shell,
.legal-shell {
  display: grid;
  grid-template-columns: minmax(0, 800px) 1fr;
  width: min(100%, 1080px);
  margin-inline: auto;
}

.archive-list,
.legal-content {
  padding: 55px 55px 70px 0;
  border-right: 1px solid var(--line);
}

.archive-card {
  margin-bottom: 66px;
}

.archive-card:last-child {
  margin-bottom: 0;
}

.archive-card > a {
  display: block;
  overflow: hidden;
}

.archive-card img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.archive-card:hover img {
  transform: scale(1.02);
}

.archive-card h1 {
  margin-top: 22px;
  color: #444444;
  font-size: 27px;
  font-weight: 400;
}

.archive-card h1 a:hover {
  color: var(--green);
}

.archive-meta {
  margin: 3px 0 20px;
  color: #777777;
  font-size: 14px;
}

.archive-card > p:last-child {
  color: #777777;
}

.legal-content {
  padding-top: 45px;
  color: #676767;
  font-size: 13px;
  line-height: 1.55;
}

.legal-content h1 {
  margin-bottom: 14px;
  color: #464646;
  font-size: 26px;
  font-weight: 400;
}

.legal-content h2 {
  margin: 12px 0 3px;
  color: #4d4d4d;
  font-size: 22px;
  font-weight: 400;
}

.legal-content h3 {
  margin: 6px 0 2px;
  color: #555555;
  font-size: 18px;
  font-weight: 400;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--green-dark);
  overflow-wrap: anywhere;
}

.thanks-section,
.not-found {
  min-height: 450px;
  text-align: center;
}

.thanks-section h2,
.not-found h1 {
  margin-bottom: 15px;
  font-size: 38px;
}

.thanks-section p,
.not-found p {
  font-size: 17px;
}

.thanks-section .outline-button,
.not-found .outline-button {
  display: inline-flex;
  margin-top: 20px;
}

.error-code {
  margin: 0 !important;
  color: var(--green);
  font-family: "Titillium Web", sans-serif;
  font-size: 100px !important;
  font-weight: 700;
  line-height: 1;
}

.site-footer {
  background: var(--dark);
  color: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 320px;
}

.footer-logo img {
  width: 240px;
  height: 165px;
  object-fit: contain;
}

.footer-contact h2 {
  margin-bottom: 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.footer-contact p {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-bottom {
  min-height: 55px;
  padding: 17px 0;
  background: var(--darkest);
  color: #606060;
  font-size: 11px;
}

.footer-bottom a {
  font-weight: 700;
}

.cookie-fab {
  position: fixed;
  z-index: 980;
  left: 18px;
  bottom: 46%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffbc16;
  color: #ffffff;
  font-size: 25px;
  transform: rotate(-35deg);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cookie-panel {
  position: fixed;
  z-index: 1200;
  left: 16px;
  bottom: 16px;
  width: min(390px, calc(100% - 32px));
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  color: #333333;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.cookie-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-panel h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.cookie-panel p {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-kicker {
  margin: 0 !important;
  color: #666666;
  font-weight: 600;
}

.cookie-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #888888;
  font-size: 26px;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.cookie-actions button {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #ffffff;
  color: #555555;
  cursor: pointer;
}

.cookie-actions .cookie-accept {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.lightbox {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  background: rgba(8, 8, 8, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  display: grid;
  place-items: center;
  max-width: calc(100vw - 170px);
  max-height: calc(100vh - 80px);
  margin: 0 auto;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 8px;
  color: #dddddd;
  font-size: 12px;
}

.lightbox button {
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  height: 100%;
  font-size: 64px;
  opacity: 0.65;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 22px;
  font-family: Arial, sans-serif;
  font-size: 54px;
  font-weight: 200;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.25, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .main-navigation {
    gap: 20px;
  }

  .main-navigation a {
    font-size: 14px;
  }

  .archive-shell,
  .legal-shell {
    width: calc(100% - 40px);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 80px;
  }

  .site-container {
    width: min(calc(100% - 48px), 720px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    box-shadow: none;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 76px;
    height: 58px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-navigation {
    position: fixed;
    z-index: 890;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 40px;
    background: rgba(255, 255, 255, 0.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-navigation a {
    padding: 15px 4px;
    border-bottom: 1px solid #eeeeee;
    font-size: 18px;
  }

  .main-navigation a::after {
    display: none;
  }

  .home-hero {
    height: 517px;
    background-position: 46% center;
  }

  .home-hero h1 {
    max-width: 310px;
    font-size: 64px;
    letter-spacing: 8px;
    line-height: 0.95;
  }

  .home-hero p {
    margin-top: 22px;
    font-size: 18px;
    letter-spacing: 12px;
    text-indent: 12px;
  }

  .competences {
    min-height: 1155px;
    padding: 77px 0 76px;
  }

  .outlined-title {
    max-width: 100%;
    padding: 20px 25px;
    font-size: 26px;
    letter-spacing: 8px;
    line-height: 1.4;
  }

  .competence-grid {
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    margin-top: 50px;
    row-gap: 26px;
  }

  .competence-card {
    min-height: 140px;
  }

  .competence-card .checkmark {
    font-size: 48px;
  }

  .competence-card h3 {
    margin-top: 26px;
    font-size: 15px;
  }

  .home-company,
  .home-company-inner {
    min-height: 670px;
  }

  .home-company {
    background-position: 47% center;
  }

  .home-company-inner {
    align-items: flex-start;
    padding-top: 105px;
  }

  .home-company-copy {
    width: 100%;
  }

  .home-company-copy h2 {
    max-width: 270px;
    font-size: 34px;
    letter-spacing: 8px;
    overflow-wrap: anywhere;
  }

  .home-company-copy h3 {
    max-width: 300px;
    margin-bottom: 32px;
    font-size: 17px;
    letter-spacing: 1px;
  }

  .home-company-copy p {
    font-size: 14px;
    line-height: 1.4;
  }

  .qualibat {
    padding-top: 75px;
    padding-bottom: 70px;
  }

  .qualibat-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .qualibat-heading .outlined-title {
    margin-inline: auto;
  }

  .qualibat-heading img {
    width: 90px;
    height: 93px;
    margin: 0 auto;
  }

  .qualibat-copy {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .qualibat-copy p {
    font-size: 13px;
    line-height: 1.7;
  }

  .standard-hero,
  .contact-hero,
  .quote-hero {
    height: 438px;
  }

  .standard-hero h1,
  .contact-hero h1,
  .quote-hero h1 {
    max-width: 330px;
    font-size: 42px;
    letter-spacing: 7px;
    line-height: 1.12;
  }

  .contact-hero {
    background-position: 50% center;
  }

  .contact-section {
    padding-top: 77px;
    padding-bottom: 78px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .section-title {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form {
    gap: 10px;
  }

  .contact-form input {
    height: 52px;
  }

  .contact-form textarea {
    min-height: 151px;
  }

  .contact-submit {
    gap: 18px;
  }

  .contact-submit button {
    font-size: 22px;
  }

  .contact-coordinates p {
    margin-top: 40px;
    font-size: 14px;
  }

  .company-hero {
    height: 348px;
  }

  .company-hero h1 {
    font-size: 42px;
  }

  .company-hero p {
    max-width: 330px;
    font-size: 16px;
  }

  .company-about {
    padding-top: 100px;
  }

  .company-section-title {
    margin-bottom: 45px;
    font-size: 34px;
  }

  .company-about-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .company-cta {
    min-height: 430px;
    padding: 100px 0 70px;
  }

  .company-cta h2 {
    font-size: 38px;
  }

  .portfolio-hero {
    height: 376px;
    background-position: 51% center;
  }

  .portfolio-section {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .portfolio-card h2 {
    font-size: 18px;
  }

  .quote-hero {
    background-position: 45% center;
  }

  .quote-section {
    padding-top: 48px;
  }

  .quote-container {
    width: calc(100% - 16px);
  }

  .quote-form {
    gap: 18px;
  }

  .quote-input input {
    height: 40px;
  }

  .choice-list {
    gap: 0 12px;
  }

  .job-section {
    padding-top: 75px;
    padding-bottom: 80px;
  }

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

  .job-image {
    min-height: 0;
  }

  .job-copy {
    font-size: 15px;
  }

  .project-section {
    padding-top: 70px;
  }

  .project-section h1 {
    margin-bottom: 50px;
    font-size: 40px;
  }

  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .archive-shell,
  .legal-shell {
    grid-template-columns: 1fr;
    width: min(calc(100% - 48px), 720px);
  }

  .archive-list,
  .legal-content {
    padding-right: 0;
    border-right: 0;
  }

  .archive-shell aside,
  .legal-shell aside {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    min-height: 650px;
    padding: 60px 0;
  }

  .footer-logo img {
    width: 235px;
    height: 162px;
    margin: 0 auto;
  }

  .footer-contact {
    margin-top: 35px;
  }

  .footer-contact h2 {
    font-size: 18px;
  }

  .footer-contact p {
    font-size: 13px;
  }

  .footer-bottom {
    min-height: 110px;
    padding: 26px 0;
    text-align: center;
  }

  .footer-bottom .site-container {
    line-height: 2;
  }

  .cookie-fab {
    bottom: 42%;
  }
}

@media (max-width: 520px) {
  .site-container {
    width: calc(100% - 78px);
  }

  .header-inner {
    width: calc(100% - 72px);
  }

  .home-hero h1 {
    max-width: 280px;
  }

  .outlined-title {
    padding-inline: 18px;
  }

  .home-company-inner {
    width: calc(100% - 40px);
  }

  .standard-hero h1,
  .contact-hero h1,
  .quote-hero h1 {
    max-width: 310px;
    font-size: 40px;
  }

  .contact-layout {
    width: calc(100% - 78px);
  }

  .contact-submit {
    justify-content: space-between;
  }

  .captcha-label {
    gap: 4px;
  }

  .contact-form .captcha-label input {
    width: 50px;
  }

  .company-section-title {
    font-size: 32px;
  }

  .company-cta .site-container {
    width: calc(100% - 50px);
  }

  .company-cta h2 {
    font-size: 34px;
  }

  .portfolio-section .site-container {
    width: calc(100% - 72px);
  }

  .portfolio-image {
    aspect-ratio: 1.36;
  }

  .job-grid {
    width: calc(100% - 44px);
  }

  .project-section .site-container {
    width: calc(100% - 38px);
  }

  .project-section h1 {
    font-size: 37px;
    line-height: 1.1;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .gallery-item,
  .project-pinedes-cala-rossa .project-gallery .gallery-item,
  .project-villa-ghisonaccia .project-gallery .gallery-item {
    aspect-ratio: auto;
  }

  .gallery-item img {
    height: auto;
    object-fit: contain;
  }

  .archive-shell,
  .legal-shell {
    width: calc(100% - 36px);
  }

  .archive-list {
    padding-top: 55px;
  }

  .archive-card {
    margin-bottom: 60px;
  }

  .archive-card h1 {
    font-size: 24px;
    line-height: 1.15;
  }

  .legal-content {
    padding-top: 40px;
  }

  .footer-main {
    width: calc(100% - 78px);
  }

  .cookie-panel {
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions button {
    flex: 1;
  }

  .lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .lightbox figure {
    max-width: calc(100vw - 96px);
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 44px;
  }
}
