/* =========================================================
   SIRGA — STYLE.CSS
   RIORDINO STRUTTURALE

   IMPORTANTE:
   - nessun valore CSS è stato intenzionalmente modificato
   - nessuna regola è stata riscritta
   - i blocchi sono stati soltanto raggruppati per componente
========================================================= */


/* =========================================================
   01 — RESET / BASE / CONDIVISO
========================================================= */

/* =====================================
RESET
===================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f5f2;
  color: #111111;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1520px, calc(100% - 100px));
  margin: 0 auto;
}

/* =====================================
SECTION HEADING
===================================== */

.section-heading {
  max-width: 900px;
  margin-bottom: 55px;
}

.section-label {
  margin-bottom: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #777777;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.section-heading h2 span {
  display: block;
  color: #8a8781;
}


.services .section-label {
  color: #777777;
}

.services .section-heading h2 span {
  color: #777777;
}

/* =====================================
   PROCESS META
===================================== */

.process-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.hero-media {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;
}

/* META */

.package-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

  margin-bottom: 34px;

  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

/* =========================================================
   TABLET
========================================================= */


/* =========================================================
   MOBILE
========================================================= */



/* =========================================================
   SIRGA — SECTION KICKER
   Etichetta sezione senza numerazione + linea orizzontale.
========================================================= */

.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;

  width: fit-content;

  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: rgba(17, 17, 17, 0.55);
}

.section-kicker-line {
  width: 46px;
  height: 1px;

  background: rgba(17, 17, 17, 0.28);
}

@media (max-width: 600px) {

.container {
    width: min(100% - 28px, 1200px);
  }

.work-footer {
    flex-direction: column;
    align-items: flex-start;

    margin-top: 70px;
  }

.process-grid {
    grid-template-columns: 1fr;
  }

.package-bottom {
    margin-top: 60px;
  }

.why {
    padding: 100px 0;
  }

.why-stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

.why-stat span {
    max-width: none;
  }

.faq-layout {
    gap: 50px;
  }

.faq-item summary {
    font-size: 1rem;
  }

.final-cta {
    padding: 100px 0;
  }

.final-label {
    margin-bottom: 40px;
  }

.final-cta h2 {
    font-size: clamp(3.4rem, 14vw, 5rem);
  }

.final-cta-bottom {
    flex-direction: column;
    margin-top: 50px;
  }

.final-button {
    width: 100%;
  }

.package-visual img {
    object-position: center 25%;
  }

}

@media (min-width: 1900px) {

.container {
    width: min(1640px, calc(100% - 120px));
  }

}
/* =========================================================
   02 — HEADER & MENU
========================================================= */

.site-header {
  position: absolute;
  top: 25px;
  left: 50%;
  z-index: 20;

  width: min(1520px, calc(100% - 100px));
  height: 82px;

  transform: translateX(-50%);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 0;

  background: transparent;
  border: 0;
  color: #ffffff;
}


/* =========================================================
   HEADER — MENU
========================================================= */

.header-menu,
.header-contact {
  display: flex;
  align-items: center;

  color: #ffffff;
  text-decoration: none;

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.header-menu {
  justify-self: start;

  width: 34px;
  height: 34px;
  padding: 0;

  border: 0;
  background: transparent;

  font-size: 0;
  letter-spacing: 0;

  cursor: pointer;
}


/* =========================================================
   HAMBURGER
========================================================= */

.header-menu-line {
  position: relative;

  width: 25px;
  height: 1px;

  background: #ffffff;
}

.header-menu-line::before,
.header-menu-line::after {
  content: "";

  position: absolute;
  left: 0;

  width: 25px;
  height: 1px;

  background: #ffffff;
}

.header-menu-line::before {
  top: -7px;
}

.header-menu-line::after {
  top: 7px;
}


/* =========================================================
   BRAND
========================================================= */

.header-brand {
  justify-self: center;

  display: block;

  margin: 0;

  text-decoration: none;
  line-height: 0;

  transform: none;
}

.header-brand-logo {
  display: block;

  width: clamp(155px, 10vw, 185px);
  height: auto;
}


/* =========================================================
   CONTATTI
========================================================= */

.header-contact {
  justify-self: end;
  display: none;
}

.header-contact-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: #ffffff;
}

.header-contact-icon {
  display: none;
}


/* =========================================================
   FULLSCREEN MENU
========================================================= */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;

  width: 100%;
  height: 100vh;

  background: #111111;
  color: #ffffff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* =========================================================
   MENU INNER
========================================================= */

.menu-overlay-inner {
  width: min(1520px, calc(100% - 100px));
  height: 100%;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
}


/* =========================================================
   MENU TOP
========================================================= */

.menu-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-top: 32px;
}

.menu-overlay-brand {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.menu-close {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 0;

  border: 0;
  background: transparent;

  color: #ffffff;

  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;

  cursor: pointer;
}

.menu-close-icon {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
}


/* =========================================================
   MENU NAVIGATION
========================================================= */

.menu-nav {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-nav a {
  position: relative;

  display: block;

  padding: 11px 0;

  color: #ffffff;
  text-decoration: none;

  font-size: clamp(2.2rem, 3.3vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;

  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity 0.25s ease,
    transform 0.35s ease;
}


/* =========================================================
   MENU ENTRANCE ANIMATION
========================================================= */

.menu-overlay.is-open .menu-nav a {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.6s cubic-bezier(.2,.7,.2,1),
    transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.menu-overlay.is-open .menu-nav a:nth-child(1) {
  transition-delay: 0.08s;
}

.menu-overlay.is-open .menu-nav a:nth-child(2) {
  transition-delay: 0.13s;
}

.menu-overlay.is-open .menu-nav a:nth-child(3) {
  transition-delay: 0.18s;
}

.menu-overlay.is-open .menu-nav a:nth-child(4) {
  transition-delay: 0.23s;
}

.menu-overlay.is-open .menu-nav a:nth-child(5) {
  transition-delay: 0.28s;
}

.menu-overlay.is-open .menu-nav a:nth-child(6) {
  transition-delay: 0.33s;
}


/* =========================================================
   MENU HOVER
========================================================= */

.menu-nav:hover a {
  opacity: 0.25;
}

.menu-nav a:hover {
  opacity: 1 !important;
  transform: translateX(12px) !important;

  transition-delay: 0s;
}


/* =========================================================
   MENU FOOTER
========================================================= */

.menu-overlay-footer {
  display: flex;
  justify-content: space-between;

  padding: 0 0 32px;

  font-size: 0.62rem;
  letter-spacing: 0.16em;

  color: rgba(255, 255, 255, 0.45);
}


/* =========================================================
   LIGHT PAGE HEADER
========================================================= */

.page-light-header .site-header {
  color: #111111;
}

.page-light-header .header-menu,
.page-light-header .header-contact {
  color: #111111;
}

.page-light-header .header-menu-line,
.page-light-header .header-menu-line::before,
.page-light-header .header-menu-line::after {
  background: rgba(17, 17, 17, 0.55);
}

.page-light-header .header-contact-dot {
  background: #111111;
}


/* =========================================================
   HEADER & MENU — MOBILE
========================================================= */

@media (max-width: 600px) {

  .site-header {
    top: 0;

    width: calc(100% - 32px);
    height: 75px;

    padding: 0;

    align-items: center;
  }

  .header-brand {
    align-self: center;
    transform: none;
  }

  .header-brand-logo {
    width: 100px;
  }


  /* =======================================================
     PULSANTI HEADER
  ======================================================= */

  .header-menu,
  .header-contact {
    position: relative;

    width: 25px;
    height: 25px;

    padding: 0;

    font-size: 0;
    letter-spacing: 0;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-contact {
    display: none;
  }


  /* =======================================================
     MENU — HAMBURGER
  ======================================================= */

  .header-menu-line {
    width: 24px;
  }

  .header-menu-line::before {
    width: 24px;
  }

  .header-menu-line::after {
    width: 24px;
  }


  /* =======================================================
     CONTATTI — ICONA MOBILE
  ======================================================= */

  .header-contact {
    justify-self: end;
  }

  .header-contact-text,
  .header-contact-dot {
    display: none;
  }

  .header-contact-icon {
    display: block;

    width: 26px;
    height: auto;

    color: #ffffff;
  }

  .header-contact::before,
  .header-contact::after {
    content: none;
    display: none;
  }
}


/* =========================================================
   HEADER — SCHERMI GRANDI
========================================================= */

@media (min-width: 1900px) {

  .site-header {
    width: min(1640px, calc(100% - 120px));
  }

}


/* =========================================================
   03 — HOME / HERO
========================================================= */

/* =====================================
   HERO PAGINE INTERNE — TABLET
===================================== */


/* =====================================
   HERO PAGINE INTERNE — SMARTPHONE
===================================== */



/* =========================================================
   HOME HERO
   Hero principale della Home.
   Utilizza home-hero.webp come visual di sfondo.
========================================================= */

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;

  background: #090908;
  color: #ffffff;
}


/* =========================================================
   HOME HERO — BACKGROUND
   Mantiene scala e posizione attuali.
   Il visual viene solo abbassato per liberare il logo.
========================================================= */

.home-hero-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;

  width: min(100%, 1720px);

  transform: translateX(-50%) translateY(50px);

  background-image: url("../images/home-hero.webp");
  background-size: auto 90%;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #090908;

  z-index: 0;
}



/* ---------------------------------------------------------
   OVERLAY
   Rinforza leggermente la zona sinistra dietro al testo.
--------------------------------------------------------- */

.home-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(7, 7, 6, 0.28) 0%,
    rgba(7, 7, 6, 0.12) 32%,
    rgba(7, 7, 6, 0) 58%
  );

  z-index: 1;
  pointer-events: none;
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.home-hero-content {
  position: relative;
  z-index: 2;

  min-height: 100svh;

  display: flex;
  align-items: center;

  padding-top: 120px;
  padding-bottom: 70px;
}


/* ---------------------------------------------------------
   COPY
--------------------------------------------------------- */

.home-hero-copy {
  width: 40%;
  max-width: 590px;
}

.home-hero-eyebrow {
  display: block;

  margin-bottom: 28px;

  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.17em;

  color: rgba(255, 255, 255, 0.58);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.home-hero-title {
  margin: 0;

  font-size: clamp(3.8rem, 4.5vw, 5.6rem);
  font-weight: 400;

  line-height: 0.92;
  letter-spacing: -0.055em;

  color: #ffffff;
}


.home-hero-title span {
  display: block;

  margin-top: 0.08em;

  color: #9f978e;
}


/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.home-hero-description {
  max-width: 460px;

  margin: 34px 0 0;

  font-size: clamp(1rem, 1.1vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.68);
}


/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */

.home-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  margin-top: 34px;
  padding-bottom: 7px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.5);

  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;

  color: #ffffff;
  text-decoration: none;

  transition: border-color 0.3s ease;
}


.home-hero-cta:hover {
  border-color: #ffffff;
}


.home-hero-cta-arrow {
  font-size: 0.95rem;

  transition: transform 0.3s ease;
}


.home-hero-cta:hover .home-hero-cta-arrow {
  transform: translate(3px, -3px);
}


/* =========================================================
   LARGE DESKTOP
   Aumenta leggermente la larghezza del sito sui monitor
   molto grandi, mantenendo il layout sotto controllo.
========================================================= */



/* =======================================================
     HERO — RIDUZIONE FASCIA NERA SUPERIORE DESKTOP
  ======================================================= */

  .home-hero-background {
    margin-top: 40px;
  }

  /* =========================================================
   HOME — HERO — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.home-hero-background {
    background-position: 60% center;
  }

.home-hero-copy {
    width: 58%;
  }

.home-hero-title {
    font-size: clamp(3.8rem, 7vw, 5.8rem);
  }

}

@media (max-width: 900px) {

.home-hero-background {
    background-position: 66% center;
  }

.home-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 7, 6, 0.78) 0%,
      rgba(7, 7, 6, 0.52) 55%,
      rgba(7, 7, 6, 0.15) 100%
    );
  }

.home-hero-content {
    align-items: flex-end;

    padding-top: 140px;
    padding-bottom: 60px;
  }

.home-hero-copy {
    width: 100%;
    max-width: 560px;
  }

.home-hero-eyebrow {
    margin-bottom: 20px;
    font-size: 0.65rem;
  }

.home-hero-title {
    font-size: clamp(3rem, 13vw, 4.5rem);
    line-height: 0.93;
  }

.home-hero-description {
    max-width: 420px;

    margin-top: 24px;

    font-size: 0.95rem;
  }

.home-hero-cta {
    margin-top: 28px;
  }

}

@media (max-width: 600px) {

/* Hero complessiva */
  .home-hero {
    min-height: auto;
    padding-top: 0;
  }

/* =======================================================
     IMMAGINE HERO
  ======================================================= */

  .home-hero-background {
    position: relative;

    top: auto;
    bottom: auto;
    left: auto;

    width: 100%;
    height: 480px;

    transform: none;

    background-size: auto 82%;
    background-position: 100% center;
    background-repeat: no-repeat;

    margin-top: 35px;
  }

/* =======================================================
     OVERLAY
     Non serve più sopra tutta la Hero su mobile.
  ======================================================= */

  .home-hero-overlay {
    display: none;
  }

/* =======================================================
     CONTENUTO HERO
  ======================================================= */

  .home-hero-content {
    position: relative;

    min-height: auto;

    align-items: flex-start;

    padding-top: 1px;
    padding-bottom: 65px;
  }

.home-hero-copy {
    width: 100%;
    max-width: none;
  }

/* Eyebrow */
  .home-hero-eyebrow {
    margin-bottom: 22px;
  }

/* Titolo */
  .home-hero-title {
    font-size: clamp(3.1rem, 12vw, 4rem);
    line-height: 0.92;
  }

/* Descrizione */
  .home-hero-description {
    max-width: 100%;
    margin-top: 28px;
  }

/* Fine Hero */
  .home-hero-content {
    padding-bottom: 50px;
  }

}



