/* =========================================================
   LA PIRAMIDE — DISTRIBUZIONI
   FILE: css/distribuzioni.css

   Stile:
   - nero premium
   - oro metallico
   - fondo esterno avorio
   - fotografie reali del territorio
   - capitoli visivi cinematografici
   - responsive computer, tablet e telefono
========================================================= */


/* =========================================================
   VARIABILI
========================================================= */

:root {
  --avorio: #f1eadb;
  --avorio-chiaro: #fffaf1;
  --avorio-scuro: #d8c8aa;

  --nero: #050505;
  --nero-2: #090909;
  --nero-3: #101010;
  --nero-4: #171717;
  --nero-5: #222222;

  --oro-scuro: #855417;
  --oro-medio: #b97824;
  --oro: #d6a146;
  --oro-chiaro: #ffe19a;
  --oro-luce: #fff1c2;

  --bianco: #ffffff;
  --bianco-morbido: #f5f5f5;

  --grigio-chiaro: #dedede;
  --grigio: #b5b5b5;
  --grigio-scuro: #757575;

  --bordo-oro: rgba(214, 161, 70, 0.34);
  --bordo-oro-forte: rgba(255, 225, 154, 0.7);

  --ombra-sezione: 0 32px 85px rgba(0, 0, 0, 0.38);
  --ombra-card: 0 22px 50px rgba(0, 0, 0, 0.4);
  --ombra-foto: 0 28px 65px rgba(0, 0, 0, 0.52);

  --raggio-sezione: 32px;
  --raggio-card: 24px;
  --raggio-foto: 24px;

  --larghezza-massima: 1500px;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--bianco);

  font-family: "Montserrat", sans-serif;

  background:
    radial-gradient(
      circle at 10% 3%,
      rgba(255, 255, 255, 0.88),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      var(--avorio-chiaro),
      var(--avorio) 54%,
      #e5d8c0
    );
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
}

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

figure {
  margin: 0;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  color: var(--nero);
  background: var(--oro-chiaro);
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--nero);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--nero);
  border-radius: 999px;

  background: linear-gradient(
    180deg,
    var(--oro-scuro),
    var(--oro),
    var(--oro-chiaro)
  );
}


/* =========================================================
   TITOLI E TESTI
========================================================= */

h1,
h2,
h3,
.brand-name,
.footer-brand strong {
  font-family: "Cinzel", serif;
}

h1,
h2 {
  color: var(--oro-chiaro);

  background: linear-gradient(
    100deg,
    var(--oro-scuro) 0%,
    var(--oro-medio) 18%,
    var(--oro-chiaro) 39%,
    var(--oro-luce) 50%,
    var(--oro) 69%,
    var(--oro-scuro) 100%
  );

  background-size: 170% auto;
  background-position: center;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p {
  overflow-wrap: break-word;
}


/* =========================================================
   ETICHETTA SEZIONE
========================================================= */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 3.4px;
  text-transform: uppercase;
}

.section-label::before {
  content: "";

  flex: 0 0 auto;

  width: 34px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--oro-chiaro)
  );
}


/* =========================================================
   NAVBAR
========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  min-height: 84px;
  padding: 10px clamp(22px, 4vw, 66px);

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;

  border-bottom: 1px solid var(--bordo-oro);

  background: rgba(5, 5, 5, 0.95);

  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);

  transition:
    min-height 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.nav.scrolled {
  min-height: 74px;

  background: rgba(5, 5, 5, 0.99);

  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.46);
}

.brand {
  min-width: max-content;

  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 82px;
  height: 58px;

  object-fit: contain;

  border-radius: 5px;

  filter:
    brightness(1.1)
    contrast(1.06)
    drop-shadow(0 0 10px rgba(214, 161, 70, 0.28));

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);

  filter:
    brightness(1.14)
    contrast(1.08)
    drop-shadow(0 0 17px rgba(255, 225, 154, 0.42));
}

.brand-text {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--oro-chiaro);

  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.brand-text small {
  margin-top: 4px;

  color: var(--grigio);

  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.nav-links {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.25vw, 21px);
}

.nav-links a {
  position: relative;

  padding: 12px 0;

  color: #d0d0d0;

  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;

  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";

  position: absolute;
  bottom: 4px;
  left: 50%;

  width: 0;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--oro-chiaro),
    transparent
  );

  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--oro-chiaro);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  min-width: max-content;
  padding-inline: 19px;

  font-size: 11px;
}

.menu-btn {
  display: none;

  width: 46px;
  height: 46px;
  padding: 11px;

  cursor: pointer;

  border: 1px solid var(--bordo-oro);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.035);
}

.menu-btn span {
  display: block;

  width: 100%;
  height: 2px;
  margin: 5px 0;

  border-radius: 999px;

  background: var(--oro-chiaro);

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   BOTTONI
========================================================= */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 49px;
  padding: 14px 27px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--nero);

  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;

  cursor: pointer;

  border: 1px solid rgba(255, 241, 194, 0.44);
  border-radius: 999px;

  background: linear-gradient(
    125deg,
    var(--oro-scuro),
    var(--oro-medio) 27%,
    var(--oro-chiaro) 52%,
    var(--oro) 77%,
    var(--oro-scuro)
  );

  box-shadow:
    0 12px 29px rgba(214, 161, 70, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.btn::before {
  content: "";

  position: absolute;
  z-index: -1;
  top: -70%;
  left: -45%;

  width: 43px;
  height: 250%;

  opacity: 0.55;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.78),
    transparent
  );

  transform: rotate(24deg);
  animation: buttonShine 3.1s linear infinite;
}

.btn:hover {
  transform: translateY(-3px);

  border-color: var(--oro-luce);

  box-shadow:
    0 17px 39px rgba(214, 161, 70, 0.36),
    0 0 24px rgba(255, 225, 154, 0.14);
}

.btn-outline {
  color: var(--oro-chiaro);

  border-color: rgba(214, 161, 70, 0.67);

  background: rgba(255, 255, 255, 0.025);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.014),
    0 12px 28px rgba(0, 0, 0, 0.27);
}

