/* =========================================================
   NEW STYLE
   Studio Tecnico Maria Sapone
   ========================================================= */


/* =========================================================
   FONT — GILROY
   ========================================================= */

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-UltraLight.woff") format("woff");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-ExtraBold.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Heavy.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   COLORI
   ========================================================= */

:root {
    --black: #242020;
    --dark-olive-green: #eb9f00;
    --gainsboro: #e6e6e6;
    --gold: #fcba30;
    --white-2: #ffffff;
    --white: #fafafa;
    --black-2: #403939;
    --black--50: #2b2727;
    --cta-bg: #eeeeec;	
}

/* =========================================================
   01 — BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: Gilroy, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;

    background: #242020;
    color: #ffffff;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.s2-kicker {
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================================
   02 — CONTAINER
   ========================================================= */

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   03 — HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(36, 32, 32, 0.85);
    color: var(--white-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

    transition:
        opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-header.nav-hidden {
    transform: translateY(-100%);
}


/* CONTENITORE */

.header-container {
    width: 100%;
    max-width: 1280px;
    min-height: 100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
	grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   NAVBAR — COMPARSA INIZIALE
   ========================================================= */

.site-header {
    opacity: 0;
    transform: translateY(-100px);

    transition:
        opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}


/* =========================================================
   04 — LOGO
   ========================================================= */

.site-logo {
    display: block;
    flex-shrink: 0;
	justify-self: start;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.logo-mark {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
	margin: 0 0 5px 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-top: -1px;
}

.brand-name {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.brand-sub {
    margin-top: 2px;
    color: var(--gold);
    font-size: 10px;
	font-weight: 400;
    line-height: 1em;
    letter-spacing: 8px;
    text-transform: uppercase;
}

/* =========================================
   LOGO BANNER SECTION
   ========================================= */

.logo-banner-section {
  width: 100%;
  background: #fafafa;
  padding: 58px 0 52px;
  box-sizing: border-box;
}

.logo-banner-container {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 40px;
}

.logo-img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: 50px;
  margin: 0 auto;
  object-fit: contain;

  /* aspetto grigio della schermata originale */
  filter: grayscale(100%);
  opacity: 0.55;
}

.logo-banner-line {
  width: 100%;
  height: 1px;
  margin-top: 48px;
  background: #d8d8d8;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

  .logo-banner-container {
    width: min(100% - 40px, 700px);
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 24px;
  }

  .logo-banner-line {
    margin-top: 40px;
  }
}


@media (max-width: 560px) {

  .logo-banner-section {
    padding: 42px 0 40px;
  }

  .logo-banner-container {
    width: calc(100% - 32px);
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 18px;
  }

  .logo-img {
    max-width: 130px;
    height: 28px;
  }

  .logo-banner-line {
    margin-top: 34px;
  }
}

/* =========================================================
   05 — NAVIGAZIONE
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;
	justify-self: end;
    gap: 38px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
	letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    transition:
        color 0.25s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -19px;
    height: 2px;
    background: var(--gold);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -19px;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* =========================================================
   06 — DROPDOWN SERVIZI
   ========================================================= */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 12px !important;
    height: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    color: var(--gold) !important;

    flex: 0 0 12px !important;

    transform: none !important;
}

.dropdown-icon svg {
    display: block;

    width: 12px;
    height: 12px;

    transition:
        transform 300ms ease;
}

.nav-dropdown.is-open .dropdown-icon svg,
.nav-dropdown:focus-within .dropdown-icon svg {
    transform: rotate(180deg);
}


/* =========================================================
   07 — PANNELLO DROPDOWN
   ========================================================= */

.dropdown-menu {
    position: absolute;

    top: calc(100% + 18px);
    left: 50%;

    width: 330px;

    padding: 18px 0;

    background-color: var(--black);

    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025) 0,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 5px
        );

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(-2rem);

    transition:
        opacity 300ms ease,
        transform 300ms ease,
        visibility 0s linear 300ms;
}

.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);

    transition:
        opacity 300ms ease,
        transform 300ms ease,
        visibility 0s linear 0s;
}

/* =========================================================
   08 — VOCI DROPDOWN
   ========================================================= */