/* =========================================================
   04 — HOME / SERVIZI
========================================================= */

/* =========================================================
   HOME — SERVIZI
   Sezione chiara con griglia 2x2 e visual dedicati
========================================================= */

.home-services {
  padding: 60px 0 60px;
  background: #f8f6f2;
  color: #111111;
}


/* ---------------------------------------------------------
   HEADER SEZIONE
--------------------------------------------------------- */

.home-services-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 28px;

  margin-bottom: 54px;
}


.home-services-meta {
  grid-column: 1 / -1;

  display: flex;
  align-items: center;
  gap: 18px;

  margin-bottom: -10px;

  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;

  color: rgba(17, 17, 17, 0.55);
}


.home-services-meta::after {
  content: "";

  width: 42px;
  height: 1px;

  background: rgba(17, 17, 17, 0.32);
}


/* =========================================================
   HOME SERVICES — TITOLO SU DUE RIGHE
========================================================= */

.home-services-heading {
  grid-column: 1 / -1;
  text-align: center;
}

.home-services-heading h2 {
  margin: 0;
  max-width: none;

  font-size: clamp(3.5rem, 4.6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.home-services-heading h2 span {
  display: inline;
  color: #9b9288;
}


/* =========================================================
   HOME SERVICES — INTRO CENTRATA
   Descrizione e CTA allineate al titolo.
========================================================= */

.home-services-intro {
  grid-column: 1 / -1;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 620px;
  margin: 0 auto;
  padding: 0;

  text-align: center;
}

.home-services-intro p {
  max-width: 620px;
  margin: 0;

  text-align: center;
}

.home-services-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 26px;
  padding-bottom: 6px;

  border-bottom: 1px solid rgba(17, 17, 17, 0.35);

  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;

  color: #111111;
  text-decoration: none;
}


.home-services-all span {
  transition: transform 0.3s ease;
}


.home-services-all:hover span {
  transform: translate(3px, -3px);
}


/* =========================================================
   GRIGLIA 2x2
========================================================= */

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;
}


/* =========================================================
   HOME SERVICES — CARD VISUALE
   L'immagine riempie tutta la card.
========================================================= */

.home-service-card {
  position: relative;
  overflow: hidden;

  min-height: 420px;

  display: block;

  border-radius: 22px;

  background: #f3f0eb;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: none;
}

.home-service-card::after {
  content: "";
  display: block;

  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(243, 240, 235, 0.98) 0%,
    rgba(243, 240, 235, 0.96) 25%,
    rgba(243, 240, 235, 0.72) 38%,
    rgba(243, 240, 235, 0.18) 52%,
    rgba(243, 240, 235, 0) 64%
  );

  pointer-events: none;
  z-index: 1;
}
/* =========================================================
   HOME SERVICES — CARD CLICK
   Rende cliccabile l'intera card.
========================================================= */

.home-service-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}


.home-service-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 24px 60px rgba(20, 18, 14, 0.07);
}


/* =========================================================
   HOME SERVICES — COPY
   Parte alta più compatta.
========================================================= */

.home-service-copy {
  position: relative;
  z-index: 2;

  min-height: 420px;
  width: 46%;

  display: flex;
  flex-direction: column;

  padding: 28px 30px 24px;
}

.home-service-number {
  display: none;

  margin-bottom: 26px;

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;

  color: rgba(17, 17, 17, 0.62);
}


.home-service-copy h3 {
  margin: 0;

  font-size: clamp(2rem, 2.35vw, 2.9rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.055em;

  color: #111111;
}

/* =========================================================
   HOME SERVICES — DESCRIZIONI
   Colonna più stretta per separare copy e visual.
========================================================= */

.home-service-copy p {
  max-width: 230px;

  margin: 22px 0 0;

  font-size: 0.91rem;
  font-weight: 400;
  line-height: 1.48;

  color: rgba(17, 17, 17, 0.66);
}
/* =========================================================
   HOME SERVICES — TAGS ORDINATI
   Griglia 2x2 coerente su tutte le card.
========================================================= */

.home-service-tags {
  display: grid;
  grid-template-columns: repeat(2, max-content);

  column-gap: 7px;
  row-gap: 7px;

  margin-top: auto;
  padding-top: 14px;

  align-items: center;
  justify-content: start;
}

.home-service-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 27px;
  padding: 0 11px;

  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);

  font-size: 0.59rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.07em;

  color: rgba(17, 17, 17, 0.72);

  white-space: nowrap;
}

/* Rimuove i separatori · usati nella versione precedente */
.home-service-tags span::after {
  display: none;
}

/* ---------------------------------------------------------
   CTA CARD — VERSIONE COMPATTA
--------------------------------------------------------- */

.home-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;

  margin-top: 20px;
  padding-top: 0;
  padding-bottom: 4px;

  border-bottom-color: rgba(255, 255, 255, 0.45);

  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.11em;

  color: #111111;
  text-decoration: none;
}


.home-service-link span {
  transition: transform 0.3s ease;
}


.home-service-link:hover span {
  transform: translate(3px, -3px);
}


/* =========================================================
   VISUAL
   Le immagini mantengono lo sfondo originale.
========================================================= */

.home-service-visual {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
}

.home-service-visual img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.home-service-card:hover .home-service-visual img {
  transform: scale(1.025);
}

/* =========================================================
   HOME SERVICES — INQUADRATURA IMMAGINI
   Solo spostamento, nessun ridimensionamento.
========================================================= */

/* 01 — Development & Commerce */
.home-service-card:nth-child(1) .home-service-visual img {
  object-position: 60% center;
}

/* 02 — Digital Experience
   Destra + leggermente più in basso */
.home-service-card:nth-child(2) .home-service-visual img {
  transform: translate(5%, 3%) scale(1.10);
}

/* 03 — Performance & Visibility
   Leggermente più in basso */
.home-service-card:nth-child(3):hover .home-service-visual img {
  transform: translateY(3%) scale(1.085);
}

/* 04 — Growth & Support */
.home-service-card:nth-child(4):hover .home-service-visual img {
  transform: translateY(3%) scale(1.10);
}


/* =========================================================
   HOME — SERVIZI — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.home-services {
    padding: 90px 0 100px;
  }

.home-services-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

.home-services-intro {
    max-width: 600px;
  }

.home-services-grid {
    grid-template-columns: 1fr;
  }

.home-service-card {
    min-height: 500px;
    grid-template-columns: 40% 60%;
  }

}

@media (max-width: 900px) {

.home-services {
    padding: 74px 0 80px;
  }

.home-services-header {
    margin-bottom: 38px;
  }

.home-services-heading h2 {
    font-size: clamp(3.2rem, 13vw, 4.8rem);
  }

.home-services-intro p {
    font-size: 0.98rem;
  }

.home-services-grid {
    gap: 16px;
  }

.home-service-card {
    min-height: auto;

    display: flex;
    flex-direction: column;
  }

.home-service-copy {
    padding: 26px 22px 24px;
  }

.home-service-copy h3 {
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

.home-service-copy p {
    max-width: 100%;
  }

.home-service-link {
    margin-top: 30px;
  }

.home-service-visual {
    height: 330px;
  }

.home-service-visual img {
    object-position: center;
  }

}

@media (max-width: 600px) {

.home-service-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

/* Immagine nella parte superiore */
  .home-service-visual {
    position: relative;
    inset: auto;

    order: 1;

    width: 100%;
    height: 210px;

    flex-basis: 210px;
  }

/* Testo sotto l'immagine */
  .home-service-copy {
    position: relative;
    z-index: 2;

    order: 2;

    width: 100%;
    padding: 24px 22px 26px;
  }

.home-service-tags {
    margin-top: 16px;
  }

.home-service-card {
    height: auto;
    min-height: 0;
  }

.home-service-copy {
    height: auto;
    min-height: 0;
    flex: 0 0 auto;

    padding-bottom: 16px;
  }

.home-service-tags {
    margin-bottom: 0;
  }