.btn-outline::before {
  opacity: 0.24;
}

.btn-outline:hover {
  color: var(--oro-luce);
  background: rgba(214, 161, 70, 0.075);
}


/* =========================================================
   STRUTTURA GENERALE
========================================================= */

main {
  width: 100%;
  padding: 1px 0 24px;
}

.section,
.hero,
.city-chapter,
.statement-section {
  width: min(calc(100% - 12%), var(--larghezza-massima));
  margin: 38px auto;
}

.section,
.hero {
  border: 1px solid var(--bordo-oro);
  border-radius: var(--raggio-sezione);

  background:
    radial-gradient(
      circle at 86% 12%,
      rgba(214, 161, 70, 0.11),
      transparent 29%
    ),
    radial-gradient(
      circle at 10% 100%,
      rgba(133, 84, 23, 0.08),
      transparent 29%
    ),
    linear-gradient(
      145deg,
      var(--nero-3),
      var(--nero-2) 48%,
      var(--nero)
    );

  box-shadow: var(--ombra-sezione);
}

.section {
  position: relative;
  overflow: hidden;

  padding:
    clamp(60px, 7vw, 100px)
    clamp(27px, 6vw, 90px);
}

.section::before {
  content: "";

  position: absolute;
  top: 0;
  left: 11%;

  width: 78%;
  height: 1px;

  opacity: 0.35;

  background: linear-gradient(
    90deg,
    transparent,
    var(--oro-chiaro),
    transparent
  );
}

.section-head {
  width: min(100%, 930px);
  margin: 0 auto clamp(38px, 5vw, 62px);

  text-align: center;
}

.section-head .section-label {
  justify-content: center;
}

.section-head .section-label::after,
.contact-heading .section-label::after,
.closing-content .section-label::after {
  content: "";

  width: 34px;
  height: 1px;

  background: linear-gradient(
    90deg,
    var(--oro-chiaro),
    transparent
  );
}

.section-head h2,
.service-heading h2,
.controls-intro h2,
.territory-content h2,
.integrated-content h2,
.closing-content h2,
.contact-heading h2 {
  width: 100%;
  max-width: 100%;
  margin-top: 16px;

  font-size: clamp(33px, 4vw, 59px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.section-head h2 span,
.service-heading h2 span,
.controls-intro h2 span,
.territory-content h2 span,
.integrated-content h2 span,
.closing-content h2 span,
.contact-heading h2 span {
  display: block;
}

.section-head > p {
  max-width: 800px;
  margin: 20px auto 0;

  color: var(--grigio-chiaro);

  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: calc(100vh - 116px);
  margin-top: 110px;

  padding:
    clamp(52px, 6vw, 85px)
    clamp(29px, 6vw, 88px);

  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
}

.hero-background,
.hero-background span {
  position: absolute;
  pointer-events: none;
}

.hero-background {
  z-index: -1;
  inset: 0;
}

.hero-glow {
  border-radius: 50%;
  filter: blur(5px);
}

.hero-glow-one {
  top: -130px;
  right: -100px;

  width: 480px;
  height: 480px;

  background: radial-gradient(
    circle,
    rgba(214, 161, 70, 0.16),
    rgba(214, 161, 70, 0.04) 45%,
    transparent 73%
  );
}

.hero-glow-two {
  bottom: -210px;
  left: 10%;

  width: 480px;
  height: 480px;

  background: radial-gradient(
    circle,
    rgba(133, 84, 23, 0.11),
    transparent 70%
  );
}

.hero-line {
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 225, 154, 0.5),
    transparent
  );
}

.hero-line-one {
  top: 24%;
  left: -12%;

  width: 57%;

  transform: rotate(-12deg);
  animation: heroLineOne 8s ease-in-out infinite;
}

.hero-line-two {
  right: -15%;
  bottom: 19%;

  width: 59%;

  transform: rotate(10deg);
  animation: heroLineTwo 9s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero-content h1 {
  width: 100%;
  max-width: 850px;
  margin: 19px 0 24px;

  font-size: clamp(42px, 4.35vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.6px;
}

:where(a, button):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.hero-content h1 span {
  display: block;
}

.hero-lead {
  max-width: 750px;

  color: var(--bianco-morbido);

  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.72;
}

.hero-secondary {
  max-width: 720px;
  margin-top: 15px;

  color: var(--grigio);

  font-size: 14px;
  font-weight: 500;
  line-height: 1.73;
}

.hero-actions {
  margin-top: 30px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-points {
  max-width: 740px;
  margin-top: 42px;
  padding-top: 26px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid rgba(214, 161, 70, 0.23);
}

.hero-point {
  position: relative;
  min-width: 0;
  min-height: 74px;

  padding: 5px 18px;
}

.hero-point:first-child {
  padding-left: 0;
}

.hero-point:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 5px;
  right: 0;

  width: 1px;
  height: calc(100% - 10px);

  background: linear-gradient(
    180deg,
    transparent,
    rgba(214, 161, 70, 0.42),
    transparent
  );
}

.hero-point strong {
  display: block;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
}

.hero-point span {
  display: block;
  margin-top: 7px;

  color: var(--grigio);

  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* =========================================================
   HERO — FOTOGRAFIA
========================================================= */

.hero-visual {
  position: relative;
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  position: relative;
  overflow: hidden;

  width: min(100%, 580px);
  min-height: 560px;

  border: 1px solid rgba(255, 225, 154, 0.45);
  border-radius: 28px;

  background: var(--nero);

  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.55),
    0 0 45px rgba(214, 161, 70, 0.09);

  transform: rotate(1.3deg);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}

.hero-photo:hover {
  transform: rotate(0deg) translateY(-7px);
  border-color: var(--oro-chiaro);
}

.hero-photo::before {
  content: "";

  position: absolute;
  z-index: 2;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.03) 35%,
      rgba(0, 0, 0, 0.24) 62%,
      rgba(0, 0, 0, 0.94) 100%
    ),
    linear-gradient(
      130deg,
      rgba(255, 225, 154, 0.09),
      transparent 36%
    );
}

