:root {
    --primary-color: #306499;
    --bg-color:#000000;
    --bg2-color:#111111;
    --orange:#f4905d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*@font-face{
    src: url("fonts/ShadowsIntoLight-Regular.ttf");
    font-family: "shadowsLight";
}
@font-face{
    src: url("fonts/ShantellSans-VariableFont.ttf");
    font-family: "shantell";
}
@font-face{
    src: url("fonts/Kalam-Light.ttf");
    font-family: "kalamLight";
}*/
/*@ font-face{
    src: url("fonts/Kalam-Regular.ttf");
    font-family: "kalam";
}
@font-face{
    src: url("fonts/LibreBaskerville-Regular.ttf");
    font-family: "Libre";
}
@font-face{
    src: url("fonts/Glory-VariableFont_wght.ttf");
    font-family: "Glory";
} */

@font-face {
    font-family: "Jura";
    src: url("fonts/Jura/static/Jura-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Jura";
    src: url("fonts/Jura/static/Jura-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: bold;
}

@font-face {
    font-family: "Unbounted";
    src: url("fonts/Unbounded/unbounded-variablefont_wght-webfont.woff2") format("woff2"),
         url("fonts/Unbounded/unbounded-variablefont_wght-webfont.woff") format("woff"),
         url("fonts/Unbounded/Unbounded-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-Regular.woff2") format("woff2"),
         url("fonts/Inter-Regular.woff") format("woff"),
         url("fonts/Inter.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
/* @font-face {
    font-family: "Sathu";
    src: local("Sathu"),
         url("fonts/Sathu-Regular.woff2") format("woff2"),
         url("fonts/Sathu-Regular.woff") format("woff"),
         url("fonts/Sathu-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
} */
@font-face {
    font-family: "DMsans";
    src: url("fonts/DMSans-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    src: url("fonts/verdana-font-family/verdana.ttf");
    font-family: "Verdana";
}
@font-face {
    font-family: 'Courier';
    src: url('fonts/CourierPrime-Regular.woff2') format('woff2'),
        url('fonts/CourierPrime-Regular.woff') format('woff'),
        url('fonts/CourierPrime-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    background-color: var(--bg-color);
    color: #fff;
/*    font-family: Open Sans, sans-serif;*/
font-family: "Jura";
    line-height: 1.6;

}
/* Hamburger menu */
     .hamburger {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px 10px;
        z-index: 1000;
     }
     
     .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #000000;
        border-radius: 2px;
        transition: all 0.3s ease;
        display: none;
     }
     
     .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
     }
     
     .hamburger.active span:nth-child(2) {
        opacity: 0;
     }
     
     .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
     }
     header nav{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 1;
     }
     header nav ul{
        list-style: none;
        display: inline-flex;
        gap: 18px;
        padding: 10px 0;
        z-index: 1;
     }
     header nav ul li{
        font-size: 24px;
        line-height: 30px;
     }
     header nav ul li a{
        color: #000000;
        text-decoration: none;
        font-size: 14px;
        font-family: "Jura";
     }
.page{
    background-color: #ffffff;
    padding: 20px;
}
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    height: fit-content;
    flex-direction: column;
    align-items: center;
/*    justify-content: center;*/
    padding: 2rem;
    overflow: hidden;
    position: relative;
/*    background-color: #121212;*/
background-color: #000000;
    font-size: 12px;
}

.post-it {
/*    border: 2px solid var(--primary-color);*/
    border-radius: 32px;
    /*padding: 56px;
    margin-bottom: 2rem;*/
    max-width: 600px;
    max-height: 400px;
    margin: 30px 20px;
}

.post-it img {
    width: 100%;
    margin: auto;
    display: block;
    height: auto;
    border-radius: 5px;
    mix-blend-mode: lighten;
}

.hero-text {
    text-align: center;
    max-width: 90%;
/*    font-size: 1.5rem;*/
/*    margin-top: 2rem;*/
/*    font-style: italic;*/
    font-family: "Verdana";
/*    font-weight: bold;*/
    font-size: 15px; 
}
.hero-text p{
    margin: 20px 0px 0px;
    text-wrap: balance;
}

.walink{
    display: none;
}
.wa{
    display: inline-block;vertical-align: sub;
}
/* Story Section */
.story, #servizi, .page {
    padding: 4rem 2rem;
    background-color: #ffffff;
    color: #000000;
}

.story-content, .servizi-content, .page-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.2rem;
    font-family: "Jura";
}
.page-container img{
    height: auto;
    max-width: 100%;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 40px auto 60px;
    display: block;
}
.story-content img{
    max-width: 100%;
    margin: 40px auto 60px;
    display: block;
}
.page-container h1, .servizi-content h1{
    font-size: 42px;
    line-height: 57px;
}
.servizi-content h1{
    margin-bottom: 20px;

    font-size: 33px;
    line-height: 50px;
}
.page-container h1, .page-container h2{
    text-align: center;
}
.page-container p, .servizi-content p{
    margin-bottom: 20px;
}
.page-container h2, .servizi-content h2{
    margin: 20px;
}
#servizi h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-family: "Unbounted";
    font-size: 2.5rem;
}