/* Riduce lo spazio sotto le 4 card principali */
  .home-services {
    padding-bottom: 25px;
  }

/* Inizio Servizi */
  .home-services {
    padding-top: 50px;
  }

}



/* =========================================================
   05 — HOME / CAPABILITIES
========================================================= */

/* =========================================================
   TABLET
========================================================= */


/* =========================================================
   MOBILE
========================================================= */



/* =========================================================
   HOME CAPABILITIES
   Griglia di approfondimento dei servizi.
========================================================= */

.home-capabilities {
  padding: 25px 0 75px;

  background: #f8f6f2;
  color: #111111;
}


/* =========================================================
   HOME CAPABILITIES — INTRO
========================================================= */

.home-capabilities-heading {
  margin-bottom: 58px;
}

.home-capabilities-label {
  display: block;

  margin-bottom: 18px;

  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;

  color: rgba(17, 17, 17, 0.5);
}

.home-capabilities-heading h2 {
  margin: 0;

  font-size: clamp(3.5rem, 4.7vw, 5.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.home-capabilities-heading h2 span {
  display: block;
  margin-left: clamp(60px, 8vw, 140px);

  color: #9b9288;
}

.home-capabilities-heading .section-kicker {
  transform: translateY(-25px);
}


/* =========================================================
   HOME CAPABILITIES — GRID
========================================================= */

.home-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;

  border: none;
}


/* =========================================================
   HOME CAPABILITIES — CARD
========================================================= */

.home-capability-card {
  position: relative;

  min-height: 230px;
  padding: 32px 28px;
  padding-top: 50px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  text-align: left;

  border: 1px solid rgba(17, 17, 17, 0.10);
  border-radius: 18px;

  background: #f2eee8;

  color: #111111;
  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* =========================================================
   HOME CAPABILITIES — TITOLO
========================================================= */

.home-capability-card h3 {
  margin: 0 0 18px;

  width: calc(100% - 42px);
  max-width: none;

  font-size: clamp(1.65rem, 2vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* =========================================================
   HOME CAPABILITIES — SOTTOTITOLO
========================================================= */

.home-capability-card strong {
  display: block;

  width: calc(100% - 42px);
  max-width: none;
  margin-bottom: 10px;

  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

/* =========================================================
   HOME CAPABILITIES — DESCRIZIONE
========================================================= */

.home-capability-card p {
  width: calc(100% - 42px);
  max-width: none;
  margin: 0;

  font-size: 0.84rem;
  line-height: 1.6;

  color: rgba(17, 17, 17, 0.62);
}

/* =========================================================
   HOME CAPABILITIES — FRECCIA
========================================================= */

.home-capability-arrow {
  position: absolute;
  top: 20px;
  right: 22px;

  font-size: 1rem;

  transition: transform 0.25s ease;
}

/* =========================================================
   HOME CAPABILITIES — HOVER
========================================================= */

.home-capability-card:hover {
  background: #efebe5;
}

.home-capability-card:hover .home-capability-arrow {
  transform: translate(4px, -4px);
}


/* =========================================================
   HOME — CAPABILITIES — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.home-capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {

.home-capabilities {
    padding: 75px 0 80px;
  }

.home-capabilities-heading h2 span {
    margin-left: 0;
  }

.home-capabilities-grid {
    grid-template-columns: 1fr;
  }

.home-capability-card {
    min-height: 250px;
    padding: 25px 22px;
  }

}

@media (max-width: 600px) {

/* Riduce lo spazio sopra "I NOSTRI SERVIZI" */
  .home-capabilities {
    padding-top: 45px;
  }

.home-capability-card {
    min-height: 200px;
  }

.home-capability-card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: left;
  }

.home-capabilities {
    padding-bottom: 50px;
  }

}



/* =========================================================
   06 — HOME / PROGETTI
========================================================= */

/* =========================================================
   HOME CAPABILITIES — RESPONSIVE
========================================================= */


/* =====================================
   HOME PROJECTS
===================================== */

.home-projects {
  padding-top: 75px;
  padding-bottom: 75px;
  background: #ebe6df;
  color: #111111;
}

/* =====================================
   WORK HEADING
===================================== */

.work-heading {
  margin-bottom: 42px;
}

.work-heading .section-meta {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 26px;

  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: rgba(17, 17, 17, 0.55);
}

/* =========================================================
   HOME PROJECTS — TITOLO
   Seconda riga leggermente rientrata.
========================================================= */

.work-heading h2 {
  margin: 0;
  max-width: 1200px;

  font-size: clamp(3.8rem, 5vw, 6.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;

  color: #111111;
}

.work-heading h2 span {
  display: block;

  /* Rientro controllato, non cresce all'infinito */
  margin-left: clamp(70px, 11vw, 180px);

  color: #9b9288;
  white-space: nowrap;
}

/* =====================================
   PROJECTS GRID
===================================== */

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;

  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
}

/* =====================================
   PROJECT IMAGE
===================================== */

.project-image {
  position: relative;
  display: flex;
  align-items: flex-start;

  width: 100%;
  min-height: 310px;

  overflow: hidden;
  background: transparent;
}

.project-screenshot {
  display: block;

  width: 100%;
  height: auto;

  transition: transform 0.7s cubic-bezier(.2, .7, .2, 1);
}

.project-image-real:hover .project-screenshot {
  transform: scale(1.01);
}

.project-placeholder {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.project-placeholder span {
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.25em;

  color: rgba(17, 17, 17, 0.35);
}

.project-image-dark {
  background: #1a1a1a;
}

.project-image-dark .project-placeholder span {
  color: rgba(255, 255, 255, 0.35);
}

.project-image:hover .project-placeholder {
  transform: scale(1.025);
}


/* =====================================
PROJECT ARROW
===================================== */

.project-arrow {
  position: absolute;
  top: 24px;
  right: 24px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #ffffff;
  color: #111111;

  font-size: 1.15rem;

  transform: rotate(0deg);

  transition:
  transform 0.3s ease,
  background 0.3s ease,
  color 0.3s ease;
}

.project-image:hover .project-arrow {
  transform: rotate(45deg);

  background: #111111;
  color: #ffffff;
}


/* =====================================
   PROJECT INFO
===================================== */

.project-info {
  width: calc(100% - 60px);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 0;
  padding-top: 22px;
}


.project-info h3 {
  margin: 0;

  font-size: clamp(1.65rem, 1.9vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 8px 18px;
  margin-top: 14px;
}

.project-details span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #777777;
}

/* =====================================
   PROJECT OVERLAY
===================================== */

.project-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;

  padding: 28px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.35),
    transparent 40%
  );

  opacity: 0;

  transition: opacity 0.3s ease;
}

.project-overlay span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #ffffff;
}

.project-image-real:hover .project-overlay {
  opacity: 1;
}

/* =====================================
   WORK ACTIONS
===================================== */

.work-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  margin-bottom: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  padding-bottom: 35px;

  border-bottom: 5px;

  font-size: 0.9rem;
}

.text-link span {
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* =========================================================
   HOME — PROGETTI — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.work-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

.work-heading h2 span {
    margin-left: 0;
    white-space: normal;
  }

.project-info {
    grid-template-columns: 1fr auto;
  }

.project-details {
    grid-column: 1;
    justify-content: flex-start;
  }

.project-year {
    grid-column: 2;
    grid-row: 1;
  }

}

@media (max-width: 600px) {

.home-projects {
    padding: 90px 0;
  }

.work-heading {
    margin-bottom: 50px;
  }

.work-heading h2 span {
    margin-left: 0;
    white-space: normal;
  }

.projects {
    grid-template-columns: 1fr;
    gap: 70px;
  }

.project-arrow {
    top: 16px;
    right: 16px;

    width: 44px;
    height: 44px;
  }

.project-info {
    grid-template-columns: 1fr;
    gap: 18px;
  }

.project-details {
    grid-column: 1;
    justify-content: flex-start;
  }

.project-year {
    grid-column: 1;
    grid-row: auto;
  }

.home-projects {
    padding-top: 50px !important;
  }

.home-projects {
    padding-bottom: 50px;
  }

}



/* =========================================================
   07 — HOME / PROCESSO
========================================================= */

/* =====================================
   PROCESS
===================================== */

.process {
  padding: 75px 0 75px;
  background: #e8e5df;
}

/* =====================================
   PROCESS HEADING
===================================== */

.process-heading {
  display: block;
  margin-bottom: 30px;
}

.process-heading .section-heading {
  margin-bottom: 0;
}

.process-intro {
  max-width: 620px;
  margin-top: 18px;
  padding: 0;

  color: #666666;
  font-size: 1rem;
  line-height: 1.65;
}

/* =====================================
   PROCESS GRID
===================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  border-top: 1px solid rgba(17, 17, 17, 0.15);
  border-left: 1px solid rgba(17, 17, 17, 0.15);
}

@media (max-width: 900px) {

.process-heading,
  .packages-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

.process-intro,
  .packages-intro {
    max-width: 550px;
  }

.packages-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   08 — HOME / SOLUZIONI
========================================================= */

/* =========================================================
   HOME — SOLUZIONI - PACCHETTI
========================================================= */

.packages {
  padding: 75px 0 75px;

  background: #f6f5f2;
  color: #111111;
}


/* =========================================================
   HOME — SOLUZIONI INTRO
========================================================= */

.packages-heading {
  margin-bottom: 48px;
}

.packages-heading h2 {
  margin: 30px 0 10px;

  font-size: clamp(3.8rem, 5vw, 6.2rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;

  color: #111111;
}

.packages-heading h2 span {
  display: block;
  margin-left: clamp(60px, 8vw, 140px);

  color: #9b9288;
}

/* =========================================================
   HOME — SOLUZIONI GRID
========================================================= */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 16px;
  align-items: stretch;
}


/* =========================================================
   HOME — SOLUZIONI CARD
========================================================= */

.packages .package-card {
  position: relative;

  min-height: 570px;
  padding: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid rgba(17, 17, 17, 0.10);
  border-radius: 18px;

  background: #f2eee8;

  color: #111111;
}


/* =========================================================
   HOME — SOLUZIONI VISUAL
========================================================= */

.packages .package-visual {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.packages .package-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =====================================
   HOME — PACKAGE BOTTOM
   Sostituisce il prezzo con una CTA
   più umana e orientata al contatto.
===================================== */

.packages .package-bottom {
  margin-top: auto;
  padding-top: 22px;
}

.packages .package-contact-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;

  color: inherit;
  text-decoration: none;
}

