/*
Theme Name: Futura Child
Theme URI: https://to5a.dev
Description: Child theme di Twenty Twenty-Five per Futura
Author: to5a
Template: twentytwentyfive
Version: 1.0.0
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colori Brand */
    --color-blue1: #1E5ED4;
    --color-blue2: #17469D;
    --color-blue3: #0B3370;
    --color-blue4: #040F20;
    --color-black: #2b2b2b;
    --color-offwhite: #EAEAEA;
    --color-white: #FFFFFF;
    --color-border: #B3B3B3;


    --color-blue1-30: rgba(30, 94, 212, 0.3);
    --color-blue3-80: rgba(11, 51, 112, 0.8);
    --color-blue3-50: rgba(11, 51, 112, 0.5);
    --color-blue3-40: rgba(11, 51, 112, 0.4);
    --color-blue3-30: rgba(11, 51, 112, 0.3);
    --color-blue4-50: rgba(4, 15, 32, 0.5);
    --color-blue4-30: rgba(4, 15, 32, 0.3);
    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --color-white-30: rgba(255, 255, 255, 0.3);
    --color-black-3: rgba(0, 0, 0, 0.02);

    --shadow-01: 0px 4px 4px rgba(0, 0, 0, 0.25);
    --shadow-02: 0px 0px 6px 0px rgba(0, 0, 0, 0.25);
    
    /* Font Families */
    --font-heading: 'Montserrat', Arial, sans-serif;
    --font-body: 'Poppins', Arial, sans-serif;

      /* Font Weights */
    --font-weight-thin: 100;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    /* Spaces */
    --content-maxwidth: 1536px;
    --content-padding: 20px;
    --servizi-cards-maxwidth: 1100px;
}


.color-black,
.color-black h1,
.color-black h2,
.color-black h3,
.color-black p,
.color-black a:link,
.color-black a:visited { 
    color: var(--color-black) !important;
}

.color-white,
.color-white h1,
.color-white h2,
.color-white h3,
.color-white p,
.color-white a:link,
.color-white a:visited { 
    color: var(--color-white) !important;
}


.color-blue1,
.color-blue1 h1,
.color-blue1 h2,
.color-blue1 h3,
.color-blue1 p,
.color-blue1 a:link,
.color-blue1 a:visited { 
    color: var(--color-blue1) !important;
}


.color-blue2,
.color-blue2 h1,
.color-blue2 h2,
.color-blue2 h3,
.color-blue2 p,
.color-blue2 a:link,
.color-blue2 a:visited { 
    color: var(--color-blue2) !important;
}

.color-blue3,
.color-blue3 h1,
.color-blue3 h2,
.color-blue3 h3,
.color-blue3 p,
.color-blue3 a:link,
.color-blue3 a:visited { 
    color: var(--color-blue3) !important;
}

.color-blue4,
.color-blue4 h1,
.color-blue4 h2,
.color-blue4 h3,
.color-blue4 p,
.color-blue4 a:link,
.color-blue4 a:visited { 
    color: var(--color-blue4) !important;
}



.bg-blue1 { background-color: var(--color-blue1);}
.bg-blue2 { background-color: var(--color-blue2);}
.bg-blue3 { background-color: var(--color-blue3);}
.bg-blue4 { background-color: var(--color-blue4);}
.bg-black { background-color: var(--color-black);}
.bg-white { background-color: var(--color-white);}



/* ========================================
   TIPOGRAFIA BASE
   ======================================== */


html, body {
    overflow-anchor: none !important;
}

html {
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.6;
}


strong {
    font-weight: 600 !important;
}

.underline {
    text-decoration: underline;
}



/* Rimuovi outline focus da tutto il sito */
*:focus,
*:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
input:focus,
input:focus-visible {
    outline: none !important;
    border-color: inherit !important;
    box-shadow: none !important;
}



/* ========================================
   LINKS
   ======================================== */
a:link,
a:visited {
    text-decoration: none !important;
}

a:hover,
a:focus {
    text-decoration: none !important
}



.hidden {
    display: none;
}

/* ========================================
   LAYOUT BASE
   ======================================== */
body {
    background-color: var(--color-background);
}


h1,
.wp-block-heading.h1 {
    font-size: 56px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-heading);
    color: var(--color-white);
}
    
h2,
.wp-block-heading.h2 {
    font-size: 42px;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-heading);
    margin-bottom: 24px !important;
    color: var(--color-blue3);
}

h3,
.wp-block-heading.h3 {
    font-size: 30px;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-heading);
    margin-bottom: 16px !important;
    color: var(--color-blue3);
}