.hero-photo img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo:hover img {
  transform: scale(1.045);
}

.hero-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 32px;
  left: 34px;
}

.hero-photo figcaption span {
  display: block;

  color: var(--oro-chiaro);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-photo figcaption strong {
  display: block;
  max-width: 430px;
  margin-top: 9px;

  color: var(--bianco);

  font-family: "Cinzel", serif;
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 700;
  line-height: 1.32;
}

.hero-photo-badge {
  position: absolute;
  z-index: 5;
  right: -21px;
  bottom: 52px;

  min-width: 180px;
  padding: 18px 21px;

  border: 1px solid rgba(255, 225, 154, 0.5);
  border-radius: 18px;

  background: rgba(5, 5, 5, 0.93);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  animation: badgeFloat 4s ease-in-out infinite;
}

.hero-photo-badge span {
  display: block;

  color: var(--grigio);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.hero-photo-badge strong {
  display: block;
  margin-top: 6px;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 18px;
}


/* =========================================================
   GRANDI CAPITOLI DELLE CITTÀ
========================================================= */

.city-chapter {
  position: relative;
  overflow: hidden;

  height: clamp(520px, 66vw, 790px);

  border: 1px solid var(--bordo-oro);
  border-radius: var(--raggio-sezione);

  background: var(--nero);

  box-shadow: var(--ombra-sezione);
}

.city-chapter-image {
  position: relative;

  width: 100%;
  height: 100%;
}

.city-chapter-image::before {
  content: "";

  position: absolute;
  z-index: 3;
  inset: 0;

  pointer-events: none;

  border-radius: inherit;

  box-shadow:
    inset 0 0 0 1px rgba(255, 225, 154, 0.06),
    inset 0 0 90px rgba(0, 0, 0, 0.55);
}

.city-chapter-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    brightness(0.9)
    contrast(1.06)
    saturate(0.95);

  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}

.city-chapter:hover .city-chapter-image img {
  transform: scale(1.035);

  filter:
    brightness(0.98)
    contrast(1.07)
    saturate(1);
}

.city-chapter-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.69) 33%,
      rgba(0, 0, 0, 0.16) 67%,
      rgba(0, 0, 0, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15),
      transparent 40%,
      rgba(0, 0, 0, 0.36)
    );
}

.city-chapter:nth-of-type(even) .city-chapter-overlay {
  background:
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.69) 33%,
      rgba(0, 0, 0, 0.14) 67%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15),
      transparent 40%,
      rgba(0, 0, 0, 0.36)
    );
}

.city-chapter-content {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(30px, 7vw, 105px);

  width: min(620px, 50%);
  padding-left: 30px;

  border-left: 1px solid rgba(255, 225, 154, 0.57);

  transform: translateY(-50%);
}

.city-chapter:nth-of-type(even) .city-chapter-content {
  right: clamp(30px, 7vw, 105px);
  left: auto;

  text-align: right;

  padding-right: 30px;
  padding-left: 0;

  border-right: 1px solid rgba(255, 225, 154, 0.57);
  border-left: 0;
}

.city-chapter:nth-of-type(even) .section-label {
  justify-content: flex-end;
}

.city-chapter:nth-of-type(even) .section-label::before {
  order: 2;

  background: linear-gradient(
    90deg,
    var(--oro-chiaro),
    transparent
  );
}

.city-number {
  display: block;
  margin-bottom: 20px;

  color: rgba(255, 225, 154, 0.55);

  font-family: "Cinzel", serif;
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.8;
}

.city-chapter-content h2 {
  margin-top: 18px;

  font-size: clamp(34px, 4.3vw, 65px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.city-chapter-content h2 span {
  display: block;
}

.city-chapter-content p {
  max-width: 570px;
  margin-top: 22px;

  color: var(--bianco-morbido);

  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.75;
}

.city-chapter:nth-of-type(even) .city-chapter-content p {
  margin-left: auto;
}


/* =========================================================
   POSIZIONE FOTO CITTÀ
========================================================= */

.city-chapter-assisi img {
  object-position: center 46%;
}

.city-chapter-perugia img {
  object-position: center 48%;
}

.city-chapter-foligno img {
  object-position: center 50%;
}

.city-chapter-terni img {
  object-position: center 47%;
}


/* =========================================================
   SERVIZIO
========================================================= */

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(45px, 6vw, 85px);
}

.service-heading,
.service-content {
  min-width: 0;
}

.service-heading h2 {
  font-size: clamp(32px, 3.35vw, 51px);
}

.service-content > p {
  color: var(--grigio-chiaro);

  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.service-content > p + p {
  margin-top: 18px;
}

.service-lead {
  color: var(--bianco) !important;

  font-size: clamp(18px, 1.65vw, 23px) !important;
  font-weight: 650 !important;
  line-height: 1.62 !important;
}

.service-values {
  grid-column: 1 / -1;

  margin-top: 16px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-value {
  min-width: 0;
  min-height: 235px;
  padding: 26px 22px;

  border: 1px solid rgba(214, 161, 70, 0.25);
  border-radius: 21px;

  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.047),
    rgba(255, 255, 255, 0.012)
  );

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.service-value:hover {
  transform: translateY(-7px);

  border-color: var(--bordo-oro-forte);

  background: linear-gradient(
    155deg,
    rgba(214, 161, 70, 0.1),
    rgba(255, 255, 255, 0.012)
  );
}

.value-number {
  color: var(--oro);

  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 800;
}

.service-value h3 {
  margin-top: 26px;

  color: var(--oro-chiaro);

  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.service-value p {
  margin-top: 12px;

  color: var(--grigio);

  font-size: 13px;
  line-height: 1.65;
}


/* =========================================================
   FRASE MANIFESTO
========================================================= */

.statement-section {
  position: relative;
  overflow: hidden;

  padding:
    clamp(65px, 8vw, 110px)
    clamp(28px, 7vw, 100px);

  border: 1px solid var(--bordo-oro);
  border-radius: var(--raggio-sezione);

  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(214, 161, 70, 0.14),
      transparent 47%
    ),
    linear-gradient(
      145deg,
      #17110a,
      var(--nero-2) 55%,
      var(--nero)
    );

  box-shadow: var(--ombra-sezione);
}

.statement-section::before,
.statement-section::after {
  content: "";

  position: absolute;
  left: 50%;

  width: 68%;
  height: 1px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 225, 154, 0.48),
    transparent
  );
}