.packages .package-contact-title {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.packages .package-contact-arrow {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.packages .package-contact-text {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #77716a;
}

.packages .package-contact-cta:hover .package-contact-arrow {
  transform: translate(4px, -4px);
}


/* CARD COMMERCE — VERSIONE SCURA */

.packages .package-card.package-featured .package-contact-text {
  color: #999999;
}

/* =========================================================
   HOME — COMMERCE FEATURED
========================================================= */

.packages .package-card.package-featured {
  background: #171716;
  color: #ffffff;
  border-color: #171716;
}

.packages .package-card.package-featured .package-description,
.packages .package-card.package-featured .package-features span {
  color: rgba(255, 255, 255, 0.68);
}

.packages .package-card.package-featured .package-features {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.packages .package-card.package-featured .package-price span {
  color: rgba(255, 255, 255, 0.52);
}

.packages .package-card.package-featured .package-link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}


/* =====================================
   HOME — PACCHETTO CENTRALE
   RIPRISTINO SCHEDA EVIDENZIATA

   La regola è limitata alla sezione
   Pacchetti della HOME, così non altera
   pacchetti.html.
===================================== */

.packages .package-card.package-featured {
  background: #1c1c1b;
  color: #ffffff;
  border-color: #1c1c1b;
}

.packages .package-card.package-featured .package-description {
  color: #999999;
}

.packages .package-card.package-featured .package-features {
  border-color: rgba(255, 255, 255, 0.16);
}

.packages .package-card.package-featured .package-features span {
  color: #aaaaaa;
  border-color: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   HOME — SOLUZIONI — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.packages-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {

.packages {
    padding: 75px 0 80px;
  }

.packages-heading h2 span {
    margin-left: 0;
  }

}

@media (max-width: 600px) {

.process,
  .packages,
  .faq {
    padding: 90px 0;
  }

.process-heading,
  .packages-heading {
    margin-bottom: 55px;
  }

.packages {
    padding-top: 50px;
  }

.packages {
    padding-bottom: 50px;
  }

}



/* =========================================================
   09 — HOME / WHY
========================================================= */

/* =========================================================
   HOME — SOLUZIONI RESPONSIVE
========================================================= */


/* =========================================================
   HOME — WHY
   Sezione scura con tre blocchi di dimensioni differenti.
========================================================= */

.home-why {
  padding: 75px 0 75px;
  background: #111111;
  color: #ffffff;
}


/* =========================================================
   KICKER
========================================================= */

.home-why .section-kicker {
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.55);
}

.home-why .section-kicker-line {
  background: rgba(255, 255, 255, 0.25);
}


/* =========================================================
   BLOCCO BASE
========================================================= */

.home-why-block {
  position: relative;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;

  background: #181818;
}


/* =========================================================
   BLOCCO PRINCIPALE
   Testo a sinistra + PC sulla destra.
========================================================= */

.home-why-block-large {
  position: relative;

  min-height: 440px;
  padding: 38px 48px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  overflow: hidden;

  background: #171717;
}


/* =========================
   CONTENUTO TESTUALE
========================= */

.home-why-main-content {
  position: relative;
  z-index: 2;

  width: 80%;

  margin: 0;
}


/* =========================
   TITOLO PRINCIPALE
   Una sola riga su desktop.
========================= */

.home-why-block-large h2 {
  margin: 0;

  max-width: none;
  white-space: nowrap;

  font-size: clamp(2.7rem, 3.2vw, 4.2rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.05em;
}


/* =========================
   TESTO PRINCIPALE
========================= */

.home-why-block-large .home-why-answer {
  max-width: none;

  margin-top: 34px;
  padding: 0;
}

.home-why-block-large .home-why-answer p {
  margin: 0;

  font-size: clamp(1.05rem, 1.05vw, 1.18rem);
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.64);
}

.home-why-block-large .home-why-answer p + p {
  margin-top: 14px;
}


/* =========================
   FRASE FINALE
========================= */

.home-why-block-large .home-why-highlight {
  margin-top: 20px !important;
}


/* =========================
   VISUAL PC PRINCIPALE
========================= */

.home-why-pc {
  position: absolute;

  top: 50%;
  right: 0;

  height: 92%;

  transform: translateY(-50%);

  z-index: 1;

  pointer-events: none;
}

.home-why-pc img {
  display: block;

  width: auto;
  height: 100%;

  object-fit: contain;
}


/* =========================================================
   GRIGLIA INFERIORE
========================================================= */

.home-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);

  gap: 18px;

  margin-top: 18px;
}


/* =========================================================
   BLOCCO MEDIO
   "Cosa rende davvero efficace..."
========================================================= */

.home-why-block-medium {
  position: relative;

  min-height: 550px;
  padding: 38px 40px 210px;

  background: #1b1b1a;
}


/* =========================
   TITOLO BLOCCO MEDIO
========================= */

.home-why-block-medium h3 {
  font-size: clamp(2rem, 2.7vw, 3.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}


/* =========================
   TESTO BLOCCO MEDIO
========================= */

.home-why-block-medium .home-why-answer {
  width: 100%;
  max-width: none;

  margin-top: 30px;
  padding-top: 0;

  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
}

.home-why-block-medium .home-why-answer p {
  font-size: clamp(1.02rem, 1vw, 1.12rem);
  font-weight: 400;
  line-height: 1.65;

  color: rgba(255, 255, 255, 0.62);
}


/* =========================
   VISUAL PC BLOCCO MEDIO
========================= */

.home-why-effective-pc {
  position: absolute;

  left: 50%;
  bottom: -25px;

  width: 78%;
  max-width: 760px;

  transform: translateX(-50%);

  line-height: 0;

  z-index: 1;

  pointer-events: none;
}

.home-why-effective-pc img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================================================
   BLOCCO PICCOLO
   "E una volta online?"
========================================================= */

.home-why-block-small {
  min-height: 390px;
  padding: 38px 40px;

  background: #211f1d;
}


/* =========================
   TITOLO BLOCCO PICCOLO
========================= */

.home-why-block-small h3 {
  font-size: clamp(2rem, 2.7vw, 3.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
  white-space: nowrap;
}


/* =========================
   TESTO BLOCCO PICCOLO
========================= */

.home-why-block-small .home-why-answer {
  width: 100%;
  max-width: none;

  margin-top: 46px;
  padding-top: 0;

  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
}

.home-why-block-small .home-why-answer p {
  font-size: clamp(1.02rem, 1vw, 1.12rem);
  line-height: 1.7;
}

.home-why-block-small .home-why-answer p + p {
  margin-top: 22px;
}


/* =========================================================
   PAROLE CHIAVE
========================================================= */

.home-why-keywords {
  display: flex;
  flex-wrap: wrap;

  gap: 8px 10px;

  margin-top: 28px;
  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.home-why-keywords span {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.50);
}


/* =========================================================
   HOME — WHY — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.home-why-main-content {
    width: 64%;
  }

.home-why-pc {
    right: -5%;
    height: 82%;
  }

.home-why-grid {
    grid-template-columns: 1fr;
  }

.home-why-block-medium,
  .home-why-block-small {
    min-height: auto;
  }

}

@media (max-width: 900px) {

.home-why {
    padding: 80px 0;
  }

/* =========================
     BLOCCO PRINCIPALE
  ========================= */

  .home-why-block-large {
    min-height: auto;

    padding: 30px 28px 0;
  }

.home-why-main-content {
    width: 100%;

    margin-top: 0;
  }

.home-why-block-large h2 {
    font-size: clamp(2.9rem, 12vw, 4.5rem);
  }

/* =========================
     TITOLI SECONDARI
  ========================= */

  .home-why-block h3 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

/* =========================
     CARD INFERIORI
  ========================= */

  .home-why-block-medium,
  .home-why-block-small {
    padding: 28px;
  }

.home-why-answer {
    padding-top: 30px;
  }

/* =========================
     PC PRINCIPALE
     Su mobile scende sotto al testo.
  ========================= */

  .home-why-pc {
    position: relative;

    top: auto;
    right: auto;

    width: 115%;
    height: auto;

    margin-top: 35px;
    margin-left: 14%;

    transform: none;
  }

.home-why-pc img {
    width: 100%;
    height: auto;
  }

}

@media (max-width: 600px) {

/* -------------------------------------------------------
     CARD
  ------------------------------------------------------- */

  .home-why-block-large {
    position: relative;

    min-height: 0;
    padding: 28px 20px 28px;

    overflow: hidden;
  }

/* -------------------------------------------------------
     CONTENUTO TESTUALE
  ------------------------------------------------------- */

  .home-why-main-content {
    position: relative;
    z-index: 2;

    width: 100%;
    margin: 0;
  }

/* -------------------------------------------------------
     TITOLO
     Lasciamo spazio sulla destra per il computer.
  ------------------------------------------------------- */

  .home-why-block-large h2 {
    width: 68%;
    max-width: 68%;

    margin: 0 0 30px;

    white-space: normal;

    font-size: 2rem;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

/* -------------------------------------------------------
     DESCRIZIONE
     Torna a utilizzare tutta la larghezza della card.
  ------------------------------------------------------- */

  .home-why-answer {
    width: 100%;
    max-width: none;

    padding-top: 0;
  }

/* -------------------------------------------------------
     PC
     Piccolo visual accanto al titolo.
  ------------------------------------------------------- */

  .home-why-pc {
    position: absolute;

    top: 18px;
    right: -80px;
    left: auto;

    width: 40%;
    height: auto;

    margin: 0;

    transform: none;

    z-index: 1;
    pointer-events: none;
  }

.home-why-pc img {
    display: block;

    width: 55%;
    height: auto;
  }

.home-why-block-medium {
    min-height: 620px;
  }

/* Titolo */
  .home-why-block-medium h3 {
    width: 100%;
    max-width: none;

    font-size: 2rem;
    line-height: 0.98;
    letter-spacing: -0.045em;

    white-space: normal;
  }

/* PC — rimane IN FONDO */

  .home-why-effective-pc {
    position: absolute;

    top: auto;
    bottom: 0;

    left: 50%;
    right: auto;

    width: 55%;
    max-width: none;

    transform: translateX(-50%);
  }

.home-why-block-small h3 {
    font-size: 2rem;
    line-height: 0.98;
    letter-spacing: -0.045em;
    white-space: normal;
  }

.home-why {
    padding-top: 50px;
  }

}



/* =========================================================
   10 — HOME / FINAL CTA
========================================================= */

/* =========================================================
   HOME — WHY / TABLET
========================================================= */


/* =========================================================
   HOME — WHY / MOBILE
========================================================= */


/* =========================================================
   HOME — FINAL CTA
   Sezione finale chiara con visual workspace.
========================================================= */

.home-final-cta {
  position: relative;

  min-height: 720px;

  overflow: hidden;

  background: #eee8df;
  color: #111111;
}


/* =========================================================
   IMMAGINE
   Occupa tutta la sezione mantenendo il MacBook nella
   parte superiore.
========================================================= */

.home-final-cta-image {
  position: absolute;

  top: -35px;
  left: 50%;

  width: 100%;
  max-width: 1920px;
  height: auto;

  transform: translateX(-50%);

  z-index: 0;
  pointer-events: none;
}

/* =========================================================
   HOME — FINAL CTA / CONTENUTO
   Posizionamento del blocco testuale.
========================================================= */

.home-final-cta-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: none;

  min-height: 720px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 220px 0 25px;
}


/* =========================
   BLOCCO TESTO
========================= */
.home-final-cta-content {
  width: min(900px, 80%);
  margin: 0;

  text-align: center;

  transform: translate(-15px, 45px);
}

/* =========================================================
   HOME — FINAL CTA / FULL DESKTOP
   Sposta il contenuto sotto al MacBook sui monitor larghi.
========================================================= */



/* =========================
   TITOLO
========================= */

.home-final-cta-title {
  margin: 20px;

  font-size: clamp(4.2rem, 5.1vw, 5.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
  width: 100%;
  max-width: none;

  text-align: center;
}

/* =========================
   DESCRIZIONE
========================= */

.home-final-cta-text {
  max-width: 620px;
  margin: 32px auto 0;
  text-align: center;
}

/* =========================================================
   HOME — FINAL CTA / PULSANTE CONTATTI
   Pulsante scuro, compatto e senza freccia.
========================================================= */

.home-final-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;

  margin-top: 42px;
  padding: 15px 24px;

  border: 1px solid #111111;
  border-radius: 999px;

  background: #111111;
  color: #ffffff;

  text-decoration: none;

  font-size: 0.70rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.home-final-cta-link:hover {
  background: transparent;
  color: #111111;
}


/* =========================================================
   FIRMA LATERALE
========================================================= */

.home-final-cta-signature {
  position: absolute;

  right: 0;
  bottom: 102px;

  display: flex;
  flex-direction: column;
  gap: 8px;

  padding-left: 24px;

  border-left: 1px solid rgba(17, 17, 17, 0.32);

  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;

  color: rgba(17, 17, 17, 0.58);
}

/* =========================================================
   HOME — FINAL CTA / TRANSIZIONE DALLA WHY
   Ammorbidisce il passaggio dal nero al visual chiaro.
========================================================= */

.home-final-cta::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 220px;

  background: linear-gradient(
    to bottom,
    #111111 0%,
    rgba(17, 17, 17, 0.88) 18%,
    rgba(17, 17, 17, 0.45) 48%,
    rgba(17, 17, 17, 0) 100%
  );

  z-index: 1;
  pointer-events: none;
}
/* =========================================================
   HOME — FINAL CTA / SFUMATURA INFERIORE
   Ammorbidisce il passaggio dalla CTA al footer scuro.
========================================================= */

.home-final-cta::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 220px;

  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.10) 30%,
    rgba(17, 17, 17, 0.45) 65%,
    #111111 100%
  );

  z-index: 1;
  pointer-events: none;
}