.servizi-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 4rem;
}

.servizio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    color: #ffffff;
}
.servizi-list a{
    text-decoration: none;
}

.servizio-text {
    flex: 1;
    padding-right: 3rem;
    
}

.servizio-text h3 {
    font-family: "Unbounted";
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.servizio-text p {
    font-family: "Inter";
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.servizio-image {
    flex: 0 0 400px;
    max-width: 400px;
}

.servizio-image img {
    width: 100%;
    height: 270px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-title, .contatti-title {
    text-align: center;
    font-family: "Jura";
    
}

.cta-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #f4905d;
}

.contatti-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-family: "Jura";
    font-weight: bold;
}

#contatti {
    padding: 4rem 2rem;
    background-color: #ffffff;
    color: #000000;
}

.contatti-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 12px;
}

.contatti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    /* margin-top: 2rem; */
}

.contatto-card {
    padding: 1rem;
    border-radius: 12px;
    justify-content: center;
}

.contatto-card h3 {
    font-family: "Unbounted";
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000000;
}

.contatto-card a {
    font-family: "Jura";
    font-size: 1.6rem;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contatto-card a:hover {
    color: #f4905d;
}

.btn-wa img{
    display: inline-block;
    transition: all 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.btn-wa img:hover {
    transform: scale(1.1);
}

/* CTA Section */
.cta {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #000;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.25rem;
}
.cta-content a{
    color: white;
    text-decoration: none;
        display: inline-flex;
    gap: 12px;
}


/* Footer */
footer {
    background-color: var(--bg2-color);
    padding: 3rem 2rem;
}
footer a{
    color: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.logo img {
    max-width: 230px;
}

.company-info p,
.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
}

.footer-form {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-form-field {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.footer-form label {
    flex: 0 0 40px;
    font-size: 0.85rem;
}

.footer-form input,
.footer-form textarea {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0;
    color: #fff;
    padding: 2px 0;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.2;
    outline: none;
}

.footer-form textarea {
    resize: vertical;
    min-height: 3.2em;
    max-height: 7em;
}

.footer-form input:focus,
.footer-form textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.95);
}

.footer-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-form-submit {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    padding: 0.25rem 0.7rem;
    font-size: 0.85rem;
    line-height: 1.2;
    cursor: pointer;
}

.footer-form-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.footer-form-status {
    font-size: 0.85rem;
    line-height: 1.2;
    min-height: 1em;
}

.footer-form-status.is-success {
    color: #b9ffb9;
}

.footer-form-status.is-error {
    color: #ffb9b9;
}
.contatto-card img{
    margin: 0px auto;
}
/* Responsive Design */
@media (max-width: 768px) {
    /* Show hamburger menu */
        .hamburger {
            display: flex;
            font-size: 17px;
            text-transform: uppercase;
            color: #000;
        }
         /* Hide desktop menu */
        header nav {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            top:0;
            background-color: #ffffff;
            border-bottom: 2px solid #f4905d;
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            z-index: 999;
        }
        
        header nav.active {
            max-height: 300px;
            padding: 20px;
        }
        
        header nav ul {
            flex-direction: column;
            gap: 15px;
            padding: 0;
        }
        
        header nav ul li {
            text-align: center;
        }
        
        header nav ul li a {
            font-size: 18px;
            display: block;
            padding: 10px;
        }
    .hero-text{
        font-size: 16px;
        font-family: "Courier";
    }
    .hero-text .p2{
        font-size: 17px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-form-field {
        gap: 0.6rem;
        margin-bottom: 12px;
    }

    .footer-form label {
        flex-basis: 95px;
        text-align: left;
    }
    .footer-form label {
        flex-basis: 56px;
        font-size: 1rem;
    }
    .footer-form-submit{
        font-size:1rem;
    }
    
    #servizi {
        padding: 2rem 1rem;
       
    }
    
    .servizio-item {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    
    .servizio-text {
        padding-right: 0;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .servizio-text h3 {
        font-size: 1.3rem;
    }
    
    .servizio-text p {
        font-size: 0.95rem;
    }
    
    .servizio-image {
        flex: 0 0 auto;
        max-width: 100%;
    }
    
    .servizio-image img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .cta-title {
        font-size: 1.3rem;
    }
    
    .contatti-title {
        font-size: 1.6rem;
    }
    
    #contatti {
        padding: 2rem;
    }
    
    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contatto-card {
        padding: 0.3rem 1.2rem;
    }
    
    .contatto-card h3 {
        font-size: 1.2rem;
    }
    
    .contatto-card a {
        font-size: 1.2rem;
    }
}

/*.hero-text blockquote {
    position: relative;
    font-size: 2rem;
    font-style: italic;
    padding: 2rem 3rem;
    margin: 2rem 0;
    line-height: 1.4;
}

.quote-mark {
    position: absolute;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.6;
    font-family: Georgia, serif;
}*/

.quote-start {
    top: -2rem;
    left: -1rem;
}

.quote-end {
    bottom: -4rem;
    right: -1rem;
}
 #storymenu{
        text-align: center;
        margin: 40px auto;
}
#storymenu ul li{
    margin-bottom: 10px;
    font-size: 32px;
    list-style: none;
}
#storymenu a{
    text-decoration: none;
    color: black;
}
#storymenu a:hover{
    
    color: var(--primary-color);
}
#menuG{
    background: #7f7b49;
    padding: 37px 30px 50px;
    text-align: center;
    font-family: 'Courier';
    

}

