/* =========================================================
   LA PIRAMIDE — HOME PAGE
   FILE: css/index.css

   Stile:
   - nero premium
   - oro metallico
   - sfondo esterno avorio
   - immagini reali dei progetti
   - responsive computer, tablet e telefono
========================================================= */


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

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

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

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

  --bianco: #ffffff;
  --bianco-morbido: #f4f4f4;

  --grigio-chiaro: #dedede;
  --grigio: #b8b8b8;
  --grigio-scuro: #777777;

  --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 48px rgba(0, 0, 0, 0.37);
  --ombra-immagine: 0 28px 58px rgba(0, 0, 0, 0.5);

  --raggio-sezione: 32px;
  --raggio-card: 24px;
  --raggio-immagine: 22px;

  --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% 5%,
      rgba(255, 255, 255, 0.86),
      transparent 28%
    ),
    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%;
}

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

figure {
  margin: 0;
}

::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,
.sector-body h3 {
  max-width: 100%;

  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: 165% 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;
}


/* =========================================================
   ETICHETTE DELLE SEZIONI
========================================================= */

.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.15)
    contrast(1.08)
    drop-shadow(0 0 17px rgba(255, 225, 154, 0.42));
}

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

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

.nav-links {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(11px, 1.35vw, 23px);
}

.nav-links a {
  position: relative;

  padding: 12px 0;

  color: #d0d0d0;

  font-size: 12px;
  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 {
  width: min(calc(100% - 12%), var(--larghezza-massima));
  margin: 38px auto;

  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,
.closing-content .section-label::after,
.contact-heading .section-label::after {
  content: "";

  width: 34px;
  height: 1px;

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

.section-head h2,
.company-intro h2,
.vision-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,
.company-intro h2 span,
.vision-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.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 6vw, 90px);
}

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

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

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

.hero-light-one {
  top: -100px;
  right: -90px;

  width: 440px;
  height: 440px;

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

.hero-light-two {
  bottom: -210px;
  left: 12%;

  width: 480px;
  height: 480px;

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

.hero-line {
  height: 1px;

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

.hero-line-one {
  top: 25%;
  left: -14%;

  width: 58%;

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

.hero-line-two {
  right: -17%;
  bottom: 20%;

  width: 61%;

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

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

.hero-content h1 {
  width: 100%;
  max-width: 850px;

  margin: 19px 0 24px;

  font-size: clamp(42px, 4.85vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.65px;
}

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

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

  color: var(--bianco-morbido);

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

.hero-secondary {
  max-width: 730px;
  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-highlights {
  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-highlight {
  position: relative;
  min-width: 0;
  min-height: 76px;

  padding: 5px 18px;
}

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

.hero-highlight: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-highlight strong {
  display: block;

  color: var(--oro-chiaro);

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

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

  color: var(--grigio);

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


/* =========================================================
   HERO — LOGO
========================================================= */

.hero-visual {
  min-width: 0;

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

.logo-showcase {
  position: relative;

  width: min(100%, 500px);
  min-height: 480px;

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

.logo-backlight {
  position: absolute;

  width: 82%;
  height: 62%;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 225, 154, 0.23),
    rgba(214, 161, 70, 0.075) 47%,
    transparent 72%
  );

  filter: blur(13px);
  animation: logoBacklight 4.8s ease-in-out infinite;
}

.logo-frame {
  position: relative;
  z-index: 3;

  width: min(93%, 440px);
  min-height: 270px;
  padding: 32px;

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

  border: 1px solid rgba(214, 161, 70, 0.38);
  border-radius: 24px;

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

  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.42),
    inset 0 0 35px rgba(214, 161, 70, 0.035);

  animation: logoFloat 5s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  max-width: 380px;
  max-height: 220px;

  object-fit: contain;

  border-radius: 5px;

  filter:
    brightness(1.1)
    contrast(1.08)
    drop-shadow(0 0 20px rgba(214, 161, 70, 0.31));
}

.frame-corner {
  position: absolute;

  width: 35px;
  height: 35px;
}

.frame-corner-one {
  top: -1px;
  left: -1px;

  border-top: 2px solid var(--oro-chiaro);
  border-left: 2px solid var(--oro-chiaro);
  border-radius: 22px 0 0;
}

.frame-corner-two {
  top: -1px;
  right: -1px;

  border-top: 2px solid var(--oro-chiaro);
  border-right: 2px solid var(--oro-chiaro);
  border-radius: 0 22px 0 0;
}

.frame-corner-three {
  right: -1px;
  bottom: -1px;

  border-right: 2px solid var(--oro-chiaro);
  border-bottom: 2px solid var(--oro-chiaro);
  border-radius: 0 0 22px;
}

.frame-corner-four {
  bottom: -1px;
  left: -1px;

  border-bottom: 2px solid var(--oro-chiaro);
  border-left: 2px solid var(--oro-chiaro);
  border-radius: 0 0 0 22px;
}

.logo-connections {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.connection {
  position: absolute;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--oro-luce);

  box-shadow:
    0 0 12px var(--oro),
    0 0 23px rgba(255, 225, 154, 0.55);

  animation: connectionPulse 2.6s ease-in-out infinite;
}

.connection::after {
  content: "";

  position: absolute;
  top: 50%;

  height: 1px;

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

.connection-one {
  top: 19%;
  right: 7%;
}

.connection-one::after {
  right: 100%;
  width: 75px;
}

.connection-two {
  bottom: 28%;
  left: 3%;

  animation-delay: 0.8s;
}

.connection-two::after {
  left: 100%;
  width: 65px;
}

.connection-three {
  right: 23%;
  bottom: 4%;

  animation-delay: 1.4s;
}

.connection-three::after {
  right: 100%;
  width: 45px;
}

.logo-values {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;

  display: flex;
  justify-content: center;
  gap: 23px;
}

.logo-values span {
  color: rgba(255, 225, 154, 0.75);

  font-family: "Cinzel", serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* =========================================================
   AZIENDA
========================================================= */

.company-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(44px, 7vw, 100px);
}

.company-intro,
.company-story {
  min-width: 0;
}

.company-intro h2 {
  max-width: 650px;
}

.company-story > p {
  color: var(--grigio-chiaro);

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

.company-story > p + p {
  margin-top: 18px;
}

.company-main-text {
  color: var(--bianco) !important;

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

.company-principles {
  margin-top: 36px;

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

.principle-card {
  min-width: 0;
  min-height: 225px;
  padding: 25px 21px;

  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;
}

.principle-card: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)
  );
}

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

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

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

  color: var(--oro-chiaro);

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

.principle-card p {
  margin-top: 11px;

  color: var(--grigio);

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


/* =========================================================
   STORIA DEL NOME
========================================================= */

.history-section {
  background:
    radial-gradient(
      circle at 84% 15%,
      rgba(214, 161, 70, 0.15),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #15110b,
      #090909 50%,
      #050505
    );
}

.history-layout {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: stretch;
  gap: 25px;
}

.history-main,
.history-quote {
  border: 1px solid rgba(214, 161, 70, 0.28);
  border-radius: var(--raggio-card);

  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.012)
  );

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

.history-main {
  padding: clamp(30px, 4vw, 49px);
}

.history-chapter {
  color: var(--oro);

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

.history-main h3 {
  max-width: 720px;
  margin-top: 18px;

  color: var(--oro-chiaro);

  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.25;
}

.history-main p {
  margin-top: 19px;

  color: var(--grigio-chiaro);

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

.history-main strong {
  color: var(--bianco);
  font-weight: 700;
}

.history-quote {
  position: relative;
  overflow: hidden;

  padding: clamp(31px, 4vw, 49px);

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

  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(214, 161, 70, 0.13),
      transparent 65%
    ),
    linear-gradient(
      150deg,
      rgba(214, 161, 70, 0.07),
      rgba(255, 255, 255, 0.015)
    );
}

.history-quote > span {
  position: absolute;
  top: -32px;
  left: 20px;

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

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

.history-quote blockquote {
  position: relative;
  z-index: 2;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.history-pillars {
  max-width: 1200px;
  margin: 25px auto 0;

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

.history-card {
  min-height: 220px;
  padding: 27px 24px;

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

  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.01)
  );

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

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

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

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

.history-card h3 {
  margin-top: 23px;

  color: var(--oro-chiaro);

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

.history-card p {
  margin-top: 12px;

  color: var(--grigio);

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

.history-statement {
  max-width: 980px;
  margin: 42px auto 0;
  padding: 30px;

  text-align: center;

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

.history-statement p {
  color: var(--grigio);

  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.history-statement strong {
  display: block;
  margin-top: 11px;

  color: var(--oro-chiaro);

  font-family: "Cinzel", serif;
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.45;
}


/* =========================================================
   MISSIONE E VALORI
========================================================= */

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

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

.value-card {
  min-height: 250px;
  padding: 31px;

  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;
}

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

.value-icon {
  width: 51px;
  height: 51px;

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

  color: var(--nero);

  font-family: "Cinzel", serif;
  font-size: 15px;
  font-weight: 900;

  border-radius: 15px;

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

  box-shadow: 0 10px 24px rgba(214, 161, 70, 0.21);
}

.value-card h3 {
  margin-top: 25px;

  color: var(--oro-chiaro);

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

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

  color: var(--grigio);

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

.values-final-quote {
  max-width: 930px;
  margin: 42px auto 0;
  padding: 29px 35px;

  text-align: center;

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

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

.values-final-quote p {
  color: var(--oro-chiaro);

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


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

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

  display: grid;
  gap: 17px;
}

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

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

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

  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, 56px);
  font-weight: 800;
  text-align: center;
}

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

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

  font-family: "Cinzel", serif;
  font-size: 12px;
  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;
}


/* =========================================================
   VISIONE
========================================================= */

.vision-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(52px, 8vw, 115px);
}

.vision-visual {
  display: flex;
  justify-content: center;
}

.vision-logo {
  position: relative;

  width: min(100%, 360px);
  aspect-ratio: 1;

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

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

  background: radial-gradient(
    circle,
    rgba(214, 161, 70, 0.15),
    rgba(214, 161, 70, 0.025) 55%,
    transparent 73%
  );

  box-shadow:
    inset 0 0 55px rgba(214, 161, 70, 0.035),
    0 0 50px rgba(214, 161, 70, 0.045);
}

.vision-logo img {
  position: relative;
  z-index: 3;

  width: 67%;
  max-height: 180px;

  object-fit: contain;

  border-radius: 5px;

  filter:
    brightness(1.1)
    contrast(1.07)
    drop-shadow(0 0 20px rgba(214, 161, 70, 0.3));
}

.vision-orbit {
  position: absolute;

  border-radius: 50%;
}

.vision-orbit-one {
  inset: -11px;

  border-top: 1px solid var(--oro-chiaro);
  border-right: 1px solid transparent;
  border-bottom: 1px solid rgba(214, 161, 70, 0.18);
  border-left: 1px solid transparent;

  animation: orbitRotate 12s linear infinite;
}

.vision-orbit-two {
  inset: 12%;

  border: 1px dashed rgba(214, 161, 70, 0.22);

  animation: orbitReverse 18s linear infinite;
}

.vision-content {
  min-width: 0;
  max-width: 820px;
}

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

  color: var(--bianco);

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

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

  color: var(--grigio-chiaro);

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

.vision-benefits {
  margin-top: 31px;

  display: grid;
  gap: 13px;
}

.vision-benefit {
  min-height: 43px;

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

.vision-benefit > 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);
}

.vision-benefit p {
  color: var(--grigio-chiaro);

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


/* =========================================================
   SETTORI
========================================================= */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

  min-width: 0;
  min-height: 650px;
  padding: 31px;

  display: flex;
  flex-direction: column;

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

  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(214, 161, 70, 0.105),
      transparent 29%
    ),
    linear-gradient(
      145deg,
      var(--nero-4),
      #080808 70%
    );

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

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

.sector-card::before {
  content: "";

  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;

  height: 1px;

  opacity: 0.6;

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

.sector-card:hover {
  transform: translateY(-8px);

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

  box-shadow:
    0 32px 73px rgba(0, 0, 0, 0.5),
    0 0 29px rgba(214, 161, 70, 0.065);
}

.sector-card-featured,
.sector-card-wide {
  grid-column: 1 / -1;

  min-height: 460px;

  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  grid-template-rows: auto 1fr auto;
  gap: 0 43px;
}

.sector-card-featured .sector-top,
.sector-card-wide .sector-top {
  grid-column: 1;
}

.sector-card-featured .sector-body,
.sector-card-wide .sector-body {
  grid-column: 1;
}

.sector-card-featured .sector-image,
.sector-card-wide .sector-image {
  grid-column: 2;
  grid-row: 1 / 4;

  align-self: center;
}

.sector-card-featured .sector-button,
.sector-card-wide .sector-button {
  grid-column: 1;
}

.sector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

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

.sector-category {
  color: var(--grigio);

  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 2px;
  text-align: right;
  text-transform: uppercase;
}

.sector-body {
  min-width: 0;
}

.sector-body h3 {
  margin-top: 28px;

  font-size: clamp(26px, 2.75vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.4px;
}

.sector-promise {
  margin-top: 17px;

  color: var(--bianco) !important;

  font-size: clamp(16px, 1.45vw, 20px) !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}

.sector-body > p:not(.sector-promise) {
  margin-top: 13px;

  color: var(--grigio);

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


/* =========================================================
   IMMAGINI DEI SETTORI
========================================================= */

.sector-image {
  position: relative;
  overflow: hidden;

  width: 100%;
  margin-top: 27px;

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

  background: #080808;

  box-shadow:
    var(--ombra-immagine),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.sector-image::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background: linear-gradient(
    145deg,
    rgba(255, 225, 154, 0.08),
    transparent 30%,
    transparent 72%,
    rgba(0, 0, 0, 0.2)
  );
}

.sector-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

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

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

.sector-image img[src^="img/track/"],
.sector-image img[src^="img/grafica/"],
.sector-image img[src^="img/gestionali-crm/"] {
  object-fit: contain;
  object-position: center;
}

.sector-image:hover img {
  transform: scale(1.035);
  filter: brightness(1.04);
}

.sector-image:hover img[src^="img/track/"],
.sector-image:hover img[src^="img/grafica/"],
.sector-image:hover img[src^="img/gestionali-crm/"] {
  transform: none;
  filter: none;
}

.sector-image-landscape {
  aspect-ratio: 16 / 9;
}

.sector-image-portrait {
  height: 310px;
}

.sector-image-portrait img {
  object-position: center 30%;
}

.sector-card-featured .sector-image,
.sector-card-wide .sector-image {
  height: 100%;
  min-height: 330px;
  margin-top: 0;
}

.sector-card-featured .sector-image img:not([src^="img/track/"]):not([src^="img/grafica/"]):not([src^="img/gestionali-crm/"]),
.sector-card-wide .sector-image img:not([src^="img/track/"]):not([src^="img/grafica/"]):not([src^="img/gestionali-crm/"]) {
  object-fit: cover;
}

.sector-card-featured .sector-image img {
  object-position: center;
}

.sector-card-wide:last-child .sector-image img {
  object-position: center;
}


/* =========================================================
   SIMBOLO DISTRIBUZIONI
========================================================= */

.sector-symbol {
  position: relative;
  overflow: hidden;

  width: 100%;
  height: 310px;
  margin-top: 27px;

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

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

  background:
    radial-gradient(
      circle,
      rgba(214, 161, 70, 0.14),
      rgba(214, 161, 70, 0.023) 56%,
      rgba(0, 0, 0, 0.14) 76%
    );

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

.sector-symbol::after {
  content: "";

  position: absolute;
  inset: 15px;

  border: 1px solid rgba(214, 161, 70, 0.09);
  border-radius: 14px;
}

.distribution-symbol svg {
  position: relative;
  z-index: 3;

  width: 125px;
  height: 125px;

  color: var(--oro-chiaro);

  filter: drop-shadow(0 0 17px rgba(214, 161, 70, 0.28));

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


/* =========================================================
   PULSANTI DEI SETTORI
========================================================= */

.sector-button {
  position: relative;

  width: fit-content;
  margin-top: auto;
  padding-top: 25px;

  display: inline-flex;
  align-items: center;
  gap: 11px;

  color: var(--oro-chiaro);

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

.sector-button::after {
  content: "";

  position: absolute;
  bottom: -6px;
  left: 0;

  width: 48%;
  height: 1px;

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

  transition: width 0.35s ease;
}

.sector-button > span {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;

  transition: transform 0.35s ease;
}

.sector-button:hover::after {
  width: 100%;
}

.sector-button:hover > span {
  transform: translateX(6px);
}


/* =========================================================
   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: 22px;
}

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

  color: var(--oro-chiaro);

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

.text-link span {
  font-size: 18px;
}


/* =========================================================
   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-services,
.footer-contacts {
  min-width: 0;

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

.footer-navigation > span,
.footer-services > 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-services 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-services 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 FISSO
========================================================= */

.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;
}


/* =========================================================
   COMPARSA ALLO SCROLL
========================================================= */

.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-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 logoBacklight {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.88;
  }
}

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

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

@keyframes connectionPulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.42;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

@keyframes orbitRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitReverse {
  to {
    transform: rotate(-360deg);
  }
}

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

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

@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: 11px;
  }

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

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

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  }

  .company-principles {
    grid-template-columns: 1fr;
  }

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

  .sector-card-featured,
  .sector-card-wide {
    grid-template-columns: minmax(0, 0.9fr) minmax(370px, 1.1fr);
  }

  .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,
  .company-intro .section-label::after,
  .vision-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-highlights {
    margin-inline: auto;
  }

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

  .hero-visual {
    order: -1;
  }

  .logo-showcase {
    min-height: 390px;
  }

  .company-section,
  .vision-section {
    grid-template-columns: 1fr;
  }

  .company-intro,
  .vision-content {
    text-align: center;
  }

  .company-intro .section-label,
  .vision-content .section-label {
    justify-content: center;
  }

  .company-intro h2,
  .vision-content {
    margin-inline: auto;
  }

  .company-principles {
    grid-template-columns: repeat(3, 1fr);
  }

  .history-layout {
    grid-template-columns: 1fr;
  }

  .history-quote {
    min-height: 290px;
  }

  .vision-logo {
    width: min(100%, 300px);
  }

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

    text-align: left;
  }

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

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

  .sector-card-featured,
  .sector-card-wide {
    grid-column: auto;

    display: flex;
  }

  .sector-card-featured .sector-image,
  .sector-card-wide .sector-image {
    min-height: 0;
    height: auto;
    margin-top: 28px;
    aspect-ratio: 16 / 9;
  }

  .sector-image-portrait {
    height: 380px;
  }

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

  .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-immagine: 17px;
  }

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

  .brand {
    gap: 9px;
  }

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

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

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

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

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

  .section {
    padding: 53px 20px;
  }

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

  .section-label {
    gap: 8px;

    font-size: 10px;
    letter-spacing: 2.2px;
  }

  .section-label::before,
  .section-head .section-label::after,
  .hero-content .section-label::after,
  .company-intro .section-label::after,
  .vision-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-highlights {
    grid-template-columns: 1fr;
  }

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

    text-align: center;

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

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

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

  .logo-showcase {
    min-height: 300px;
  }

  .logo-frame {
    width: 100%;
    min-height: 190px;
    padding: 20px;
  }

  .hero-logo {
    max-height: 155px;
  }

  .logo-values,
  .connection {
    display: none;
  }

  .section-head h2,
  .company-intro h2,
  .vision-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,
  .company-story > p,
  .vision-content > p:not(.vision-lead),
  .closing-content p,
  .contact-heading p {
    font-size: 14px;
    line-height: 1.7;
  }

  .company-principles,
  .history-pillars,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .principle-card,
  .history-card,
  .value-card {
    min-height: auto;
  }

  .history-main,
  .history-quote {
    padding: 26px 21px;
  }

  .history-main h3 {
    font-size: 24px;
  }

  .history-main p {
    font-size: 14px;
    line-height: 1.7;
  }

  .history-quote {
    min-height: 250px;
  }

  .history-quote blockquote {
    font-size: 20px;
  }

  .history-statement {
    padding-inline: 5px;
  }

  .history-statement strong {
    font-size: 20px;
  }

  .values-final-quote {
    padding: 24px 20px;

    border-radius: 24px;
  }

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

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

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

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

  .vision-logo {
    width: min(100%, 235px);
  }

  .vision-lead {
    font-size: 17px;
  }

  .sector-card {
    min-height: auto;
    padding: 27px 20px;
  }

  .sector-top {
    align-items: flex-start;
  }

  .sector-category {
    max-width: 180px;
  }

  .sector-body h3 {
    font-size: 27px;
  }

  .sector-promise {
    font-size: 16px !important;
  }

  .sector-body > p:not(.sector-promise) {
    font-size: 14px;
    line-height: 1.67;
  }

  .sector-image,
  .sector-card-featured .sector-image,
  .sector-card-wide .sector-image {
    margin-top: 24px;
  }

  .sector-image-landscape,
  .sector-card-featured .sector-image,
  .sector-card-wide .sector-image {
    aspect-ratio: 16 / 10;
  }

  .sector-image-portrait {
    height: 300px;
  }

  .sector-symbol {
    height: 230px;
  }

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

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

  .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-services,
  .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 MOLTO PICCOLI
========================================================= */

@media (max-width: 390px) {
  .brand-name {
    display: none;
  }

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

  .section-head h2,
  .company-intro h2,
  .vision-content h2,
  .closing-content h2,
  .contact-heading h2 {
    font-size: 28px;
  }

  .sector-top {
    flex-direction: column;
  }

  .sector-category {
    max-width: 100%;
    text-align: left;
  }

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

  .history-quote blockquote {
    font-size: 18px;
  }
}


/* =========================================================
   RIDUZIONE 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;
  }
}