/* =========================================================
   HOME — FINAL CTA — RESPONSIVE
========================================================= */

@media (min-width: 1800px) {

.home-final-cta-content {
    transform: translate(-15px, 125px);
  }

}

@media (max-width: 900px) {

.home-final-cta,
  .home-final-cta-inner {
    min-height: 760px;
  }

.home-final-cta-content {
    width: 72%;
  }

}

@media (max-width: 900px) {

.home-final-cta {
    min-height: 700px;
  }

.home-final-cta-image {
    height: 100%;
    object-position: 52% top;
  }

.home-final-cta-inner {
    min-height: 700px;

    align-items: flex-end;

    padding-top: 260px;
    padding-bottom: 55px;
  }

.home-final-cta-content {
    width: 100%;
  }

.home-final-cta-title {
    font-size: clamp(3.4rem, 15vw, 5rem);
  }

.home-final-cta-text {
    max-width: 90%;

    margin-top: 26px;
  }

.home-final-cta-link {
    margin-top: 34px;
  }

.home-final-cta-signature {
    display: none;
  }

}

@media (max-width: 600px) {

.home-final-cta {
    min-height: 550px;
    height: 550px;
  }

.home-final-cta-inner {
    min-height: 620px;
    padding-top: 190px;
    padding-bottom: 45px;
  }

.home-final-cta-image {
    width: 145%;
    max-width: none;
    height: auto;

    top: 0;
    left: 50%;

    transform: translateX(-50%);
  }

/* Alza tutto: titolo + descrizione + pulsante */
  .home-final-cta-content {
    transform: translate(-15px, -70px);
  }

/* Titolo leggermente più piccolo */
  .home-final-cta-title {
    font-size: clamp(3rem, 13vw, 4.3rem);
  }

.home-final-cta {
    margin-top: 0px;
  }

}



/* =========================================================
   11 — FOOTER
========================================================= */

/* =========================================================
   HOME — FINAL CTA / TABLET
========================================================= */


/* =========================================================
   HOME — FINAL CTA / MOBILE
========================================================= */


/* =====================================
   FOOTER
===================================== */

.footer {
  padding: 55px 0 24px;

  background: #111111;
  color: #ffffff;
}

/* =====================================
   FOOTER BRAND
===================================== */

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 25px;
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.footer-brand-logo {
  display: block;
  width: clamp(210px, 16vw, 250px);
  height: auto;
}

/* =====================================
   FOOTER NAVIGATION
===================================== */

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px 30px;

  padding: 30px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav a {
  position: relative;

  font-size: 0.78rem;
  color: #999999;

  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* =====================================
   FOOTER CONTACT
===================================== */

.footer-contact {
  display: flex;
  justify-content: center;

  padding: 18px 0 36px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding-bottom: 4px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.35);

  font-size: 0.82rem;
  color: #aaaaaa;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.footer-contact a:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* =====================================
   FOOTER BOTTOM
===================================== */

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;

  gap: 28px;

  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #5f5f5f;
}

.footer-legal {
  display: flex;
  align-items: center;

  gap: 18px;
}

.footer-legal a,
.back-top {
  color: #6f6f6f;

  transition: color 0.2s ease;
}

.footer-legal a:hover,
.back-top:hover {
  color: #ffffff;
}

/* =========================================================
   FOOTER — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

.footer {
    padding-top: 50px;
  }

.footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

.footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

.footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

.footer-legal {
    flex-wrap: wrap;
  }

.back-top {
    justify-self: start;
  }

/* -------------------------------------------------------
     LOGO
  ------------------------------------------------------- */

  .footer-brand-logo {
    width: 120px;
  }

/* -------------------------------------------------------
     NAVIGAZIONE
  ------------------------------------------------------- */

  .footer-nav {
    gap: 14px 26px;
    padding: 24px 0;
  }

/* -------------------------------------------------------
     CONTATTO
  ------------------------------------------------------- */

  .footer-contact {
    padding: 16px 0 26px;
  }

/* -------------------------------------------------------
     PARTE INFERIORE
  ------------------------------------------------------- */

  .footer-bottom {
    gap: 14px;
    padding-top: 18px;
  }

.footer-top {
    align-items: center;
  }

.footer-brand {
    margin-left: auto;
    margin-right: auto;
  }

.footer-brand-logo {
    width: 120px;
  }

.footer-bottom {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    justify-content: center;

    align-items: center;
    column-gap: 18px;
    row-gap: 16px;
  }

/* ITALIA */
  .footer-bottom > span:first-child {
    grid-column: 1;
    grid-row: 1;
  }

/* PRIVACY + COOKIE */
  .footer-legal {
    grid-column: 2;
    grid-row: 1;

    display: flex;
    align-items: center;
    gap: 18px;
  }

/* FRECCIA */
  .back-top {
    grid-column: 3;
    grid-row: 1;

    justify-self: auto;
    margin: 0;
  }

/* COPYRIGHT */
  .footer-bottom > span:last-child {
    grid-column: 1 / -1;
    grid-row: 2;

    justify-self: start;
  }

.footer {
    padding-top: 30px;
  }

}

/* =========================================================
   12 — PAGINA SERVIZI
========================================================= */

.services-page-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 45px;
  background: #090908;
  color: #ffffff;
}

.services-page-hero-visual {
  width: 82%;
  margin: 145px auto 0;
}

.services-page-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.services-page-hero-inner {
  position: relative;
  min-height: 0;
  padding-top: 30px;
}

.services-page-hero h1 {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  text-align: center;

  font-size: clamp(4rem, 5.3vw, 6.3rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.services-page-hero h1 span {
  display: block;
  margin-left: 0;
  color: #8a837a;
}

.services-page-hero-bottom {
  width: 100%;
  margin-top: 55px;
  padding-bottom: 30px;
  text-align: center;
}

.services-page-hero-bottom p {
  max-width: 560px;
  margin: 0 auto;

  font-size: 0.95rem;
  line-height: 1.65;
  color: #9a9690;
}
/* =====================================
   SERVICE MODAL
===================================== */

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  justify-content: flex-end;

  visibility: hidden;
  pointer-events: none;
}

.service-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* =====================================
   SERVICE MODAL BACKDROP
===================================== */

.service-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.68);

  opacity: 0;

  transition: opacity 0.4s ease;
}

.service-modal.is-open .service-modal-backdrop {
  opacity: 1;
}

/* =====================================
   SERVICE MODAL PANEL
===================================== */

.service-modal-panel {
  position: relative;
  z-index: 2;

  width: min(680px, 100%);
  height: 100%;

  padding: 42px 55px;

  background: #f6f5f2;
  color: #111111;

  overflow-y: auto;

  transform: translateX(100%);

  transition: transform 0.55s cubic-bezier(.2, .7, .2, 1);
}

.service-modal.is-open .service-modal-panel {
  transform: translateX(0);
}

/* =====================================
   SERVICE MODAL CLOSE
===================================== */

.service-modal-close {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-left: auto;
  padding: 0;

  border: 0;
  background: transparent;

  color: #111111;

  font: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;

  cursor: pointer;
}

.service-modal-close span {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
}

/* =====================================
   SERVICE MODAL CONTENT
===================================== */

.service-modal-content {
  max-width: 520px;

  margin-top: 55px;
}

.service-modal-number {
  display: block;

  margin-bottom: 20px;

  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;

  color: #888888;
}