.dropdown-link {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 8px 28px;
    gap: 17px;
    color: #ffffff;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.dropdown-link:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.025);
    border-radius: 3px;
}

.dropdown-service-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    flex: 0 0 35px;
    object-fit: contain;
}

.dropdown-link span {
    display: block;
    line-height: 1.25;
    white-space: nowrap;
	letter-spacing: 0;
}


/* =========================================================
   09 — CTA
   ========================================================= */

.button-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 42px;
    border: 2px solid var(--gold);
    border-radius: 50px;
    background: transparent;
    border-color: var(--gold);
    color: var(--white-2);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.button-cta:hover {
    background: var(--gold);
    color: var(--black);
}

/* =========================================================
   INFORMAZIONI SULLO STUDIO TECNICO
   ========================================================= */

.studio-section {
  width: 100%;
  background: #fafafa;
  padding: 90px 0 0;
  box-sizing: border-box;
}

.studio-container {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}


/* =========================================================
   INTRO
   ========================================================= */

.studio-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.section-kicker {
  margin: 0 0 22px;
  color: #fcba30;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.studio-heading h2 {
  margin: 0;
  max-width: 620px;
  color: #242020;
  font-size: 36px;
  line-height: 1.05;
  font-weight: bold;
}

.studio-description {
  padding-top: 32px;
}

.studio-description p {
  margin: 0;
  max-width: 620px;
  color: #403939;
  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   CARDS
   ========================================================= */

.studio-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1px;
  row-gap: 0;
  background: rgba(36, 32, 32, 0.035);
  margin-top: 70px;
}

.studio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}


/* ---------------------------------------------------------
   IMMAGINE
   --------------------------------------------------------- */

.studio-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px 2px 0 0;
  box-shadow: none;
}

.studio-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------------------------------------------------------
   CONTENUTO
   --------------------------------------------------------- */

.studio-card-content {
  flex: 1;
  padding: 62px 36px 48px;
  background: #fafafa;
  border: 0;
  box-sizing: border-box;

  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

.studio-card:last-child .studio-card-content {
  border-right: 1px solid #e6e6e6;
}

.studio-card-content h3 {
  margin: 0 0 28px;
  color: #242020;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 600;

  transition: color 0.35s ease;
}

.studio-card-content p {
  margin: 0;
  color: #403939;
  font-size: 15px;
  line-height: 1.75;

  transition: color 0.35s ease;
}


/* =========================================================
   HOVER — EFFETTO DEL SITO ORIGINALE
   ========================================================= */

.studio-card:hover .studio-card-content {
  background-color: #242020;

  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 4px
    );
}

.studio-card:hover .studio-card-content h3,
.studio-card:hover .studio-card-content p {
  color: #fafafa;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

  .studio-container {
    width: min(100% - 50px, 760px);
  }

  .studio-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .studio-description {
    padding-top: 0;
  }

  .studio-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-card-image {
    height: 280px;
  }
}


@media (max-width: 600px) {

  .studio-section {
    padding-top: 60px;
  }

  .studio-container {
    width: calc(100% - 32px);
  }

  .studio-heading h2 {
    font-size: 38px;
  }

  .studio-description p {
    font-size: 15px;
  }

  .studio-cards {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .studio-card-image {
    height: 250px;
  }

  .studio-card-content {
    padding: 40px 28px;
  }

  .studio-card-content h3 {
    font-size: 21px;
  }
}

/* =========================================================
   10 — MENU MOBILE
   ========================================================= */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 1px;

    background: currentColor;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   11 — HEADER MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .header-container {
        min-height: 84px;
    }

    .main-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 20px 20px;

        background: #242020;

        z-index: 1001;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation > .nav-link {
        min-height: 48px;

        display: flex;
        align-items: center;

        line-height: 1;
    }

    .nav-link.active::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        min-height: 48px;

        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;

        width: 100%;

        padding: 8px 0;

        border: 0;
        box-shadow: none;

        background: transparent;
        background-image: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-link {
        min-height: 48px;

        padding-left: 16px;
        padding-right: 16px;
    }

    .button-cta {
        margin-top: 10px;
		margin-left: 8px;

        justify-content: center;
    }
}