.statement-section::before {
  top: 29px;
}

.statement-section::after {
  bottom: 29px;
}

.statement-content {
  position: relative;

  max-width: 1030px;
  margin: 0 auto;

  text-align: center;
}

.statement-content > span {
  position: absolute;
  top: -65px;
  left: 50%;

  color: rgba(255, 225, 154, 0.12);

  font-family: Georgia, serif;
  font-size: 180px;
  line-height: 1;

  transform: translateX(-50%);
}

.statement-content blockquote {
  position: relative;
  z-index: 2;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: clamp(24px, 3vw, 43px);
  font-weight: 650;
  line-height: 1.5;
}

.statement-content p {
  margin-top: 25px;

  color: var(--grigio);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}


/* =========================================================
   METODO
========================================================= */

.method-timeline {
  max-width: 1160px;
  margin: 0 auto;

  display: grid;
  gap: 17px;
}

.method-step {
  position: relative;
  overflow: hidden;

  min-height: 190px;
  padding: 30px 35px;

  display: grid;
  grid-template-columns: 90px 34px minmax(0, 1fr);
  align-items: center;
  gap: 24px;

  border: 1px solid rgba(214, 161, 70, 0.27);
  border-radius: var(--raggio-card);

  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(214, 161, 70, 0.09),
      transparent 29%
    ),
    linear-gradient(
      150deg,
      var(--nero-4),
      #090909 73%
    );

  box-shadow: var(--ombra-card);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.method-step::after {
  content: "";

  position: absolute;
  top: 50%;
  right: -60px;

  width: 160px;
  height: 160px;

  border: 1px solid rgba(214, 161, 70, 0.1);
  border-radius: 50%;

  transform: translateY(-50%);

  transition:
    transform 0.5s ease,
    border-color 0.35s ease;
}

.method-step:hover {
  transform: translateX(7px);
  border-color: var(--bordo-oro-forte);
}

.method-step:hover::after {
  transform: translateY(-50%) scale(1.2);
  border-color: rgba(255, 225, 154, 0.24);
}

.method-index {
  color: var(--oro);

  font-family: "Cinzel", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  text-align: center;
}

.method-line {
  position: relative;

  width: 34px;
  height: 100%;

  display: flex;
  justify-content: center;
}

.method-line::before {
  content: "";

  position: absolute;
  top: -75px;
  bottom: -75px;

  width: 1px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(214, 161, 70, 0.4),
    transparent
  );
}

.method-line span {
  position: relative;
  z-index: 2;

  align-self: center;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--oro-chiaro);

  box-shadow:
    0 0 11px var(--oro),
    0 0 22px rgba(255, 225, 154, 0.42);
}

.method-content {
  min-width: 0;
}

.method-label {
  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.method-content h3 {
  max-width: 790px;
  margin-top: 9px;

  color: var(--bianco);

  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.35;
}

.method-content p {
  max-width: 850px;
  margin-top: 11px;

  color: var(--grigio);

  font-size: 14px;
  line-height: 1.68;
}


/* =========================================================
   CONTROLLI
========================================================= */

.controls-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  align-items: center;
  gap: clamp(45px, 7vw, 95px);
}

.controls-intro,
.controls-visual {
  min-width: 0;
}

.controls-lead {
  margin-top: 25px;

  color: var(--bianco);

  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 600;
  line-height: 1.66;
}

.controls-intro > p:not(.controls-lead) {
  margin-top: 18px;

  color: var(--grigio-chiaro);

  font-size: 15px;
  line-height: 1.78;
}

.controls-list {
  margin-top: 30px;

  display: grid;
  gap: 13px;
}

.control-item {
  min-height: 41px;

  display: flex;
  align-items: center;
  gap: 15px;
}

.control-item > span {
  flex: 0 0 auto;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--oro-chiaro);

  box-shadow:
    0 0 10px var(--oro),
    0 0 20px rgba(214, 161, 70, 0.34);
}

.control-item p {
  color: var(--grigio-chiaro);

  font-size: 14px;
  line-height: 1.55;
}

.controls-photo {
  position: relative;
  overflow: hidden;

  min-height: 560px;

  border: 1px solid rgba(255, 225, 154, 0.43);
  border-radius: 28px;

  background: var(--nero);

  box-shadow: var(--ombra-foto);

  transition:
    transform 0.5s ease,
    border-color 0.4s ease;
}

.controls-photo:hover {
  transform: translateY(-8px);
  border-color: var(--oro-chiaro);
}

.controls-photo::before {
  content: "";

  position: absolute;
  z-index: 2;
  inset: 0;

  background: linear-gradient(
    180deg,
    transparent 43%,
    rgba(0, 0, 0, 0.22) 62%,
    rgba(0, 0, 0, 0.94) 100%
  );
}

.controls-photo img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.controls-photo:hover img {
  transform: scale(1.04);
}

.controls-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 30px;
  left: 30px;
}

.controls-photo figcaption span {
  display: block;

  color: var(--oro-chiaro);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.controls-photo figcaption strong {
  display: block;
  margin-top: 9px;

  color: var(--bianco);

  font-family: "Cinzel", serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
}


/* =========================================================
   LAVORO REALE
========================================================= */

.work-section {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(214, 161, 70, 0.1),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      var(--nero-3),
      var(--nero-2) 48%,
      var(--nero)
    );
}

.work-introduction {
  max-width: 980px;
  margin: -15px auto 43px;
  padding: 28px 34px;

  text-align: center;

  border-top: 1px solid rgba(214, 161, 70, 0.26);
  border-bottom: 1px solid rgba(214, 161, 70, 0.26);
}