p,
.wp-block-group p {
    font-size: 20px;
    font-weight: var(--font-weight-regular);
    font-family: var(--font-body);
    margin-bottom: 24px !important;
    margin-bottom: 10px !important;
}


/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    h1,
    .wp-block-heading.h1 {
        font-size: 42px;
    }
    
    h2,
    .wp-block-heading.h2 {
        font-size: 24px;
    }

    h3,
    .wp-block-heading.h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    h1,
    .wp-block-heading.h1 {
        font-size: 32px;
    }
    
    h2,
    .wp-block-heading.h2 {
        font-size: 20px;
    }

    h2,
    .wp-block-heading.h3 {
        font-size: 18px;
    }
}


/* ========================================
   BUTTONS
   ======================================== */

.btn .wp-block-button__link {
    border-radius: 0;
    display: block;
    padding: 10px 25px;
    border: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    box-shadow: var(--shadow-01);
    z-index: 1;

}

.btn .wp-block-button__link::first-letter {
    font-size: 22px;
}

.btn .wp-block-button__link::before {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
    z-index: -1;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.20;
}

.btn .wp-block-button__link:hover::before {
    width: calc(200% + 2px);
    height: calc(200% + 2px);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}


/* BUTTON BLUE */

.btn.btn-blue .wp-block-button__link {
    color: var(--color-white);
    background: linear-gradient(90deg, var(--color-blue2) 0%, var(--color-blue1) 100%);
}

.btn.btn-blue .wp-block-button__link:hover {
    color: var(--color-white);
}


.btn .wp-block-button__link::before {
    background: var(--color-white);
    opacity: 0.15;
}


/* BUTTON WHITE */

.btn.btn-white .wp-block-button__link {
    color: var(--color-black);
    background: linear-gradient(90deg, var(--color-offwhite) 0%, var(--color-white) 100%);
}

.btn.btn-white .wp-block-button__link:hover {
    color: var(--color-black);
}

.btn.btn-white .wp-block-button__link::before {
    background: var(--color-black);
    opacity: 0.15;
}






/* ========================================
   HEADER
   ======================================== */

header.futura-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 100px;
    background-color: var(--color-blue4-50);
    transition: background-color 0.3s ease, opacity 0.3s ease;
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
}

/* Header scrollato (dopo la hero) */
header.futura-header.scrolled {
    background-color: var(--color-blue3-50);
    backdrop-filter: blur(10px);
}



header.futura-header .header-flex {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    height: 100px;
    align-items: center;
}

.futura-topmenu {
    grid-column: 2;
}

.header-button {
    justify-self: end;
}

.futura-logo-txt {
    justify-self: start;
}



/* con admin bar */
.admin-bar header.futura-header {
    top: 32px;
}

header.futura-header > .wp-block-group > .wp-block-group > .wp-block-group {
    height: 100px;
    align-items: center;
}


header.futura-header .futura-logo-txt p {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 30px;
    font-weight: var(--font-weight-bold);

    position: relative;
    transition: all 0.3s ease;
    padding-left: 0;

    margin: 0;
    display: inline-block;
    vertical-align: middle;

    margin:0 !important;
}



header.futura-header.scrolled .futura-logo-txt {
    color: var(--color-white);
}

.futura-logo-txt::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 35px;
    margin-right: 0;
    background-image: url('img/futura-logo-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: all 0.3s ease;
    vertical-align: middle;
}

header.futura-header.scrolled .futura-logo-txt::before {
    width: 35px;
    opacity: 1;
    margin-right: 6px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
}



header.futura-header .header-content {
    border-bottom: 1px solid var(--color-white);
}

header.futura-header.scrolled .header-content {
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-02);
}


header.futura-header .btn .wp-block-button__link {
    padding: 10px 25px;
    font-size: 14px;
}

header.futura-header .btn .wp-block-button__link::first-letter {
    font-size: 18px;
}


/* ========================================
   HEADER - Responsive
   ======================================== */

@media screen and (max-width: 782px) {

    /* con admin bar */
    .admin-bar header.futura-header {
        top: 46px;
    }
}

/* ========================================
   HEADER TOPMENU
   ======================================== */

.futura-topmenu .wp-block-navigation {
    gap: 0;
    height: 100%;
}

.futura-topmenu .wp-block-navigation-item {
    position: relative;
    display: flex;
    align-items: center;
}


.futura-topmenu .wp-block-navigation-item a {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
    text-transform: uppercase;
    padding: 0 30px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em ;
     color: var(--color-white);
}

header.futura-header.scrolled .futura-topmenu .wp-block-navigation-item a {
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
}


.futura-topmenu .wp-block-navigation-item a .wp-block-navigation-item__label::first-letter {
    font-size: 18px;
}