/* =========================================================
   12 — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-name {
        font-size: 20px;
    }

    .brand-sub {
        font-size: 9px;
        letter-spacing: 8px;
    }

    .main-navigation {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dropdown-service-icon {
        width: 32px;
        height: 32px;

        min-width: 32px;
        flex-basis: 32px;
    }

    .dropdown-link {
        gap: 14px;
    }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: 100%;
    background: var(--black);
    color: var(--white-2);
}


/* =========================================================
   FOOTER — BLOCCO PRINCIPALE
   ========================================================= */

.footer-main {
    padding: 40px 20px 30px;
}

.footer-container {
    display: grid;

    grid-template-columns:
        minmax(220px, 1.2fr)
        repeat(4, minmax(130px, 1fr));

    column-gap: 40px;
    row-gap: 34px;

    align-items: start;
}


/* =========================================================
   FOOTER — IDENTITÀ STUDIO
   ========================================================= */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 36px;
    height: 36px;

    object-fit: contain;

    margin-bottom: 14px;
}

.footer-brand-name {
    margin: 0;

    color: var(--white-2);

    font-size: 18px;
    font-weight: 600;

    line-height: 1.1;
    letter-spacing: .2px;
}

.footer-brand-sub {
    margin-top: 5px;

    color: #a9a9a9;

    font-size: 10px;
    font-weight: 400;

    line-height: 1.2;
    letter-spacing: 3px;

    text-transform: uppercase;
}


/* =========================================================
   FOOTER — COLONNE
   ========================================================= */

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    margin: 0 0 12px;

    color: var(--white-2);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.3;
}

.footer-column p {
    margin: 0;

    color: #d9d9d9;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.65;
}

.footer-column a {
    color: var(--white-2);
    text-decoration: none;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.footer-column a:hover {
    color: var(--gold);
}


/* =========================================================
   FOOTER — PARTE INFERIORE
   ========================================================= */

.footer-bottom {
    margin: 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 10px 0 10px;
}

.footer-bottom .container {
    padding-left: 0;
    padding-right: 0;
}

.footer-bottom p {
    margin: 0;
    color: #888;
    font-size: 11px;
    line-height: 1.5;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-bottom a:hover {
    color: var(--gold);
}


/* =========================================================
   FOOTER — TABLET
   ========================================================= */

@media (max-width: 991px) {

    .footer-main {
        padding: 60px 20px 24px;
    }

    .footer-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 26px;
        row-gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   FOOTER — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .footer-main {
        padding: 52px 20px 22px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        row-gap: 24px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        margin: 0 20px;
    }

    .footer-column p {
        font-size: 13px;
    }
}

/* =========================================================
   PAGINA SERVIZI — SFONDO
   ========================================================= */

.services-page {
    background: var(--white);
    color: var(--black);
}

/* =========================================================
   SERVICES — HERO
   ========================================================= */

.services-hero {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;

    padding: 90px 0px 80px;

    color: var(--white-2);

    background:
        linear-gradient(
            90deg,
            rgba(36, 32, 32, 0.78) 0%,
            rgba(36, 32, 32, 0.48) 55%,
            rgba(36, 32, 32, 0.25) 100%
        ),
        url("../images/background/servizi.png")
        center / cover no-repeat;
}

.services-hero-container {
    position: relative;
    z-index: 1;
}

/* BREADCRUMB */

.services-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    font-weight: 400;
	font-weight: bold;
	letter-spacing: 1px;
}

.services-breadcrumb a {
    color: var(--white-2);
    text-decoration: none;

    transition: color 0.2s ease;
}

.services-breadcrumb a:hover {
    color: var(--gold);
}

.services-breadcrumb span:last-child {
    color: var(--gold);
}

/* TITOLO */

.services-hero h1 {
    max-width: 850px;

    margin: 0;

    color: var(--white-2);

    font-size: clamp(48px, 6vw, 82px);
    font-weight: 600;

    line-height: 0.98;
    letter-spacing: -0.02em;
}

/* TESTO */

.services-hero-lead {
    max-width: 620px;

    margin: 22px 0 0;

    color: rgba(255, 255, 255, 0.86);

    font-size: 17px;
    font-weight: 400;

    line-height: 1.55;
}

/* =========================================================
   SERVICES — SERVIZI PRINCIPALI
   ========================================================= */

.services-featured {
    position: relative;
    z-index: 2;

    margin-top: -50px;

    padding: 0 20px 90px;
}

.services-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: var(--white-2);

    border: 1px solid var(--gainsboro);

    box-shadow:
        0 18px 45px rgba(36, 32, 32, 0.12);
}