.work-introduction p {
  color: var(--grigio-chiaro);

  font-size: 15px;
  line-height: 1.75;
}

.work-introduction strong {
  display: block;
  margin-top: 13px;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.5;
}

.distribution-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 250px;
  gap: 17px;
}

.distribution-photo {
  position: relative;
  overflow: hidden;

  min-width: 0;
  min-height: 0;

  border: 1px solid rgba(214, 161, 70, 0.31);
  border-radius: 20px;

  background: var(--nero);

  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.4);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.distribution-photo:hover {
  z-index: 4;

  transform: translateY(-7px);

  border-color: var(--oro-chiaro);

  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(214, 161, 70, 0.08);
}

.distribution-photo-large {
  grid-column: span 2;
  grid-row: span 2;
}

.distribution-photo-wide {
  grid-column: span 2;
}

.distribution-photo::before {
  content: "";

  position: absolute;
  z-index: 2;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(0, 0, 0, 0.15) 63%,
      rgba(0, 0, 0, 0.92) 100%
    ),
    linear-gradient(
      135deg,
      rgba(255, 225, 154, 0.07),
      transparent 30%
    );
}

.distribution-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}

.distribution-photo:hover img {
  transform: scale(1.055);
  filter: brightness(1.04);
}

.distribution-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 19px;
  bottom: 18px;
  left: 19px;

  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.distribution-photo figcaption span {
  flex: 0 0 auto;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.distribution-photo figcaption p {
  color: var(--bianco-morbido);

  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}


/* =========================================================
   SOLUZIONI
========================================================= */

.solutions-grid {
  max-width: 1180px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  position: relative;
  overflow: hidden;

  min-height: 270px;
  padding: 31px 27px;

  border: 1px solid rgba(214, 161, 70, 0.26);
  border-radius: var(--raggio-card);

  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(214, 161, 70, 0.09),
      transparent 29%
    ),
    linear-gradient(
      150deg,
      var(--nero-4),
      #090909
    );

  box-shadow: var(--ombra-card);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.solution-card::after {
  content: "";

  position: absolute;
  right: -45px;
  bottom: -45px;

  width: 125px;
  height: 125px;

  border: 1px solid rgba(214, 161, 70, 0.1);
  border-radius: 50%;

  transition:
    transform 0.45s ease,
    border-color 0.35s ease;
}

.solution-card:hover {
  transform: translateY(-7px);
  border-color: var(--bordo-oro-forte);
}

.solution-card:hover::after {
  transform: scale(1.22);
  border-color: rgba(255, 225, 154, 0.22);
}

.solution-number {
  color: var(--oro);

  font-family: "Cinzel", serif;
  font-size: 27px;
  font-weight: 800;
}

.solution-card h3 {
  margin-top: 32px;

  color: var(--oro-chiaro);

  font-size: clamp(19px, 1.75vw, 24px);
  line-height: 1.35;
}

.solution-card p {
  margin-top: 13px;

  color: var(--grigio);

  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   TERRITORIO
========================================================= */

.territory-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
}

.territory-content,
.territory-cities {
  min-width: 0;
}

.territory-lead {
  margin-top: 25px;

  color: var(--bianco);

  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 600;
  line-height: 1.66;
}

.territory-content > p:not(.territory-lead) {
  margin-top: 18px;

  color: var(--grigio-chiaro);

  font-size: 15px;
  line-height: 1.78;
}

.territory-areas {
  margin-top: 30px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.territory-areas span {
  padding: 10px 15px;

  color: var(--oro-chiaro);

  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;

  border: 1px solid rgba(214, 161, 70, 0.3);
  border-radius: 999px;

  background: rgba(214, 161, 70, 0.055);
}

.territory-cities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 14px;
}

.territory-city {
  position: relative;
  overflow: hidden;

  min-width: 0;

  border: 1px solid rgba(214, 161, 70, 0.33);
  border-radius: 20px;

  background: var(--nero);

  box-shadow: 0 17px 40px rgba(0, 0, 0, 0.4);

  transition:
    transform 0.4s ease,
    border-color 0.35s ease;
}

.territory-city:nth-child(1),
.territory-city:nth-child(4) {
  transform: translateY(18px);
}

.territory-city:hover {
  z-index: 3;

  transform: translateY(-5px);
  border-color: var(--oro-chiaro);
}

.territory-city:nth-child(1):hover,
.territory-city:nth-child(4):hover {
  transform: translateY(10px);
}

.territory-city::before {
  content: "";

  position: absolute;
  z-index: 2;
  inset: 0;

  background: linear-gradient(
    180deg,
    transparent 48%,
    rgba(0, 0, 0, 0.87) 100%
  );
}

.territory-city img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.territory-city:hover img {
  transform: scale(1.06);
}

.territory-city figcaption {
  position: absolute;
  z-index: 3;
  right: 19px;
  bottom: 17px;
  left: 19px;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 18px;
  font-weight: 800;
}


/* =========================================================
   DIFFERENZA
========================================================= */

.difference-grid {
  max-width: 1180px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.difference-card {
  min-height: 245px;
  padding: 27px 23px;

  border: 1px solid rgba(214, 161, 70, 0.25);
  border-radius: 21px;

  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.047),
    rgba(255, 255, 255, 0.012)
  );

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.difference-card:hover {
  transform: translateY(-7px);

  border-color: var(--bordo-oro-forte);

  background: linear-gradient(
    155deg,
    rgba(214, 161, 70, 0.095),
    rgba(255, 255, 255, 0.012)
  );
}

.difference-card > span {
  color: var(--oro);

  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 800;
}

.difference-card h3 {
  margin-top: 27px;

  color: var(--oro-chiaro);

  font-size: 18px;
  line-height: 1.4;
}

.difference-card p {
  margin-top: 13px;

  color: var(--grigio);

  font-size: 13px;
  line-height: 1.68;
}


/* =========================================================
   GRAFICA + DISTRIBUZIONE
========================================================= */

.integrated-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  align-items: center;
  gap: clamp(45px, 6vw, 80px);
}