.futura-topmenu .wp-block-navigation-item a::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    z-index: -1;
}


.futura-topmenu .wp-block-navigation-item a:hover::before {
    background-color: var(--color-blue1-30);
}

header.futura-header.scrolled .futura-topmenu .wp-block-navigation-item a:hover::before {
    background-color: var(--color-blue4-30);
}


.futura-topmenu .wp-block-navigation-item a:hover {
    text-decoration: none;
    
}


.futura-topmenu .wp-block-navigation-item a:active {
  /* stili active */
}


.futura-topmenu .wp-block-navigation-item a:focus {
  /* stili focus */
}


.futura-topmenu .wp-block-navigation-item a:visited {
  /* stili visited */
}







/* ========================================
   MAIN
   ======================================== */

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0 !important;
}

main.wp-block-group > .wp-block-group:first-child {
    position: relative;
    margin-top: 0 !important;
    padding: 0 !important;
}



main.wp-block-group {
    position: relative;
    margin: 0 !important;
    margin-top: 100px !important;
}


main p {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin: 0;
    margin-top: 19px !important;
}



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

.wp-block-group.futura-hero {
    position: relative;
    z-index: 1;
    background-color: var(--color-blue4);
    width: 100vw;
    height: 100vh;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-group.futura-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-blue4) 0%, 
        var(--color-blue3-80) 100%);
    z-index: 0;
    pointer-events: none;
}

main.wp-block-group:has(.futura-hero) {
    margin-top: 0 !important;
}

.futura-hero .futura-hero-media {
    position: absolute;
    margin-top: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none !important;
    z-index: 0;
}

.futura-hero .wp-block-group.futura-hero-media-img {
    margin: 0 !important;
}

.futura-hero .futura-hero-media img,
.futura-hero .futura-hero-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw;
    min-height: 100vh;
    max-width: none !important;
    transform: none;
    object-fit: cover;
}


.wp-block-group.futura-hero .futura-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-maxwidth);
    padding-left: var(--content-padding) !important;
    padding-right: var(--content-padding) !important;
}





.wp-block-group.futura-hero .futura-hero-content .futura-hero-text {
    color: var(--color-white);
    text-shadow: var(--shadow-01);
}


.wp-block-group.futura-hero .futura-hero-content .futura-hero-text h1 {
    font-weight: var(--font-weight-semibold);
    font-size: 56px;
    font-family: var(--font-heading);
}

.wp-block-group.futura-hero .futura-hero-content .futura-hero-text p {
    font-weight: var(--font-weight-regular);
    font-size: 25px;
    font-family: var(--font-heading);
    padding-top: 20px;
}

.wp-block-group.futura-hero .futura-hero-content .futura-hero-text .futura-hero-button {
    margin-top: 50px !important;
    justify-content: flex-end;
}




/* ELEMENT - Elemento decorativo fullscreen */
.futura-hero .futura-hero-element {
    background-image: url('img/futura-hero-element.png');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    position: absolute;
    top: 100px;
    right: 20px;
    width: 100%;
    height: calc(100vh - 100px - 65px);
    background-color: transparent !important;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}


/* ========================================
   HERO - Responsive
   ======================================== */

@media screen and (max-width: 1000px) {

    .futura-hero .futura-hero-element {
        background-size: cover;
        background-position: center center;
        right: 0;
    }
}




/* ========================================
   HERO FOOTER BAND
   ======================================== */

.futura-hero .futura-hero-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw !important;
    height: 65px !important;
    min-width: 100vw;
    min-height: 65px;
    max-width: none !important;
    background-color: var(--color-blue4-50);
    border-top: 1px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.futura-hero .futura-hero-footer .link-hero-footer a {
    color: var(--color-white);
    padding: 12px 40px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: var(--font-weight-light) !important;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}



.futura-hero .futura-hero-footer .futura-hero-content p {
   text-align: center;
   margin: 0 !important;
}

.futura-hero .futura-hero-footer .link-hero-footer::first-letter {
    font-size: 16px;
}





/* ========================================
   HERO - Animazioni
   ======================================== */

/* Elemento decorativo: entra da sinistra */
.futura-hero .futura-hero-element {
    opacity: 0;
    transform: translateX(-400px);
    transition: opacity 1s ease 0.2s, transform 1.9s ease 0.2s;
}

.futura-hero.hero-animated .futura-hero-element {
    opacity: 1;
    transform: translateX(0);
}