.service-featured-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 290px;

    padding: 32px 36px 28px;

    color: var(--black);
    background: var(--white-2);

    border-right: 1px solid var(--gainsboro);

    text-decoration: none;
}

.service-featured-card:last-child {
    border-right: 0;
}


.service-featured-card:hover {
    background: #fafafa;
}


.service-featured-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 22px;

    object-fit: contain;
}


.service-featured-card h2 {
    margin: 0 0 14px;

    color: var(--black);

    font-size: 24px;
    font-weight: 600;

    line-height: 1.15;
}


.service-featured-card p {
    max-width: 360px;

    margin: 0;

    color: #5d5d5d;

    font-size: 15px;
    line-height: 1.7;
}


.service-featured-link {
    margin-top: auto;
    padding-top: 24px;

    color: var(--black);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.service-featured-card:hover .service-featured-link {
    color: var(--gold);
}


/* =========================================================
   SERVICES — TABLET
   ========================================================= */

@media (max-width: 991px) {

    .services-featured {
        margin-top: -50px;
    }

    .services-featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-featured-card {
        min-height: 310px;
    }

    .service-featured-card:nth-child(2) {
        border-right: 0;
    }

    .service-featured-card:nth-child(1),
    .service-featured-card:nth-child(2) {
        border-bottom: 1px solid var(--gainsboro);
    }

}


/* =========================================================
   SERVICES — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-featured {
        margin-top: -35px;
        padding-bottom: 60px;
    }

    .services-featured-grid {
        grid-template-columns: 1fr;
    }

    .service-featured-card {
        min-height: auto;

        padding: 30px;
        border-right: 0;
        border-bottom: 1px solid var(--gainsboro);
    }

    .service-featured-card:last-child {
        border-bottom: 0;
    }

}

/* =========================================================
   SERVICES — CONTENT
   ========================================================= */

.services-content {
    padding: 20px 20px;
    background: var(--white);
}

.services-content-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 56px 28px;
}


/* =========================================================
   IMMAGINE CARD — TRIGGER LIGHTBOX
   ========================================================= */

.service-content-image {
    position: relative !important;

    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 0.72 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: inherit !important;
    font: inherit !important;
    text-align: left !important;

    overflow: hidden !important;

    cursor: pointer;

    appearance: none !important;
    -webkit-appearance: none !important;
}

.service-content-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    object-fit: cover !important;

    transition: transform 0.45s ease !important;
}

.service-content-card:hover .service-content-image img {
    transform: scale(1.03);
}

.service-content-image:focus {
    outline: none;
}

.service-content-image:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* =========================================================
   INDICATORE IMMAGINE
   ========================================================= */

.service-content-search {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 46px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white-2);
    color: var(--black);
}

.service-content-search {
    transition:
        background-color .25s ease,
        color .25s ease;
}

.service-content-card:hover .service-content-search {
    background: var(--gold);
    color: var(--white-2);
}

.service-content-search svg {
    width: 19px;
    height: 19px;

    display: block;
}

/* =========================================================
   CONTENUTO
   ========================================================= */

.service-content-body {
    padding: 22px 0 0;
}

.service-content-body h2 {
    margin: 0 0 18px;

    color: var(--black);

    font-size: 24px;
    font-weight: 600;

    line-height: 1.2;
	text-align: center;
}

.service-content-body p {
    max-width: 560px;

    margin: 0;

    color: #555;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.7;
}

.service-content-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 22px;

    min-height: 44px;
    padding: 0 24px;

    border: 1px solid var(--gold);
    border-radius: 50px;

    background: transparent;
    color: var(--black);

    font-size: 14px;
    font-weight: 600;

    line-height: 1;
    text-decoration: none;

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.service-content-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white-2);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .services-content {
        padding: 75px 20px;
    }

    .services-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-content {
        padding: 60px 20px;
    }

    .services-content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-content-image {
        aspect-ratio: 16 / 10;
    }

    .service-content-body h2 {
        font-size: 22px;
    }
}