.integrated-content,
.integrated-process {
  min-width: 0;
}

.integrated-content h2 {
  font-size: clamp(32px, 3.45vw, 53px);
}

.integrated-content > p {
  margin-top: 20px;

  color: var(--grigio-chiaro);

  font-size: 15px;
  line-height: 1.78;
}

.integrated-content > p + p {
  margin-top: 15px;
}

.integrated-actions {
  margin-top: 29px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--oro-chiaro);

  font-size: 13px;
  font-weight: 750;
}

.text-link span {
  font-size: 19px;

  transition: transform 0.3s ease;
}

.text-link:hover span {
  transform: translateX(6px);
}

.integrated-process {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.process-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 245px;
  padding: 26px 20px;

  display: flex;
  align-items: center;
  flex-direction: column;

  text-align: center;

  border: 1px solid rgba(214, 161, 70, 0.28);
  border-radius: 20px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(214, 161, 70, 0.1),
      transparent 36%
    ),
    linear-gradient(
      150deg,
      var(--nero-4),
      #090909
    );

  box-shadow: var(--ombra-card);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.process-card:hover {
  transform: translateY(-7px);
  border-color: var(--bordo-oro-forte);
}

.process-number {
  color: var(--oro);

  font-family: "Cinzel", serif;
  font-size: 25px;
  font-weight: 800;
}

.process-card strong {
  display: block;
  margin-top: 30px;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 18px;
}

.process-card p {
  margin-top: 13px;

  color: var(--grigio);

  font-size: 12px;
  line-height: 1.65;
}

.process-arrow {
  flex: 0 0 auto;

  width: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--oro-chiaro);

  font-size: 22px;
}


/* =========================================================
   CTA FINALE
========================================================= */

.closing-section {
  text-align: center;

  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(214, 161, 70, 0.14),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--nero-3),
      var(--nero)
    );
}

.closing-content {
  max-width: 930px;
  margin: 0 auto;
}

.closing-content .section-label {
  justify-content: center;
}

.closing-content p {
  max-width: 780px;
  margin: 21px auto 0;

  color: var(--grigio-chiaro);

  font-size: 16px;
  line-height: 1.76;
}

.closing-actions {
  margin-top: 31px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}


/* =========================================================
   CONTATTI
========================================================= */

.contact-heading {
  max-width: 880px;
  margin: 0 auto;

  text-align: center;
}

.contact-heading .section-label {
  justify-content: center;
}

.contact-heading p {
  max-width: 710px;
  margin: 21px auto 0;

  color: var(--grigio-chiaro);

  font-size: 16px;
  line-height: 1.76;
}

.contact-grid {
  max-width: 1000px;
  margin: 42px auto 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.contact-card {
  min-width: 0;
  min-height: 155px;
  padding: 24px;

  display: flex;
  align-items: center;
  gap: 20px;

  border: 1px solid rgba(214, 161, 70, 0.28);
  border-radius: 23px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.052),
    rgba(255, 255, 255, 0.012)
  );

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-6px);

  border-color: var(--bordo-oro-forte);

  background: linear-gradient(
    145deg,
    rgba(214, 161, 70, 0.095),
    rgba(255, 255, 255, 0.012)
  );
}

.contact-icon {
  flex: 0 0 auto;

  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--oro-chiaro);

  border: 1px solid rgba(214, 161, 70, 0.32);
  border-radius: 18px;

  background: rgba(214, 161, 70, 0.055);
}

.contact-icon svg {
  width: 31px;
  height: 31px;
}

.contact-details {
  min-width: 0;
}

.contact-details > span {
  display: block;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 17px;
  font-weight: 800;
}

.contact-details strong {
  display: block;
  overflow-wrap: anywhere;

  margin-top: 7px;

  color: var(--bianco);

  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 700;
  line-height: 1.4;
}

.contact-details small {
  display: block;
  margin-top: 8px;

  color: var(--grigio);

  font-size: 12px;
  line-height: 1.55;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  width: 100%;
  margin-top: 38px;
  padding:
    55px
    clamp(25px, 6vw, 92px)
    24px;

  color: var(--grigio);

  border-top: 1px solid var(--bordo-oro);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(214, 161, 70, 0.07),
      transparent 29%
    ),
    var(--nero);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 1fr;
  align-items: start;
  gap: 38px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 84px;
  height: 62px;

  object-fit: contain;

  border-radius: 4px;
}

.footer-brand strong {
  color: var(--oro-chiaro);

  font-size: 18px;
  font-weight: 800;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 6px;

  color: var(--grigio);

  font-size: 12px;
  line-height: 1.55;
}

.footer-navigation,
.footer-company,
.footer-contacts {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-navigation > span,
.footer-company > span,
.footer-contacts > span {
  margin-bottom: 5px;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 800;
}

.footer-navigation a,
.footer-company a,
.footer-contacts a,
.footer-bottom a {
  overflow-wrap: anywhere;

  color: var(--grigio);

  font-size: 12px;
  font-weight: 600;

  transition: color 0.3s ease;
}

.footer-navigation a:hover,
.footer-company a:hover,
.footer-contacts a:hover,
.footer-bottom a:hover {
  color: var(--oro-chiaro);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-top: 1px solid rgba(214, 161, 70, 0.17);
}

.footer-bottom p {
  color: var(--grigio-scuro);
  font-size: 11px;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;

  width: 61px;
  height: 61px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--nero);

  border: 1px solid rgba(255, 241, 194, 0.68);
  border-radius: 50%;

  background: linear-gradient(
    135deg,
    var(--oro-scuro),
    var(--oro),
    var(--oro-chiaro)
  );

  box-shadow:
    0 0 0 0 rgba(214, 161, 70, 0.55),
    0 14px 35px rgba(0, 0, 0, 0.42);

  animation: whatsappPulse 1.7s infinite;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.09);

  box-shadow:
    0 0 28px rgba(214, 161, 70, 0.44),
    0 17px 40px rgba(0, 0, 0, 0.47);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(37px);

  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.image-loaded {
  opacity: 1;
}

.image-error {
  opacity: 0.3;
}