/* Contenuto hero: entra da destra, in sequenza */
.futura-hero .futura-hero-logo,
.futura-hero .futura-hero-text h1,
.futura-hero .futura-hero-text p,
.futura-hero .futura-hero-text .futura-hero-button {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.futura-hero.hero-animated .futura-hero-logo {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.futura-hero.hero-animated .futura-hero-text h1 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

.futura-hero.hero-animated .futura-hero-text p {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.7s;
}

.futura-hero.hero-animated .futura-hero-text .futura-hero-button {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.9s;
}





/* ========================================
   HOMEPAGE CONTENT
   ======================================== */

.wp-block-group.futura-homepage-container {
    display: flex;
    flex-direction: column;
    overflow: visible !important;

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

    position: relative;
    z-index: 0;

    width: 100vw;
    height: auto;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;

    background-size: cover;
    background-repeat: no-repeat;
    background-color: transparent !important;
    background-attachment: fixed;
}

.wp-block-group.futura-homepage-container.bg-1 {
    background-image: 
        linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
        url('img/futura-body-element-1.png');
    background-position: left top;
}

.wp-block-group.futura-homepage-container.bg-2 {
    background-image: 
        linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
        url('img/futura-body-element-2.png');
    background-position: right top;
}



.wp-block-group.futura-homepage-container .section-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--content-maxwidth);
    padding-left: var(--content-padding) !important;
    padding-right: var(--content-padding) !important;
}

.wp-block-group.futura-homepage-container .section-title {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    color: var(--color-blue3);
    padding-top: 60px;
}

.wp-block-group.futura-homepage-container .section-title::first-letter {
    font-size: 22px;
}



/* ========================================
   HOMEPAGE - INTRO
   ======================================== */

.section-intro {
    margin: auto;
    margin-top: 130px !important;
    margin-bottom: 80px !important;
    max-width: 750px;
}

.section-intro h2  {
    font-size: 56px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-blue3);
    font-family: var(--font-body);
}

.section-intro h2 em {
    font-style: normal;
    color: var(--color-blue1);
}

.section-intro p  {
    font-size: 22px;
    font-weight: var(--font-weight-regular);
}

/* ========================================
   HOMEPAGE - SERVIZI
   ======================================== */

.section-servizi {
    height: calc(100vh - 100px) !important;
    min-height: calc(100vh - 100px) !important;
    max-height: calc(100vh - 100px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    z-index: 0;
    width: 100vw;
    max-width: 100vw !important;
}

.section-servizi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
    background-color: var(--color-black-3);
    border-top: 0.3px solid var(--color-border);
}




.section-servizi .section-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    height: 100%;
}


/* ========================================
   HOMEPAGE - SERVIZI - CARDS
   ======================================== */

.servizi-cards-container {
    position: relative !important;
    margin: auto !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: var(--servizi-cards-maxwidth);
    margin-top: 20px;
    margin-block-start: 20px !important;
    flex: 1;
    opacity: 0;
}


.servizi-cards-container .servizi-card {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: 400px;
    padding: 30px 30px;
    background: linear-gradient(90deg, 
        var(--color-white) 0%, 
        var(--color-white) 100%);
    color: var(--color-black);
    border: 0;
    overflow: hidden;
    box-shadow: var(--shadow-02);

    
    transition: background-color 1s ease,
                transform 1s ease,
                box-shadow 0.8s ease;
    
    transform: scale(0.85);
    opacity: 1;
}

.servizi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-blue3) 0%, var(--color-blue1) 100%);
    transition: height 0.6s ease;
    z-index: 0;
}

.servizi-card.active::before {
    height: 100%;
}

.servizi-card.no-transition {
    transition: none !important;
}

.servizi-card.passed {
    background-color: var(--color-white) !important;
    /* forza il background bianco senza interferire con la transition */
}

.servizi-card h4.servizi-card-number,
.servizi-card .servizi-card-value h4,
.servizi-card .servizi-card-value p {
    transition: color 1s ease;
}

.servizi-card.active {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.6);
}


.servizi-card-flex {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    min-height: 400px;
    flex-direction: row;
    gap: 40px;
    align-items: stretch;
}

.servizi-card-flex .servizi-card-colonna-sx {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 !important;
}

.servizi-card-flex .servizi-card-colonna-dx {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 !important;
}


.servizi-card h4.servizi-card-number {
    font-size: 130px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-blue2);
    font-family: var(--font-heading);
    margin: 0 !important;
    max-width: 100%;
    line-height: 1;
}