.service-modal-content h2 {
  margin: 0;

  font-size: clamp(2.5rem, 3.5vw, 3.9rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.service-modal-description {
  margin: 26px 0 0;

  font-size: 0.95rem;
  line-height: 1.65;

  color: #555555;
}

/* =====================================
   SERVICE MODAL DETAILS
===================================== */

.service-modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;

  margin-top: 40px;
  padding-top: 25px;

  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.service-modal-label {
  display: block;

  margin-bottom: 20px;

  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;

  color: #777777;
}

.service-modal-details ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.service-modal-details li {
  padding: 7px 0;

  font-size: 0.9rem;
  line-height: 1.4;

  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.service-modal-details p {
  margin: 0;

  font-size: 0.9rem;
  line-height: 1.7;

  color: #555555;
}

/* =====================================
   SERVICE MODAL MOBILE
===================================== */



/* =====================================
   SERVICE OPEN INDICATOR
===================================== */

.service-item::after {
  content: "+";

  position: absolute;
  right: 18px;
  top: 50%;

  transform: translateY(-50%);

  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;

  color: rgba(255, 255, 255, 0.38);

  transition:
    color 0.3s ease,
    transform 0.35s cubic-bezier(.2, .7, .2, 1);
}

.services-page-index {
  padding-bottom: 2px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #8f8880;
}

/* =====================================
   DEVELOPMENT & COMMERCE
===================================== */

.service-detail {
  padding: 45px 0 45px;
  background: #f8f6f2;
  color: #111111;
}


/* =====================================
   STRUTTURA PRINCIPALE
   SINISTRA = CONTENUTI
   DESTRA   = VISUAL
===================================== */

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(400px, 0.72fr) minmax(0, 1.28fr);
  column-gap: 55px;
  align-items: center;
}

/* =====================================
   COLONNA SINISTRA
===================================== */

.service-detail-content {
  display: block;
  min-width: 0;
  position: relative;
  z-index: 2;
  align-self: center;
}


/* LABEL */

.service-detail-meta {
  display: flex;
  align-items: center;
  margin: -30px 0 56px;
}

.service-detail-label {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: #8b857e;
}


/* =====================================
   TITOLO
===================================== */

.service-detail-content h2 {
  width: max-content;
  max-width: none;
  margin: 0;

  font-size: clamp(4rem, 4vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;

  position: relative;
  z-index: 3;
}

.service-detail-content h2 span {
  display: block;
  white-space: nowrap;
  margin: 0;
  color: #8a837a;
}


/* =====================================
   INTRO
===================================== */

.service-detail-intro {
  width: 100%;
  max-width: 500px;
  margin: 32px 0 0;

  font-size: 1.05rem;
  line-height: 1.65;
  color: #625d57;
}

/* =====================================
   SERVIZI
===================================== */

.service-detail-services {
  margin-top: 38px;
}

.service-detail-services-label {
  display: inline-block;
  padding-bottom: 7px;

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #111111;

  border-bottom: 1px solid rgba(17, 17, 17, 0.45);
}


/* GRIGLIA 2 COLONNE */

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 38px;

  margin-top: 28px;
  border: 0;
}

.service-detail-list > div {
  display: block;

  min-height: 0;
  padding: 0;

  border: 0;
}

/* TITOLO SERVIZIO */

.service-detail-list h3 {
  margin: 0 0 9px;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}



/* DESCRIZIONE SERVIZIO */

.service-detail-list p {
  max-width: 235px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #77716a;
}

/* =====================================
   VISUAL DESTRA
===================================== */

.service-detail-visual {
  width: min(170%, 1400px);
  min-width: 0;

  margin:45px 0 0;
  position: relative;
  left: -63%;

  align-self: start;
  overflow: hidden;
}

.service-detail-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* =====================================
   PROCESS / IL NOSTRO METODO
===================================== */

.services-process {
  padding: 120px 0;
  background: #e9e2d8;
  color: #111111;
}

/* Stessa griglia dei blocchi servizi */
.services-process-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 2.2fr;
  gap: 80px;
  align-items: start;
}

/* META — 05 + IL NOSTRO METODO */
.services-process-meta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  white-space: nowrap;
}

.services-process-meta span {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.services-process-meta span:last-child {
  color: #82796f;
}

/* CONTENUTO */
.services-process-content {
  min-width: 0;
}

/* TITOLO */
.services-process h2 {
  width: calc(100% + 120px);
  max-width: none;
  margin: 0;

  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.services-process h2 span {
  display: block;
  margin-left: 4vw;
  color: #82796f;
}

/* INTRO */
.services-process-intro {
  max-width: 610px;
  margin-top: 36px;

  font-size: 1rem;
  line-height: 1.75;
  color: #625d57;
}

/* STEP */
.services-process-steps {
  margin-top: 80px;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.services-process-step {
  display: grid;
  grid-template-columns: 90px 0.9fr 1.3fr;
  gap: 30px;
  align-items: center;

  min-height: 120px;
  padding: 24px 0;

  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

/* NUMERO STEP */
.services-process-step-number {
  padding-top: 0;

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #8c857d;
}

/* TITOLO STEP */
.services-process-step h3 {
  margin: 0;

  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* DESCRIZIONE STEP */
.services-process-step p {
  max-width: 470px;
  margin: 0;

  font-size: 0.88rem;
  line-height: 1.7;
  color: #69635d;
}

/* LINK FINALE */
.services-process-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  width: max-content;
  margin-top: 8px;

  padding: 8px 0;

  border-bottom: 1px solid rgba(17, 17, 17, 0.35);

  color: #111111;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

/* SE IL LINK È FIGLIO DIRETTO DELLA GRIGLIA */
.services-process-inner > .services-process-link {
  grid-column: 2;
  justify-self: end;
}

/* SE IL LINK È DENTRO services-process-content */
.services-process-content > .services-process-link {
  margin-left: auto;
}

.services-process-link-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.services-process-link:hover .services-process-link-arrow {
  transform: translate(4px, -4px);
}

/* =====================================
   SIRGA — HERO PAGINE INTERNE
   SISTEMA TIPOGRAFICO CONDIVISO

   Uniforma SOLO le Hero delle pagine
   Servizi, Pacchetti e Processo.
   Non modifica la Hero fotografica HOME.
===================================== */

.services-page-hero h1,
.packages-page-hero h1,
.process-page-hero h1 {
  font-size: clamp(4.5rem, 6.3vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.services-page-hero h1 span,
.packages-page-hero h1 span,
.process-page-hero h1 span {
  display: block;
  margin-left: 7vw;
  color: #8a837a;
}

.services-page-hero h1 {
  text-align: center;
}

.services-page-hero h1 span {
  margin-left: 0;
}

/* =====================================
   SERVICE DETAIL — REVERSE
   STESSO BLOCCO, SOLO SPECCHIATO
===================================== */

/* =====================================
   SERVICE DETAIL — REVERSE
   STESSO BLOCCO, SPECCHIATO
===================================== */

.service-detail-reverse .service-detail-grid {
  direction: rtl;
}

.service-detail-reverse .service-detail-content,
.service-detail-reverse .service-detail-visual {
  direction: ltr;
}

.service-detail-reverse .service-detail-visual {
  left: auto;
  right: -63%;
  margin: 45px 0 0;
}


/* =========================================================
   PAGINA — SERVIZI — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.service-modal-panel {
    width: 100%;

    padding: 28px 24px;
  }

.service-modal-content {
    margin-top: 60px;
  }

.service-modal-details {
    grid-template-columns: 1fr;

    gap: 38px;
  }

}

@media (max-width: 900px) {

/* HERO */
  .services-page-hero {
    padding: 150px 0 80px;
  }

.services-page-hero h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(3.8rem, 9vw, 6rem);
  }

.services-page-hero h1 span {
    margin-left: 5vw;
  }

.services-page-hero-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
  }

.services-page-hero-bottom p {
    grid-column: 1;
    max-width: 560px;
  }

.services-page-index {
    display: none;
  }

/* SERVIZI 01–04 */
  .service-detail {
    padding: 90px 0;
  }

.service-detail-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

.service-detail-meta {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
  }

.service-detail-label {
    max-width: none;
    text-align: left;
  }

.service-detail-content h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(3.2rem, 8vw, 5.2rem);
  }

.service-detail-content h2 span {
    margin-left: 5vw;
  }

.service-detail-intro {
    max-width: 620px;
  }

.service-detail-list {
    margin-top: 60px;
  }

.service-detail-list > div {
    grid-template-columns: 70px 0.9fr 1.3fr;
    gap: 24px;
    min-height: 110px;
  }

/* METODO */
  .services-process {
    padding: 90px 0;
  }

.services-process-inner {
    grid-template-columns: 1fr;
    gap: 45px;
    align-items: start;
  }

.services-process h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(3.2rem, 8vw, 5.2rem);
  }

.services-process h2 span {
    margin-left: 5vw;
  }

.services-process-intro {
    max-width: 620px;
  }

.services-process-steps {
    margin-top: 60px;
  }

.services-process-step {
    grid-template-columns: 70px 0.9fr 1.3fr;
    gap: 24px;
    min-height: 110px;
  }

.services-process-inner > .services-process-link {
    grid-column: 1;
    justify-self: end;
  }

.services-page-hero h1,
  .packages-page-hero h1,
  .process-page-hero h1 {
    font-size: clamp(3.8rem, 9vw, 6rem);
  }

.services-page-hero h1 span,
  .packages-page-hero h1 span,
  .process-page-hero h1 span {
    margin-left: 5vw;
  }

}

@media (max-width: 600px) {

/* HERO */
  .services-page-hero {
    padding: 135px 0 70px;
  }

.services-page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
    line-height: 0.92;
  }

.services-page-hero h1 span {
    margin-left: 7vw;
  }

.services-page-hero-bottom {
    margin-top: 45px;
    padding-top: 24px;
  }

/* SERVIZI 01–04 */
  .service-detail {
    padding: 75px 0;
  }

.service-detail-grid {
    gap: 38px;
  }

.service-detail-meta {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }

.service-detail-content h2 {
    width: 100%;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    line-height: 0.96;
  }

.service-detail-content h2 span {
    margin-left: 7vw;
  }

.service-detail-intro {
    margin-top: 28px;
    font-size: 0.94rem;
    line-height: 1.7;
  }

.service-detail-list {
    margin-top: 48px;
  }

.service-detail-list > div {
    grid-template-columns: 52px 1fr;
    gap: 10px 18px;
    min-height: auto;
    padding: 24px 0;
  }

.service-detail-list > div > span {
    grid-column: 1;
    grid-row: 1;
  }

.service-detail-list h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.18rem;
  }

.service-detail-list p {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    font-size: 0.86rem;
  }

/* METODO */
  .services-process {
    padding: 75px 0;
  }

.services-process-inner {
    gap: 38px;
  }

.services-process h2 {
    width: 100%;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    line-height: 0.96;
  }

.services-process h2 span {
    margin-left: 7vw;
  }

.services-process-intro {
    margin-top: 28px;
    font-size: 0.94rem;
    line-height: 1.7;
  }

.services-process-steps {
    margin-top: 48px;
  }

.services-process-step {
    grid-template-columns: 52px 1fr;
    gap: 10px 18px;
    min-height: auto;
    padding: 24px 0;
  }

.services-process-step-number {
    grid-column: 1;
    grid-row: 1;
  }

.services-process-step h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.18rem;
  }

.services-process-step p {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    font-size: 0.86rem;
  }

.services-process-inner > .services-process-link {
    grid-column: 1;
    justify-self: end;
    margin-top: 18px;
  }

.services-page-hero h1,
  .packages-page-hero h1,
  .process-page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
    line-height: 0.92;
  }

.services-page-hero h1 span,
  .packages-page-hero h1 span,
  .process-page-hero h1 span {
    margin-left: 7vw;
  }

}


/* =========================================================
   13 — PAGINA SOLUZIONI / PACCHETTI
========================================================= */

/* =====================================
   PACCHETTI PAGE — HERO
===================================== */