/* =========================================================
   ANIMAZIONI
========================================================= */

@keyframes buttonShine {
  0% {
    left: -45%;
  }

  48%,
  100% {
    left: 135%;
  }
}

@keyframes heroLineOne {
  0%,
  100% {
    transform: rotate(-12deg) translateX(-5%);
    opacity: 0.2;
  }

  50% {
    transform: rotate(-12deg) translateX(19%);
    opacity: 0.65;
  }
}

@keyframes heroLineTwo {
  0%,
  100% {
    transform: rotate(10deg) translateX(5%);
    opacity: 0.18;
  }

  50% {
    transform: rotate(10deg) translateX(-18%);
    opacity: 0.58;
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes whatsappPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(214, 161, 70, 0.52),
      0 14px 35px rgba(0, 0, 0, 0.42);
  }

  70% {
    box-shadow:
      0 0 0 18px rgba(214, 161, 70, 0),
      0 14px 35px rgba(0, 0, 0, 0.42);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(214, 161, 70, 0),
      0 14px 35px rgba(0, 0, 0, 0.42);
  }
}


/* =========================================================
   RESPONSIVE — COMPUTER MEDIO
========================================================= */

@media (max-width: 1300px) {
  .nav {
    gap: 17px;
    padding-inline: 27px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 10px;
  }

  .nav-cta {
    padding-inline: 15px;
    font-size: 10px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
  }

  .service-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integrated-section {
    grid-template-columns: 1fr;
  }

  .integrated-content {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
  }

  .integrated-content .section-label {
    justify-content: center;
  }

  .integrated-content .section-label::after {
    content: "";

    width: 34px;
    height: 1px;

    background: linear-gradient(
      90deg,
      var(--oro-chiaro),
      transparent
    );
  }

  .integrated-actions {
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: 1.25fr 0.8fr 1fr;
  }

  .footer-contacts {
    grid-column: 2 / 4;
  }
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {
  html {
    scroll-padding-top: 85px;
  }

  .nav {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .brand-logo {
    width: 72px;
    height: 52px;
  }

  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: -100%;
    z-index: 999;

    width: min(86%, 390px);
    height: calc(100vh - 76px);
    padding: 34px 30px;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;

    overflow-y: auto;

    border-left: 1px solid var(--bordo-oro);

    background:
      radial-gradient(
        circle at 100% 0%,
        rgba(214, 161, 70, 0.12),
        transparent 30%
      ),
      rgba(5, 5, 5, 0.99);

    box-shadow: -20px 30px 55px rgba(0, 0, 0, 0.43);

    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 16px 4px;

    font-family: "Cinzel", serif;
    font-size: 16px;

    border-bottom: 1px solid rgba(214, 161, 70, 0.13);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    margin-top: 96px;

    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content .section-label {
    justify-content: center;
  }

  .hero-content .section-label::after {
    content: "";

    width: 34px;
    height: 1px;

    background: linear-gradient(
      90deg,
      var(--oro-chiaro),
      transparent
    );
  }

  .hero-content h1,
  .hero-lead,
  .hero-secondary,
  .hero-points {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-photo {
    width: min(100%, 700px);
    min-height: 480px;

    transform: none;
  }

  .hero-photo-badge {
    right: 15px;
  }

  .city-chapter {
    height: 650px;
  }

  .city-chapter-overlay,
  .city-chapter:nth-of-type(even) .city-chapter-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.92) 100%
      );
  }

  .city-chapter-content,
  .city-chapter:nth-of-type(even) .city-chapter-content {
    top: auto;
    right: clamp(28px, 6vw, 65px);
    bottom: clamp(35px, 6vw, 70px);
    left: clamp(28px, 6vw, 65px);

    width: auto;
    padding: 0 0 0 24px;

    text-align: left;

    border-right: 0;
    border-left: 1px solid rgba(255, 225, 154, 0.57);

    transform: none;
  }

  .city-chapter:nth-of-type(even) .section-label {
    justify-content: flex-start;
  }

  .city-chapter:nth-of-type(even) .section-label::before {
    order: 0;

    background: linear-gradient(
      90deg,
      transparent,
      var(--oro-chiaro)
    );
  }

  .city-chapter:nth-of-type(even) .city-chapter-content p {
    margin-left: 0;
  }

  .service-section,
  .controls-section,
  .territory-section {
    grid-template-columns: 1fr;
  }

  .service-heading,
  .controls-intro,
  .territory-content {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
  }

  .service-heading .section-label,
  .controls-intro .section-label,
  .territory-content .section-label {
    justify-content: center;
  }

  .service-heading .section-label::after,
  .controls-intro .section-label::after,
  .territory-content .section-label::after {
    content: "";

    width: 34px;
    height: 1px;

    background: linear-gradient(
      90deg,
      var(--oro-chiaro),
      transparent
    );
  }

  .service-content {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
  }

  .controls-list {
    width: min(100%, 640px);
    margin-inline: auto;

    text-align: left;
  }

  .controls-photo {
    width: min(100%, 700px);
    min-height: 520px;
    margin: 0 auto;
  }

  .distribution-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .territory-cities {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .territory-areas {
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
    justify-content: center;

    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-contacts {
    grid-column: auto;
  }
}


/* =========================================================
   RESPONSIVE — TELEFONO
========================================================= */

@media (max-width: 700px) {
  :root {
    --raggio-sezione: 24px;
    --raggio-card: 21px;
    --raggio-foto: 18px;
  }

  .nav {
    min-height: 72px;
    padding: 8px 17px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 64px;
    height: 45px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 7px;
    letter-spacing: 1.7px;
  }

  .menu-btn {
    width: 43px;
    height: 43px;
  }

  .nav-links {
    top: 72px;
    height: calc(100vh - 72px);
  }

  .section,
  .hero,
  .city-chapter,
  .statement-section {
    width: calc(100% - 26px);
    margin-block: 22px;
  }

  .section {
    padding: 53px 20px;
  }

  .hero {
    margin-top: 87px;
    padding: 38px 20px 48px;
    gap: 29px;
  }

  .section-label {
    gap: 8px;

    font-size: 9px;
    letter-spacing: 2px;
  }

  .section-label::before,
  .section-head .section-label::after,
  .hero-content .section-label::after,
  .service-heading .section-label::after,
  .controls-intro .section-label::after,
  .territory-content .section-label::after,
  .integrated-content .section-label::after,
  .closing-content .section-label::after,
  .contact-heading .section-label::after {
    width: 19px;
  }

  .hero-content h1 {
    margin-top: 15px;

    font-size: clamp(34px, 10vw, 47px);
    line-height: 1.07;
    letter-spacing: -1px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.66;
  }

  .hero-secondary {
    font-size: 13px;
    line-height: 1.67;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-point {
    min-height: auto;
    padding: 15px 0;

    text-align: center;

    border-bottom: 1px solid rgba(214, 161, 70, 0.16);
  }

  .hero-point:last-child {
    border-bottom: 0;
  }

  .hero-point:not(:last-child)::after {
    display: none;
  }

  .hero-photo {
    min-height: 390px;

    border-radius: 21px;
  }

  .hero-photo figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .hero-photo figcaption strong {
    font-size: 21px;
  }

  .hero-photo-badge {
    right: 10px;
    bottom: 18px;

    min-width: 150px;
    padding: 14px 17px;

    display: none;
  }

  .section-head h2,
  .service-heading h2,
  .controls-intro h2,
  .territory-content h2,
  .integrated-content h2,
  .closing-content h2,
  .contact-heading h2 {
    font-size: clamp(29px, 8.5vw, 40px);
    line-height: 1.13;
    letter-spacing: -0.6px;
  }

  .section-head > p,
  .service-content > p,
  .controls-intro > p:not(.controls-lead),
  .territory-content > p:not(.territory-lead),
  .integrated-content > p,
  .closing-content p,
  .contact-heading p {
    font-size: 14px;
    line-height: 1.7;
  }

  .city-chapter {
    height: 570px;
  }

  .city-chapter-content,
  .city-chapter:nth-of-type(even) .city-chapter-content {
    right: 21px;
    bottom: 31px;
    left: 21px;

    padding-left: 17px;
  }

  .city-number {
    margin-bottom: 15px;

    font-size: 47px;
  }

  .city-chapter-content h2 {
    margin-top: 13px;

    font-size: clamp(29px, 8.7vw, 39px);
    line-height: 1.12;
  }

  .city-chapter-content p {
    margin-top: 16px;

    font-size: 13px;
    line-height: 1.65;
  }

  .service-values,
  .solutions-grid,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .service-value,
  .solution-card,
  .difference-card {
    min-height: auto;
  }

  .statement-section {
    padding: 70px 21px;
  }

  .statement-content > span {
    top: -47px;

    font-size: 135px;
  }

  .statement-content blockquote {
    font-size: 21px;
    line-height: 1.55;
  }

  .statement-content p {
    font-size: 9px;
    line-height: 1.6;
  }

  .method-step {
    min-height: auto;
    padding: 26px 21px;

    grid-template-columns: 1fr;
    gap: 15px;
  }

  .method-index {
    text-align: left;
  }

  .method-line {
    display: none;
  }

  .method-content h3 {
    font-size: 20px;
  }

  .controls-lead,
  .territory-lead {
    font-size: 17px;
  }

  .controls-photo {
    min-height: 420px;

    border-radius: 20px;
  }

  .controls-photo figcaption {
    right: 21px;
    bottom: 21px;
    left: 21px;
  }

  .controls-photo figcaption strong {
    font-size: 20px;
  }

  .work-introduction {
    padding: 24px 4px;
  }

  .distribution-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 11px;
  }

  .distribution-photo-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .distribution-photo-wide {
    grid-column: span 2;
  }

  .distribution-photo {
    border-radius: 15px;
  }

  .distribution-photo figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;

    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .distribution-photo figcaption span {
    font-size: 17px;
  }

  .distribution-photo figcaption p {
    font-size: 9px;
  }

  .territory-cities {
    grid-auto-rows: 200px;
    gap: 10px;
  }

  .territory-city:nth-child(1),
  .territory-city:nth-child(4),
  .territory-city:nth-child(1):hover,
  .territory-city:nth-child(4):hover {
    transform: none;
  }

  .integrated-process {
    align-items: stretch;
    flex-direction: column;
  }

  .process-card {
    min-height: auto;
  }

  .process-arrow {
    width: 100%;
    height: 40px;

    transform: rotate(90deg);
  }

  .integrated-actions {
    flex-direction: column;
  }

  .integrated-actions .btn {
    width: 100%;
  }

  .closing-actions {
    flex-direction: column;
  }

  .closing-actions .btn {
    width: 100%;
  }

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

  .contact-card {
    min-height: auto;
    padding: 20px 17px;
    gap: 14px;
  }

  .contact-icon {
    width: 52px;
    height: 52px;
  }

  .contact-icon svg {
    width: 27px;
    height: 27px;
  }

  .contact-details strong {
    font-size: 13px;
  }

  .footer {
    padding:
      43px
      20px
      23px;
  }

  .footer-main {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
    flex-direction: column;
  }

  .footer-navigation,
  .footer-company,
  .footer-contacts {
    align-items: center;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;

    text-align: center;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;

    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}


/* =========================================================
   TELEFONI PICCOLI
========================================================= */

@media (max-width: 420px) {
  .brand-name {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .section-head h2,
  .service-heading h2,
  .controls-intro h2,
  .territory-content h2,
  .integrated-content h2,
  .closing-content h2,
  .contact-heading h2 {
    font-size: 28px;
  }

  .city-chapter {
    height: 535px;
  }

  .city-chapter-content h2 {
    font-size: 28px;
  }

  .distribution-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .distribution-photo-large,
  .distribution-photo-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .territory-cities {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .contact-card {
    align-items: flex-start;
  }
}


/* =========================================================
   RIDUZIONE DELLE ANIMAZIONI
========================================================= */

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

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

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