.servizi-card.active h4.servizi-card-number {
    background: linear-gradient(90deg, var(--color-blue2) 0%, var(--color-white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.servizi-card.active .servizi-card-value h4 {
    color: var(--color-white);
    transition: color 0.3s ease 0.3s;
}

.servizi-card.active .servizi-card-value p {
    color: var(--color-white);
    transition: color 0.3s ease 0.3s;
}


.servizi-card.active .servizi-card-title,
.servizi-card.active .servizi-card-description {
    color: var(--color-white);
    transition: color 0.1s ease 0.1s;
}


.servizi-card.active .servizi-card-sponsor {
    color: var(--color-white);
    transition: color 0.3s ease 0.3s;
}

.servizi-card .servizi-card-sponsor {
    margin: 0;
}


.servizi-card .servizi-card-title {
    font-size: 42px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-heading);
    margin: 0 !important;
    line-height: 1;
}

.servizi-card .servizi-card-description {
    font-size: 20px;
    font-weight: var(--font-weight-regular);
    font-family: var(--font-body);
}


.servizi-card-flex .servizi-cards-values {
    display: flex;
    flex-direction:row;
    align-items: flex-start;
    gap: 140px;
    padding: 0 !important;
    margin: 0 !important;
}

.servizi-card .servizi-card-value h4 {
    font-size: 80px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-blue2);
    font-family: var(--font-heading);
    margin: 0 !important;
    max-width: 100%;
    line-height: 1;
}


.servizi-card .servizi-card-value p {
    font-size: 20px;
    color: var(--color-black);
    font-weight: var(--font-weight-regular);
    font-family: var(--font-body);
    margin: 0 !important;
    padding-left: 50px;
    padding-top: 10px;
    max-width: 100%;
    line-height: 1;
}




/* ========================================
   HOMEPAGE - SERVIZI - FOOTER
   ======================================== */

.section-servizi-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 40;
    
    width: 100%;
    height: 100px;
    min-height: 100px;
}

.section-servizi-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: linear-gradient(0deg, var(--color-white) 0%, transparent 100%);
}



/* ========================================
   HOMEPAGE - COME LAVORIAMO
   ======================================== */
.section-lavoriamo {
    z-index: 0;
    width: 100vw;
    height: auto;
    max-width: 100vw !important;
    border-top: 0.3px solid var(--color-border);
    position: relative;
}

.section-lavoriamo-header {
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100vw;
    height: 300px;
    min-height: 200px;
}

.section-lavoriamo-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, var(--color-white) 0%, transparent 100%);
}

.section-lavoriamo-footer {
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100vw; 
    height: 300px;
    min-height: 200px;
}

.section-lavoriamo-footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: linear-gradient(0deg, var(--color-white) 0%, transparent 100%);
}


.futura-timeline-wrapper {
    position: relative;
    padding-top: 250px;
    padding-bottom: 100px;
}

/* Linea verticale centrale */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--color-border);
    transform: translateX(-50%);
    z-index: 1;
}

/* Ogni step */
.timeline-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

.timeline-step {
    margin-bottom: -120px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Icona centrale esagono */
.timeline-icon-back {
    width: 120px;
    height: 120px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%, -50%);  /* Centra perfettamente */
    background: var(--color-border);
    clip-path: polygon(
        50% 0%, 
        95% 25%, 
        95% 75%, 
        50% 100%, 
        5% 75%, 
        5% 25%
    );
    z-index: 3;
}

.timeline-icon-back::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 118px;
    height: 118px;
    background: white;
    clip-path: polygon(
        50% 0%, 
        95% 25%, 
        95% 75%, 
        50% 100%, 
        5% 75%, 
        5% 25%
    );
    z-index: 4;
}

/* Rettangolo bianco sopra - copre lato sinistro */
.timeline-icon-back::after {
    content: '';
    position: absolute;
    top: 0px;
    width: 80px;
    height: 120px;
    background: white;
    z-index: 5;
}

/* Linee bordo icona - INVERTITE */
.timeline-step:nth-child(odd) .timeline-icon-back::after  {
    right: -20px;
    left: auto;
}

.timeline-step:nth-child(even) .timeline-icon-back::after  {
    left: -20px;
    right: auto;
}

.timeline-icon {
    width: 100px;
    height: 100px;
    top: 10px;
    left: 10px;
    clip-path: polygon(
        50% 0%, 
        95% 25%, 
        95% 75%, 
        50% 100%, 
        5% 75%, 
        5% 25%
    );
    z-index: 6;
    position: absolute;
    background-position: center center, center center;
    background-size: 50px auto, cover;
    background-repeat: no-repeat, no-repeat;
}

.timeline-icon.icon-step-1 {
    background-image: url("img/icon-step-1.svg"), 
                      linear-gradient(0deg, var(--color-blue3) 0%, var(--color-blue1) 100%);
}

.timeline-icon.icon-step-2 {
    background-image: url("img/icon-step-2.svg"), 
                      linear-gradient(0deg, var(--color-blue3) 0%, var(--color-blue1) 100%);
}