blockquote {
background-image: url(img/virg1red.svg);
background-position: left;
background-repeat: no-repeat no-repeat;
background-size: 50px;
height: 100px;
border: 0;
width: 55px;

margin: -3px;
}
#menuG a{
    text-decoration: none;
    color: #ffffff;
    display: block;
    text-wrap: nowrap;
   
}
.quote2 {
    background-image: url(img/virg2red.svg) !important;
    
}
.bq{
    display: flex;
    flex-direction: row;
    margin-bottom: -30px;
}
.bq2{
     display: flex;
    flex-direction: row;
    margin-bottom: 30px;
    position: relative;
    left: 90%;
    width: 200px;
}
#indirizzo a{
    color: white;
    text-decoration: none;
    text-align: center;
}

.hero h1{
    font-size: 32px;
    margin-top: 50px;
}
.headtxt .desktxt{
    font-size: 17px;
    line-height: 21px;
    padding: 12px;
}
#mtop-header{
        width: 100%;
        height: 80px;
        padding: 10px;
        font-size: 21px;
        background-color: #ffffff;
        color: #000000;
        display: none;
        white-space: nowrap;
  
  /* 1. Fallback per browser legacy (espressi in viewport width o clamp) */
  font-size: 4vw; 
  font-size: clamp(1.2rem, 3.3vw, 4rem); 

  /* 2. Regola principale: i browser che supportano cqw usano questa */
  font-size: 4cqw;
  margin: 0;
     }
     .story-content, .servizi-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.2rem;
    font-family: "Jura";
}
.story-content p{
  margin-bottom: 20px;
}

.extratext{
        font-size: 14px;
        max-width: 1200px;
        margin: 50px auto;
        font-family: Courier;
        color: #5c5c5c;

     }
     .extratext p{
        margin-bottom: 12px;
     }
     .extratext ul{
        margin-left: 14px;
     }

.mobtxt, .m{
    display: none;
}

@media (max-width: 768px) {
      #mtop-header{
            display: block;
            border-bottom: solid 1px #f2f2f2;
            height: 29px;
            font-weight: 600;
            padding: 2px 10px;
        }
        .mobtxt{
         display: block;
         text-align: left;
         font-size: 15px;
      }
      .m{
        display: block;
      }
      .mobtxt a{
        color: #000;
        text-decoration: none;
      }
    .quote-mark {
        font-size: 4rem;
    }
    
    .quote-start {
        top: -1.5rem;
        left: -0.5rem;
    }
    
    .quote-end {
        bottom: -3rem;
        right: -0.5rem;
    }
}

.hero-text blockquote p {
    margin-bottom: 1rem;
}
@media(max-width:650px){
    .post-it img {
         width: 83%;
    }
    .hero{
        padding: 1.8rem;
    }
    .bq2{
      left: 77%;
    }
    blockquote{
        width: 34px;
        background-size: 27px;
    }
    .post-it{
        padding: 20px 5px;
        margin: 0px;
    }
    .hero-text{
        margin: 0px;
    }
    .hero #indirizzo{
        padding: 12px;
        text-align: center;
        justify-content: center;
        text-wrap: balance;
    }
    .walink{
        display: inline-flex;
        align-items: center;
        margin: 21px;
         font-size: 21px;
    }
    .hero-text small{
        font-size: 12px;
    }
    .wa{
            width: 41px;
    margin-top: -6px;

    }
}

@media(min-width:800px){
    #menuG{
         display: inline-block;
    
    }
    
    #menuG p{
    line-height: 40px;
}
#menuG a{
    display: inline-block;
    text-wrap: nowrap;
    margin: 10px;
    line-height: 30px;
}
 header nav ul li a{
      width: 100px;
      display: inline-block;
      text-align: center;
      background-color: #f4905d;
      padding: 2px
     }
     header nav ul li a:hover{
      background-color: #f1773b;
      color: #ffffff;
     scale: 0.89;
     }
     footer .logo img{
        margin: 0 0 2px 41px;
     }

}
/*@media (max-width: 768px) {
    .hero-text blockquote {
        font-size: 1.5rem;
        padding-left: 1rem;
    }
}*/