.packages-page-hero {
  padding: 165px 0 70px;
  background: #f2eee8;
  color: #111111;
}

.packages-page-hero h1 {
  max-width: 1080px;
  margin: 0;

  font-size: clamp(4rem, 7.3vw, 7.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.packages-page-hero h1 span {
  display: block;
  margin-left: 7vw;
  color: #8a837a;
}

.packages-page-hero-bottom {
  margin-top: 70px;
  padding-top: 30px;

  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.packages-page-hero-bottom p {
  max-width: 610px;
  margin: 0 0 0 7vw;

  font-size: 0.95rem;
  line-height: 1.65;
  color: #5b5650;
}

/* =====================================
   PACCHETTI PAGE
===================================== */

.packages-page {
  padding: 70px 0 120px;
  background: #f8f6f2;
  color: #111111;
}

/* =====================================
   PACKAGE GRID
===================================== */

.packages-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* =====================================
   CUSTOM PROJECT
===================================== */

.package-custom {
  margin-top: 18px;
  padding: 0 55px 40px;

  background: #ded5c9;
  color: #111111;
}

.package-custom-top {
  margin-left: -21px;
  margin-right: -21px;

  padding: 34px 0 28px;

  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.package-custom-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}


.package-custom-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 110px;

  padding-top: 34px;
}


.package-custom h2 {
  max-width: 760px;
  margin: 0;

  font-size: clamp(3.4rem, 5.5vw, 6.2rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-align: left;
}

.package-custom h2 span {
  display: block;
  margin-left: 0;
  color: #81786e;
}


.package-custom-body {
  padding-top: 0;
}

.package-custom-body h3 {
  max-width: 390px;
  margin: 0 0 28px;

  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.package-custom-body p {
  max-width: 440px;
  margin: 0 0 18px;

  font-size: 0.9rem;
  line-height: 1.7;
  color: #5e5852;
}


.package-custom-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  width: max-content;
  margin-top: 10px;
  padding: 8px 0;

  border-bottom: 1px solid rgba(17, 17, 17, 0.35);

  color: #111111;

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.package-custom-link span:last-child {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.package-custom-link:hover span:last-child {
  transform: translate(4px, -4px);
}

.package-custom-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;

  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.13em;
}

.package-custom-meta span:last-child {
  margin-left: 0;
  color: #81786e;
}

/* =====================================
   PACCHETTI — COME SCEGLIERE
===================================== */

.packages-guide {
  padding: 70px 0 90px;
  background: #f2eee8;
  color: #111111;
}


/* HEADER */

.packages-guide-header {
  display: block;
}

.packages-guide-meta {
  display: flex;
  align-items: flex-start;
  gap: 22px;

  padding-top: 8px;

  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.packages-guide-meta span:last-child {
  color: #8b857e;
}

.packages-guide-heading {
  width: calc(100% - 100px);
  margin-top: 40px;
  margin-left: 100px;
}

.packages-guide-heading h2 {
  width: 900px;
  max-width: 100%;
  margin: 0;

  font-size: clamp(3.8rem, 6.4vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.packages-guide-heading h2 span {
  display: block;
  margin-left: 7vw;
  color: #8a837a;
}

.packages-guide-heading > p {
  max-width: 610px;
  margin: 36px 0 0 7vw;

  font-size: 1rem;
  line-height: 1.75;
  color: #625d57;
}


/* =====================================
   PACKAGE DETAILS
===================================== */

.packages-guide-list {
  margin-top: 65px;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.packages-guide-item {
  display: grid;
  grid-template-columns: 70px 0.8fr 1.55fr;
  gap: 30px;
  align-items: start;

  padding: 52px 0;

  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}


.packages-guide-number {
  padding-top: 4px;

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #8c857d;
}


/* TITLE */

.packages-guide-title > span {
  display: block;
  margin-bottom: 18px;

  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #8a837a;
}

.packages-guide-title h3 {
  max-width: 360px;
  margin: 0;

  font-size: 2rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}


/* CONTENT */

.packages-guide-content {
  max-width: 700px;
}

.packages-guide-content > p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #625d57;
}

.packages-guide-content > p:last-of-type {
  margin-bottom: 0;
}

/* IDEALE PER */

.packages-guide-note {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 25px;

  margin-top: 26px;
  padding-top: 18px;

  border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.packages-guide-note span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #8c857d;
}

.packages-guide-note p {
  margin: 0;

  font-size: 0.8rem;
  line-height: 1.6;
  color: #625d57;
}

/* =====================================
   PACCHETTI — VOCI CLICCABILI "IDEALE PER"

   Gestisce l'aspetto delle voci cliccabili
   Foundation, Commerce e Scale.
===================================== */

.packages-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.packages-guide-tag {
  padding: 0;
  border: 0;
  background: none;

  font: inherit;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #625d57;

  cursor: pointer;

  transition: color 0.2s ease;
}

/* Separatore tra le varie voci */

.packages-guide-tag:not(:last-child)::after {
  content: "·";
  margin: 0 7px;
  color: #a49d95;
}

/* Hover e voce attualmente selezionata */

.packages-guide-tag:hover,
.packages-guide-tag.is-active {
  color: #111111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}


/* =====================================
   PACCHETTI — POPOVER "IDEALE PER"

   Piccola finestra informativa che appare
   quando viene selezionata una delle voci.
===================================== */

.guide-popover {
  position: fixed;
  z-index: 1000;

  width: min(340px, calc(100vw - 40px));
  padding: 26px 28px 28px;

  background: #111111;
  color: #ffffff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(8px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}


/* Popover visibile */

.guide-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}


/* Piccola label superiore */

.guide-popover-label {
  display: block;
  margin-bottom: 22px;

  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #77716b;
}


/* Titolo del servizio */

.guide-popover-title {
  margin: 0 35px 14px 0;

  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}


/* Descrizione */

.guide-popover-text {
  margin: 0;

  font-size: 0.82rem;
  line-height: 1.65;
  color: #b8b3ad;
}


/* Pulsante di chiusura */

.guide-popover-close {
  position: absolute;
  top: 17px;
  right: 19px;

  padding: 0;
  border: 0;
  background: none;

  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: #ffffff;

  cursor: pointer;
}

@media (max-width: 900px) {

.package-card {
    min-height: 580px;
  }

.packages-page-hero {
    padding: 150px 0 80px;
  }

.packages-page-hero h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(3.8rem, 9vw, 6rem);
  }

.packages-page-hero h1 span {
    margin-left: 5vw;
  }

.packages-page-hero-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
  }

.packages-page-hero-bottom p {
    grid-column: 1;
    max-width: 560px;
  }

}

@media (max-width: 600px) {

.package-card {
    min-height: auto;
    padding: 28px;
  }

.packages-page-hero {
    padding: 135px 0 70px;
  }

.packages-page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
    line-height: 0.92;
  }

.packages-page-hero h1 span {
    margin-left: 7vw;
  }

.packages-page-hero-bottom {
    margin-top: 45px;
    padding-top: 24px;
  }

.packages-page-hero-bottom p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

}



/* =========================================================
   14 — PAGINA PROCESSO
========================================================= */

/* =====================================
   PACCHETTI @MEDIA
===================================== */


/* =========================================================
   PROCESSO.HTML
   STILI COMPLETI DELLA PAGINA PROCESSO

   Questo blocco è separato dalle classi della HOME
   per evitare conflitti con "03 — Il processo".
========================================================= */


/* =========================================================
   PROCESSO — HERO
   Stessa grammatica visiva delle altre pagine interne.
========================================================= */

.process-page-hero {
  padding: 165px 0 70px;
  background: #f2eee8;
  color: #111111;
}


/* Titolo principale */

.process-page-hero h1 {
  max-width: 1080px;
  margin: 0;

  font-size: clamp(4.5rem, 6.3vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}


/* Seconda riga del titolo */

.process-page-hero h1 span {
  display: block;
  margin-left: 7vw;
  color: #8a837a;
}


/* Separatore + introduzione */

.process-page-hero-bottom {
  margin-top: 45px;
  padding-top: 20px;

  border-top: 1px solid rgba(17, 17, 17, 0.18);
}


/* Testo introduttivo */

.process-page-hero-bottom p {
  max-width: 610px;
  margin: 0 0 0 7vw;

  font-size: 0.95rem;
  line-height: 1.65;

  color: #5b5650;
}


/* =========================================================
   PROCESSO — STEP
   Regola limitata esclusivamente alla pagina Processo.
========================================================= */

.process-page-hero ~ .process-step {
  padding: 70px 0 110px;

  background: #f8f6f2;
  color: #111111;
}


/* =========================================================
   PROCESSO — META DELLO STEP
   Numero a sinistra / nome fase a destra.
========================================================= */

.process-step-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  padding-bottom: 24px;

  border-bottom: 1px solid rgba(17, 17, 17, 0.16);

  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
}

.process-step-meta span:last-child {
  color: #8a837a;
}


/* =========================================================
   PROCESSO — CONTENUTO INTRODUTTIVO
   Colonna sinistra: frase principale
   Colonna destra: analisi numerata 1.1 / 1.2 / 1.3
========================================================= */

.process-step-content {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 120px;

  padding: 48px 0 60px;
}


/* Frase grande a sinistra */

.process-step-lead p {
  max-width: 440px;
  margin: 0;

  font-size: clamp(1.65rem, 2.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;

  color: #111111;
}


/* Contenitore testo a destra */

.process-step-copy {
  max-width: 700px;
}


/* =========================================================
   PROCESSO — TESTO NUMERATO
   1.1 / 1.2 / 1.3
========================================================= */

.process-text-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.process-text-row + .process-text-row {
  margin-top: 28px;
}


/* Testo */

.process-text-row p {
  margin: 0;

  font-size: 0.92rem;
  line-height: 1.75;

  color: #625d57;
}


/* =========================================================
   PROCESSO — COSA DEFINIAMO
   Sei aree editoriali su tutta la larghezza.
========================================================= */

.process-focus {
  padding: 32px 55px 38px;
  background: #ece6de;
  border-top: 0;
}

.process-focus-heading {
  margin-bottom: 32px;
}

.process-focus-heading span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #8a837a;
}


/* 3 colonne vere su tutta la pagina */

.process-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 80px;
  row-gap: 38px;
}


/* Singolo argomento */

.process-focus-item {
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.process-focus-item h3 {
  margin: 0 0 16px;

  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;

  color: #111111;
}

.process-focus-item p {
  max-width: 390px;
  margin: 0;

  font-size: 0.9rem;
  line-height: 1.7;

  color: #68625c;
}


/* =====================================
   PROCESSO — RISULTATO
   Chiusura chiara e più elegante,
   senza stacco nero.
===================================== */

.process-result {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 80px;
  align-items: center;

  margin-top: 0;
  padding: 38px 55px;

  background: #ece6de;
  color: #111111;

  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.process-result-label {
  justify-self: center;

  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;

  color: #111111;
}

.process-result p {
  max-width: 680px;
  margin: 0;

  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.03em;

  color: #111111;
}


/* =========================================================
   PROCESSO — RESPONSIVE TABLET
========================================================= */


/* =========================================================
   PROCESSO — RESPONSIVE MOBILE
========================================================= */



/* =========================================================
   PROCESSO — FIX STRUTTURA FINALE STEP
   Forza "Cosa definiamo" e "Risultato"
   a occupare tutta la larghezza disponibile.
========================================================= */

.process-focus,
.process-result {
  grid-column: 1 / -1;
  width: 100%;
}

/* =========================================================
   PAGINA — PROCESSO — RESPONSIVE
========================================================= */

@media (max-width: 600px) {

.process-step {
    min-height: 320px;
    padding: 28px;
  }

/* Hero */

  .process-page-hero {
    padding: 120px 0 55px;
  }

.process-page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
    line-height: 0.92;
  }

.process-page-hero h1 span {
    margin-left: 7vw;
  }

.process-page-hero-bottom {
    margin-top: 32px;
    padding-top: 18px;
  }

.process-page-hero-bottom p {
    margin-left: 7vw;
  }

/* Step */

  .process-page-hero ~ .process-step {
    padding: 55px 0 75px;
  }

/* Meta */

  .process-step-meta {
    padding-bottom: 20px;
  }

/* Introduzione */

  .process-step-content {
    gap: 35px;
    padding: 36px 0 45px;
  }

.process-step-lead p {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
  }

/* Testi 1.1 / 1.2 / 1.3 */

  .process-text-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

.process-text-row + .process-text-row {
    margin-top: 24px;
  }

/* Cosa definiamo */

  .process-focus {
    padding: 42px 0 50px;
  }

.process-focus-heading {
    margin-bottom: 32px;
  }

.process-focus-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

.process-focus-item p {
    max-width: 100%;
  }

/* Risultato */

  .process-result {
    gap: 22px;
    padding: 34px 0 38px;
  }

.process-result p {
    font-size: 1.2rem;
  }

}

@media (max-width: 900px) {

/* Hero */

  .process-page-hero {
    padding: 135px 0 65px;
  }

.process-page-hero h1 span {
    margin-left: 5vw;
  }

.process-page-hero-bottom {
    margin-top: 40px;
  }

.process-page-hero-bottom p {
    margin-left: 5vw;
  }

/* Step */

  .process-page-hero ~ .process-step {
    padding: 65px 0 90px;
  }

/* Intro */

  .process-step-content {
    grid-template-columns: 1fr;
    gap: 42px;

    padding: 42px 0 52px;
  }

.process-step-lead p {
    max-width: 620px;
  }

.process-step-copy {
    max-width: 100%;
  }

/* Cosa definiamo */

  .process-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 45px;
    row-gap: 42px;
  }

.process-focus-item p {
    max-width: 100%;
  }

/* Risultato */

  .process-result {
    grid-template-columns: 1fr;
    gap: 28px;
  }

}



/* =========================================================
   15 — SERVIZI / COMPONENTI LEGACY
========================================================= */

/* =====================================
SERVICES
===================================== */

.services {
  padding-top: 75px;
  padding-bottom: 75px;
  background: #f8f6f2;
  color: #111111;
}

.services-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(300px, 1fr) 300px;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition:
    padding 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.service-number {
  padding-top: 8px;
  padding-left: 25px;
  align-self: center;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;

  color: rgba(255, 255, 255, 0.42);
}

.service-content h3 {
  margin-bottom: 14px;

  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;

  font-weight: 500;
  letter-spacing: -0.04em;
}

.service-content p {
  max-width: 580px;

  font-size: 1rem;
  line-height: 1.7;

  color: #999999;
}

.service-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
  padding-right: 55px;
}

.service-tags span {
  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #aaaaaa;
}


/* =====================================
SERVICES HOVER
===================================== */

.service-item:hover {
  padding-left: 14px;
  padding-right: 14px;
  transform: translateX(6px);
}

.service-item:hover .service-content h3 {
  color: #ffffff;
}

.service-item:hover::after {
  color: #ffffff;

  transform:
    translateY(-50%)
    rotate(90deg);
}


/* =========================================================
   16 — ALTRO / CONDIVISO
========================================================= */

/* =====================================
   PROJECT CARD
===================================== */

.project {
  min-width: 0;
}

/* =====================================
   PROCESS STEP
===================================== */

.process-step {
  padding: 34px 32px 38px;

  border-right: 1px solid rgba(17, 17, 17, 0.15);
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.process-number {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #777777;
}

.process-small {
  margin: 0;

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #777777;
}

/* =====================================
   PROCESS CONTENT
===================================== */

.process-content h3 {
  max-width: 470px;
  margin: 0 0 16px;

  font-size: clamp(1.85rem, 2.7vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.process-content p {
  max-width: 430px;
  margin: 0;

  color: #666666;
  line-height: 1.7;
}


.packages-intro {
  max-width: 620px;
  margin: 26px 0 0;

  font-size: 0.95rem;
  line-height: 1.65;

  color: rgba(17, 17, 17, 0.62);
}


/* =========================================================
   HOME — SOLUZIONI CONTENUTO
========================================================= */

.package-content {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 22px 28px 24px;
}

.package-content h3 {
  margin: 0;

  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.package-description {
  margin: 12px 0 0;

  font-size: 0.9rem;
  line-height: 1.6;

  color: rgba(17, 17, 17, 0.64);
}


/* =========================================================
   HOME — SOLUZIONI FEATURES
========================================================= */

.package-features {
  display: flex;
  flex-direction: column;

  gap: 7px;

  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.package-features span {
  position: relative;

  padding-left: 20px;

  font-size: 0.76rem;
  line-height: 1.4;

  color: rgba(17, 17, 17, 0.72);
}

.package-features span::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;
}


/* =========================================================
   HOME — PIÙ SCELTO
========================================================= */

.package-badge {
  position: absolute;
  top: 18px;
  right: 18px;

  z-index: 2;

  padding: 8px 12px;

  border-radius: 999px;

  background: #f2eee8;
  color: #111111;

  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.10em;
}


/* =========================================================
   HOME — SOLUZIONI HOVER
========================================================= */

.package-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-link span {
  transition: transform 0.25s ease;
}

.package-card:hover .package-link span {
  transform: translate(3px, -3px);
}


.back-top {
  justify-self: end;

  font-size: 0.85rem;
}

/* =====================================
   HERO
===================================== */

.hero {
  position: relative;

  width: 100%;
  height: 100vh;
  min-height: 720px;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #111111;
  color: #ffffff;
}

/* =====================================
   HERO IMAGE
===================================== */

.hero-background {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background-image: url("../images/sirga-hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* =====================================
   HERO OVERLAY
===================================== */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.28) 27%,
      rgba(0, 0, 0, 0.04) 58%,
      rgba(0, 0, 0, 0.10) 100%
    );
}

/* =====================================
   HERO CONTENT
===================================== */

.hero-content {
  position: relative;
  z-index: 5;

  width: min(1680px, calc(100% - 100px));
  height: 100%;

  margin: 0 auto;
  padding: 0;

  display: flex;
  align-items: center;
}

/* =====================================
   HERO COPY
===================================== */

.hero-copy {
  width: 375px;
  max-width: 375px;
}

.hero-eyebrow {
  display: block;

  margin-bottom: 30px;

  color: #ffffff;

  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.26em;
}

.hero .hero-copy h1 {
  width: 100%;
  max-width: 360px;

  margin: 0;

  color: #ffffff;

  font-size: clamp(2.7rem, 3.15vw, 3.7rem);
  font-weight: 300;

  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero .hero-copy p {
  width: 100%;
  max-width: 330px;

  margin: 26px 0 0;

  color: rgba(255, 255, 255, 0.75);

  font-size: 0.84rem;
  line-height: 1.7;
}

/* =====================================
   HERO SCROLL
===================================== */

.hero-scroll {
  position: absolute;

  left: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  color: #ffffff;
  text-decoration: none;
}

.hero-scroll span:first-child {
  margin-bottom: 14px;

  font-size: 0.58rem;
  font-weight: 600;

  letter-spacing: 0.18em;
}

.hero-scroll-line {
  display: block;

  width: 1px;
  height: 70px;

  background: rgba(255, 255, 255, 0.65);
}

/* =====================================
   PACKAGE CARD
===================================== */

.package-card {
  position: relative;

  display: grid;
  grid-template-rows:
    auto
    auto
    auto
    auto
    1fr
    auto;

  min-height: 720px;
  padding: 34px;

  background: #ece6de;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.package-card-featured {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.package-card-top {
  display: contents;
}

.package-card-meta span:last-child {
  color: #837c74;
}

.package-card-featured .package-card-meta span:last-child {
  color: #777777;
}

/* BADGE */

.package-card-badge {
  position: absolute;
  top: 0;
  right: 0;

  padding: 10px 14px;

  background: #f2eee8;
  color: #111111;

  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

/* TITLE */

.package-card h2 {
  margin: 0 0 28px;

  font-size: clamp(2.8rem, 4vw, 4.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

/* DESCRIPTION */

.package-card-description {
  max-width: 370px;
  margin: 0;

  font-size: 0.9rem;
  line-height: 1.7;
  color: #665f58;
}

.package-card-featured .package-card-description {
  color: #929292;
}

/* PRICE */

.package-card-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;

  margin-top: 28px;
  padding-bottom: 28px;

  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.package-card-featured .package-card-price {
  border-color: rgba(255, 255, 255, 0.16);
}

.package-card-price span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #837c74;
}

.package-card-price strong {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

/* SERVICES */

.package-card-list {
  margin-top: 10px;
}

.package-card-list > div {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 12px;
  align-items: center;

  min-height: 44px;
  padding: 10px 0;

  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.package-card-featured .package-card-list > div {
  border-color: rgba(255, 255, 255, 0.12);
}

.package-card-list span {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #958d84;
}

.package-card-list p {
  margin: 0;

  font-size: 0.82rem;
  line-height: 1.45;
  color: #4f4a45;
}

.package-card-featured .package-card-list p {
  color: #b2b2b2;
}

/* CTA */

.package-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 28px;
  padding-top: 0;

  color: inherit;

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.package-card-link span:last-child {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.package-card-link:hover span:last-child {
  transform: translate(4px, -4px);
}


/* Numero */

.process-text-number {
  padding-top: 5px;

  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;

  color: #8a837a;
}


/* =========================================================
   PAGINA — SOLUZIONI / PACCHETTI — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.package-card {
    min-height: auto;
  }

}

/* =========================================================
   ALTRO / CONDIVISO — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.package-visual {
    aspect-ratio: 16 / 9;
  }

}

@media (max-width: 900px) {

.package-content {
    padding: 24px 22px 24px;
  }

}

@media (max-width: 900px) {

.work-intro {
    max-width: 550px;
  }

.why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

.why-right {
    padding-top: 0;
  }

.faq-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

.final-cta-bottom {
    align-items: flex-start;
  }

}