.timeline-icon.icon-step-3 {
    background-image: url("img/icon-step-3.svg"), 
                      linear-gradient(0deg, var(--color-blue3) 0%, var(--color-blue1) 100%);
}

.timeline-icon.icon-step-4 {
    background-image: url("img/icon-step-4.svg"), 
                      linear-gradient(0deg, var(--color-blue3) 0%, var(--color-blue1) 100%);
}

.timeline-icon.icon-step-5 {
    background-image: url("img/icon-step-5.svg"), 
                      linear-gradient(0deg, var(--color-blue3) 0%, var(--color-blue1) 100%);
}

/* Content positioning - INVERTITO: primo elemento a destra */
.timeline-step:nth-child(odd) .timeline-content {
    grid-column: 3;
    grid-row: 1;
}

.timeline-step:nth-child(even) .timeline-content {
    grid-column: 1;
    grid-row: 1;
}

/* Card styling */
.timeline-content {
    position: relative;
    width: 360px;
    min-height: 330px;
    background-color: var(--color-white) !important;
    box-shadow: var(--shadow-02);
    z-index: 3;
    border-top: 5px solid var(--color-blue2);
    opacity: 0;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 100px;
    width: 160px;
    height: 2px;
    background-color: var(--color-blue2);
    z-index: 0;
    display: none;
}

/* Linee connettore - INVERTITE */
.timeline-step:nth-child(odd) .timeline-content::before {
    right: 100%;
    transform: translateY(-50%);
}

.timeline-step:nth-child(even) .timeline-content::before {
    left: 100%;
    transform: translateY(-50%);
}

.timeline-content img {
    width: 100% !important;

}

.timeline-content .timeline-content-text {
    padding: 20px;
    padding-bottom: 30px;
}


.timeline-content .timeline-content-text h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-heading);
    color: var(--color-blue3);
    text-transform: uppercase;
}

.timeline-content .timeline-content-text h4::first-letter {
    font-size: 130% !important;
}

.timeline-content .timeline-content-text h3 {
    font-size: 30px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-heading);
    color: var(--color-black);
    padding-top: 20px;
}

.timeline-content .timeline-content-text h4::first-letter {
    font-size: 37px;
}

/* ========================================
   HOMEPAGE - I NOSTRI CLIENTI
   ======================================== */
.section-clienti {
    z-index: 0;
    width: 100vw;
    height: auto;
    max-width: 100vw !important;
    border-top: 0.3px solid var(--color-border);
}

.section-clienti .section-content {
    position: relative;
    padding: 0 60px; /* spazio per le frecce */
}

.section-clienti-loghi {
    position: relative;
    width: calc(100% - 200px) !important;
    max-width: calc(100% - 200px) !important;
    padding-top: 80px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 80px;
    overflow: hidden;
}

.section-clienti-loghi figure {
    margin: 0;
    flex: 0 0 auto; /* non si restringe mai */
}


.section-clienti-loghi img {
    width: auto;
    height: auto;
    max-height: 80px;
    display: block;
}

/* Frecce carousel */
.clienti-prev,
.clienti-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 36px;
    color: #999;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.clienti-prev:hover,
.clienti-next:hover {
    color: var(--color-blue2);
}

.clienti-prev { top:200px; left: 50px; }  
.clienti-next { top:200px; right: 50px; } 

/* ========================================
   HOMEPAGE - CTA
   ======================================== */

.section-cta {
    position: relative;
    width: 100vw;
    min-height: 550px;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 80px !important;
    color: var(--color-white);
    overflow: hidden;
    
    /* Gradiente di sfondo */
    background: linear-gradient(90deg, 
        var(--color-blue3) 0%, 
        var(--color-blue1) 100%);
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/futura-logo-outline.png');
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
    opacity: 0.5;

}




.section-cta-content {
    margin: auto;
    margin-top: 80px !important;
    margin-bottom: 80px !important;
    max-width: 750px;
    color: var(--color-white);
}

.section-cta-content h2  {
    font-size: 56px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    font-family: var(--font-body);
}



.section-cta-content p  {
    font-size: 22px;
    padding-top: 40px;
    font-weight: var(--font-weight-regular);
}

.section-cta-content .wp-block-buttons {
    padding-top: 60px;
}



/* ========================================
   CTA - Animazioni
   ======================================== */

/* Logo sfondo: parte da destra, invisibile */
.section-cta::before {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s ease 0.2s, transform 1.2s ease 0.2s;
}

.section-cta.cta-animated::before {
    opacity: 0.5;
    transform: translateX(0);
}