/* =========================================================
   SERVICES — CTA FINALE
   ========================================================= */

.services-cta {
    padding: 20px 20px;
	margin-top: 30px;

    background: var(--cta-bg);
    color: var(--black);

    border-top: 1px solid var(--gainsboro);
    border-bottom: 1px solid var(--gainsboro);
}

.services-cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    min-height: 0px;
}

.services-cta-copy {
    max-width: 700px;
}

.services-cta-kicker {
    display: block;

    margin-bottom: 6px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 600;

    line-height: 1.3;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.services-cta h2 {
    margin: 0 0 18px;

    color: var(--black);

    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 600;

    line-height: 1.05;
}

.services-cta p {
    max-width: 620px;

    margin: 0;

    color: var(--black);

    font-size: 16px;
    line-height: 1.7;
}

.services-cta-action {
    flex-shrink: 0;
}

.services-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 30px;

    border: 1px solid var(--gold);
    border-radius: 50px;

    color: var(--black);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color .25s ease,
        color .25s ease;
}

.services-cta-button:hover {
    background: var(--gold);
    color: var(--white-2);
}


/* TABLET */

@media (max-width: 991px) {

    .services-cta-container {
        align-items: flex-start;
        flex-direction: column;

        gap: 35px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .services-cta {
        padding: 60px 20px;
    }

    .services-cta-container {
        min-height: auto;
    }

}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.92);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   CONTENITORE IMMAGINE
   ========================================================= */

.lightbox-stage {
    position: relative;

    width: min(1100px, 86vw);
    height: min(84vh, 850px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   Didascalia
   ========================================================= */

.lightbox-caption {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 12px 16px;

    background: rgba(0, 0, 0, 0.45);

    color: #fff;

    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   CHIUSURA
   ========================================================= */

.lightbox-close {
    position: absolute;

    top: 22px;
    right: 28px;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 34px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    z-index: 2;
}


/* =========================================================
   NAVIGAZIONE
   ========================================================= */

.lightbox-prev,
.lightbox-next {
    position: absolute;

    top: 50%;

    width: 54px;
    height: 54px;

    margin-top: -27px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 54px;
    font-weight: 200;

    line-height: 1;

    cursor: pointer;

    opacity: 0.8;

    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    opacity: 1;
    color: var(--gold);
}

.lightbox-prev {
    left: 22px;
}

.lightbox-next {
    right: 22px;
}


/* =========================================================
   MINIATURE
   ========================================================= */

.lightbox-thumbs {
    position: absolute;

    left: 50%;
    bottom: 14px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 8px;

    max-width: 80vw;

    overflow-x: auto;

    padding: 4px;

    z-index: 3;
}

.lightbox-thumb {
    width: 78px;
    height: 58px;

    flex: 0 0 auto;

    padding: 0;

    border: 2px solid transparent;

    background: transparent;

    cursor: pointer;

    overflow: hidden;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.lightbox-thumb.is-active {
    border-color: var(--gold);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .lightbox {
        padding: 15px;
    }

    .lightbox-stage {
        width: 92vw;
        height: 72vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;

        margin-top: -20px;

        font-size: 40px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        top: 10px;
        right: 14px;
    }

    .lightbox-thumbs {
        bottom: 10px;
        max-width: 92vw;
    }

    .lightbox-thumb {
        width: 62px;
        height: 48px;
    }
}

/* =========================================================
   FLOATING CHAT
   ========================================================= */

.chat-floating {
    position: fixed;
    right: 20px;
    bottom: -20px;
    z-index: 100000;
    width: 180px;
}

.chat-floating img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   REVEAL — ANIMAZIONI ORIGINALI
   ========================================================= */

.reveal-shrink {
    opacity: 0;
    transform: scale(1.25);

    transition:
        opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);

    transition:
        opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);

    transition:
        opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-shrink.is-visible,
.reveal-right.is-visible,
.reveal-left.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0ms;
}

.reveal-delay-2 {
    transition-delay: 150ms;
}

.reveal-delay-3 {
    transition-delay: 300ms;
}