/* Testi: partono dal basso, invisibili */
.section-cta-content h2,
.section-cta-content p,
.section-cta-content .wp-block-buttons {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-cta.cta-animated .section-cta-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.section-cta.cta-animated .section-cta-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.section-cta.cta-animated .section-cta-content .wp-block-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}



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

footer.futura-footer  {
    margin-block-start: 0 !important;
    width: 100vw;
    height: auto;
    max-width: 100vw !important;
    border-top: 0.3px solid var(--color-border);
    position: relative;
}

footer.futura-footer h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 20px;
}

footer.futura-footer h4::first-letter {
    font-size: 20px;
}

footer.futura-footer p {
    line-height: 30px;
    font-size: 16px;
}


/* riga principale footer */
.futura-footer-flex-elements{
    display:flex;
    justify-content:space-between;
    align-items: center !important; 
}

/* logo a sinistra */
.futura-footer-flex-logo{
    flex: 1 1 auto !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.futura-footer-flex-logo .wp-block-column {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.futura-footer-flex-logo figure {
    margin: 0 !important;
}


/* contenitore colonne */
.futura-footer-flex-colonne {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    gap: 60px !important;
    margin-left: auto;
}

.futura-footer-flex-colonne > .wp-block-group {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
}

.futura-footer-flex-colonne > .wp-block-group.futura-bottommenu {
    flex: 0 0 140px !important;
    max-width: 140px !important;
    width: 140px !important;
}

.futura-footer-flex-colonne > .wp-block-group.futura-footer-flex-informazioni {
    flex: 0 0 350px !important;
    max-width: 350px !important;
    width: 350px !important;
}

.futura-footer-flex-colonne > .wp-block-group.futura-footer-flex-contatti {
    flex: 0 0 220px !important;
    max-width: 220px !important;
    width: 220px !important;
}

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



.futura-bottommenu .wp-block-navigation {
    gap: 0;
    height: 100%;
}

.futura-bottommenu .wp-block-navigation-item {
    position: relative;
    display: flex;
    align-items: left;
}


.futura-bottommenu .wp-block-navigation-item a {
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    font-size: 16px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: left;
    letter-spacing: 0.05em ;
    line-height: 30px;
}





.futura-bottommenu .wp-block-navigation-item a:hover {
    text-decoration: none;
    
}


.futura-topmenu .wp-block-navigation-item a:active {
  /* stili active */
}


.futura-topmenu .wp-block-navigation-item a:focus {
  /* stili focus */
}


.futura-topmenu .wp-block-navigation-item a:visited {
  /* stili visited */
}

.futura-footer-contatto {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 30px !important;
}

.futura-footer-contatto svg {
    flex-shrink: 0;
    opacity: 0.7;
}



/* ================================================================
   PAGINE INTERNE
   ================================================================ */




/* ========================================
   HERO INTERNA (pagine non-home)
   ======================================== */
.futura-hero-inner {
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 75vh;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay gradiente (stesso stile home) */
.futura-hero-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-blue3-80) 0%, 
        var(--color-blue3-30) 100%);
    z-index: 1;
    pointer-events: none;
}

main.wp-block-group:has(.futura-hero-inner) {
    margin-top: 0 !important;
}


/* Media (img e video) */
.futura-hero-inner .futura-hero-inner-media {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
}

.futura-hero-inner .futura-hero-inner-media .futura-hero-inner-media-img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.futura-hero-inner .futura-hero-inner-media .futura-hero-inner-media-img figure.wp-block-image {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    margin: 0 !important;
}

.futura-hero-inner .futura-hero-inner-media img,
.futura-hero-inner .futura-hero-inner-media video  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: unset !important;
    min-height: unset !important;
    max-width: none !important;
    object-fit: cover;
}



/* Elemento decorativo */
.futura-hero-inner .futura-hero-element {
    background-image: url('img/futura-hero-element.png');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 20px;
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    z-index: 2;
    pointer-events: none;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0;
    transform: translateX(-400px);
    transition: opacity 1s ease 0.2s, transform 1.9s ease 0.2s;
}

.futura-hero-inner.hero-animated .futura-hero-element {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 1000px) {
    .futura-hero-inner .futura-hero-element {
        background-size: cover;
        background-position: center center;
        right: 0;
    }
}


/* Titolo pagina */
.futura-hero-inner .futura-hero-inner-title {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    text-shadow: var(--shadow-01);
    opacity: 0;
    transition: opacity 0.8s ease 0.5s;
}


.futura-hero-inner.hero-animated .futura-hero-inner-title {
    opacity: 1;
}


/* Responsive */
@media screen and (max-width: 768px) {
    .futura-hero-inner {
        height: 30vh;
        max-height: 280px;
    }

}



/* ========================================
   Contenuto pagine interne
   ======================================== */


.contenuto {
    margin: 0 20px !important;
    background-color: var(--color-white-50);
    padding: 40px;
    box-shadow: var(--shadow-02);
}

.contenuto {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contenuto.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   Split layout — contenuto-flex
   ======================================== */

.contenuto-flex {
  display: flex;
  align-items: start;
  gap: 60px;
  flex-wrap: nowrap;
}

/* Colonne */
.flex-sx,
.flex-dx {
  flex: 1;
  min-width: 0;
}

/* Colonna testo */
.flex-text {
  flex: 1.1;
  padding: 0 !important;
}

.flex-text p {
  
}

.flex-text p:last-child {
  margin-bottom: 0;
}

/* Colonna immagine */
.flex-img {
  flex: 0.9;
  padding: 0 !important;
}

.flex-img figure {
  margin: 0;
}

.flex-img img {
  width: 100%;
  height: 400px; 
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 50px !important;
}

/* Inversione — immagine a sinistra */
.contenuto-flex.img-sx .flex-img {
  order: -1;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {

  .contenuto-flex {
    flex-direction: column;
    gap: 28px;
  }

  .flex-img img {
    height: 240px;
  }

  .contenuto-flex.img-sx .flex-img {
    order: unset;
  }

}



/* ========================================
   I Nostri Successi
   ======================================== */

.successi {
  text-align: center;
  min-width: 100%;
  padding: 100px 0;
}



.successi-flex {
  display: flex !important;
  justify-content: center;
  gap: 20 !important;
  flex-wrap: wrap;
  max-width: 1400px !important;
  width: 100% !important;
  padding-top: 50px;
}


.successi-item {
  flex: 0 1 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 0 !important;
  min-width: 0;
  max-width: none !important; 
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.successi-item.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

.successi-item.fade-out {
  opacity: 0;
  transform: translateY(20px);
}



.successi-numero {
    font-family: var(--font-heading);
    font-size: 130px;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    margin: 0 !important;
    background: linear-gradient(90deg, var(--color-blue2) 0%, var(--color-blue1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.successi-affix {
  font-size: 60px;
  font-weight: var(--font-weight-medium);
  vertical-align: middle;
  padding: 0 10px;
}

.successi-label {
  font-size: 16px !important;
  color: #6b7280;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .successi-flex {
    flex-direction: column !important;
    gap: 36px !important;
  }

  .successi-item {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 0 36px 0 !important;
  }

  .successi-item:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }

  .successi-numero {
    font-size: 2.8rem;
  }
}




/* ========================================
   Contatti
   ======================================== */

.form-contatti {
  width: calc(100% - 40px);
  max-width: 990px;
}


/* --- Input & Textarea --- */
#wpforms-313 {
    margin: 0 !important;
}



/* --- Input & Textarea --- */
#wpforms-313 .futura-input-text input,
#wpforms-313 .futura-input-message textarea {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    padding: 28px 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
    width: 100%;
}

#wpforms-313 .futura-input-text input::placeholder,
#wpforms-313 .futura-input-message textarea::placeholder {
    color: var(--color-border);
    font-family: var(--font-body);
    font-size: 16px;
}


/* --- Textarea --- */
#wpforms-313 .futura-input-message textarea {
    min-height: 140px;
    resize: none;
}

/* --- Labels --- */
#wpforms-313 .wpforms-field-label {
    font-size: 16px !important;
    font-weight: var(--font-weight-semibold) !important;
    font-family: var(--font-heading) !important;
    color: var(--color-blue3) !important;
    text-transform: uppercase !important;
}

#wpforms-313 .wpforms-field-label::first-letter {
    font-size: 130% !important;
}


/* --- Bottone Invia (replica .btn.btn-blue) --- */

#wpforms-313 .wpforms-submit-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

#wpforms-submit-313 {
    border-radius: 0;
    display: block;
    padding: 10px 25px;
    border: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    box-shadow: var(--shadow-01);
    z-index: 1;
    height: 55px;
    color: var(--color-white);
    background: linear-gradient(90deg, var(--color-blue2) 0%, var(--color-blue1) 100%);
    width: 240px;
}

/* Prima lettera più grande */
#wpforms-submit-313::first-letter {
    font-size: 22px;
}

/* Effetto triangolo hover (identico a .btn) */
#wpforms-submit-313::before {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
    z-index: -1;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    background: var(--color-white);
    opacity: 0.15;
}

#wpforms-submit-313:hover::before {
    width: calc(200% + 2px);
    height: calc(200% + 2px);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}