/* ============================================
   FONT DECLARATIONS
   ============================================ */

@font-face {
    font-family: 'DM Sans';
    src: url('font/DMSans/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('font/DMSans/DMSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'DM Sans';
    src: url('font/DMSans/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('font/DMSans/DMSans-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'DM Sans';
    src: url('font/DMSans/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('font/DMSans/DMSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
  font-family: 'DM Mono';
  src: url('font/DMMono/DMMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('font/DMMono/DMMono-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('font/DMMono/DMMono-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('font/DMMono/DMMono-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('font/DMMono/DMMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('font/DMMono/DMMono-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: none;
    margin: 0;
    padding: 0 25mm;
    width: 100%;
}

/* ============================================
   LAYOUT UTILITIES - FLEXBOX SYSTEM
   ============================================ */

.flex {
    display: flex;
}

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

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-grow {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

/* ============================================
   FONT UTILITIES - QUICK MONO FONT APPLICATION
   ============================================ */

/* Classe base per DM Mono con fallback robusti */
.dm-mono,
.font-mono {
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* Varianti di peso per DM Mono */
.dm-mono-light {
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-weight: 300;
}

.dm-mono-regular {
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-weight: 400;
}

.dm-mono-medium {
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-weight: 500;
}

/* Selettori per elementi specifici che dovrebbero essere monospace */
code,
pre,
.code,
.numero-value {
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    min-height: 70px;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.cta-button {
    background-color: #0000D2;
    color: white;
    font-weight: 500;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
}

.cta-button:hover {
    background-color: #0000B8;
    transform: translateY(-1px);
}

.btn-scroll-servizi {
    background-color: #0000D2;
    color: white;
    font-weight: 500;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
}

.btn-scroll-servizi:hover {
    background-color: #0000B8;
    transform: translateY(-1px);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #0000D2;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #0000B8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0000D2;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #0000D2;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

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

.hero {
    background:  #ffffff 0%;
    background-image: url("img/pattern.png");
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
    max-width: 750px;
    margin-left: 0;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #000000;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #000000;
    font-weight: 400;
    max-width: 600px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.servizi-section {
    padding: 5rem 0;
    background: white;
}

.servizi-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.servizi-menu {
    flex: 0 0 350px;
    background: #0000D2;
    border-radius: 12px;
    padding: 2rem;
    position: sticky;
    top: 120px;
}

.servizi-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.servizio-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.servizio-item::before {
    content: '✦';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1rem;
    opacity: 0;
}

.servizio-item.active {
    color: white;
    padding-left: 2.5rem;
}

.servizio-item.active::before {
    opacity: 1;
}

.servizi-content {
    flex: 1;
    min-height: 500px;
    position: relative;
}

.servizio-dettaglio {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-color: #0000D2;
    z-index: 1000;
}

.servizio-dettaglio.active {
    display: block;
}

.servizio-dettaglio h2 {
    color: #0000D2;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.servizio-dettaglio p {
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.7;
}

.btn-servizi {
    display: block;
    background: #0000D2;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 1rem auto 0 auto;
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    width: fit-content;
}



/* ============================================
   CHI SIAMO SECTION
   ============================================ */

.chi-siamo {
    padding: 5rem 0;
    background: #ffffff;
  
}

.section-title {
    text-align: left;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
    font-weight: 700;
}

.chi-siamo-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin-bottom: 4rem;
    text-align: left;
    align-items: flex-start;
}

.chi-siamo-intro,
.chi-siamo-mission {
    font-size: 1.1rem;
    line-height: 1.1;
    color: #000000;
    text-align: left;
}

.chi-siamo-intro {
    font-weight: bold;
}

.team-grid {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    max-width: 550px;
    flex: 1;
    min-width: 280px;
}



.member-photo {
    width: 400px;
    height: 400px;
    overflow: hidden;
    margin-bottom: 1.5rem;}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0000D2;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #000000;
    font-weight: bold;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
    font-size: 1.1rem;
    
}

.member-description {
    color: #000000;
    line-height: 1.1;
    font-size:  1em;  
}

/* ============================================
   VALORI SECTION
   ============================================ */

.valori {
    padding: 5rem 0;
    background: white;
}

.valori-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0;
}

.valore-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 1.5rem 0;
}

.valore-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    min-width: 300px;
}

.valore-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-img {
    width: 100%;
    height: auto;
}

.valore-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0000D2;
    white-space: nowrap;
}

.valore-description {
    color: #000000;
    line-height: 1.1;
    font-size: 1.1rem;
    flex: 1;
    margin: 0;
}

/* ============================================
   ESPERIENZA SECTION
   ============================================ */

.esperienza {
    padding: 5rem 0;
    background: white;
    color: rgb(0, 0, 0);
}

.esperienza .section-title {
    color: rgb(0, 0, 0);
}

.numeri-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.numero-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 200px;
}

.numero-value {
    font-size: 4rem;
    font-weight: 700;
    color: #0000D2;
    margin-bottom: 1rem;
    line-height: 1;
}

.numero-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000000;
    line-height: 1.1;
}

/* ============================================
   TESTIMONIANZE SECTION
   ============================================ */

.testimonianze {

    background: #ffffff;
}

.testimonianze-grid {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    
}

.testimonianze-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonianza-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #0000D2;
    min-height: 250px;
    min-width: 350px;
    max-width: 350px;
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


/* Controlli di scorrimento per le testimonianze */
.testimonianze-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.scroll-btn {
    color: #0000D2;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* rimuove il grigio */
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
}

.scroll-btn img {
    width: 35px;
    height: auto;
}
#scroll-left img {
    transform: rotate(-90deg); /* Ruota verso sinistra */
  }
  
  #scroll-right img {
    transform: rotate(90deg);  /* Ruota verso destra */
  }

.cliente-name {
    font-weight: 700;
    color: #0000D2;
    font-size: 1.1rem;
}

.cliente-ruolo {
    font-weight: 400;
    color: #000000;
}

.stelle-rating {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.stella {
    color: #0000D2;
    font-size: 1.2rem;
}

.testimonianza-titolo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin: 1rem 0;
}

.testimonianza-testo {
    color: #000000;
    line-height: 1.6;
    flex: 1;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-title {
    text-align: left;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;

}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0000D2;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.faq-toggle {
    width: 35px;
    height: auto;
}

.faq-question.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: #0000D2;
    line-height: 1;
    margin: 0 0 1rem 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    color: #0000D2;
    line-height: 1;
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contatti {
    padding: 5rem 0;
    background: #ffffff;
}

.contatti-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contatti-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contatto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
}

.contatto-icon {
    width: 40px;
    height: 40px;
    background: #0000D2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contatto-details h4 {
    color: #0000D2;
    margin-bottom: 0.5rem;
}

.contatto-details p {
    color: #000000;
    margin: 0;
}

.form-container {
    flex: 1;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #0000D2;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0000D2;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #0000D2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-weight: 500;
}

/* ============================================
   POPUP & FORMS
   ============================================ */

#popupForm {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0000D2;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
    line-height: 1;
}

.close-btn:hover {
    color: #000000;
}

.popup-content h2 {
    color: #0000D2;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.input-row {
    margin-bottom: 1.5rem;
}

.input-row input,
.input-row textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-row input:focus,
.input-row textarea:focus {
    outline: none;
    border-color: #0000D2;
}

.invia-btn {
    width: 100%;
    background: #0000D2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
}

.invia-btn:hover {
    background: #0000B8;
    transform: translateY(-2px);
}

.recensioni-form {
    padding: 5rem 0;
    background: white;
}

.form-title {
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    text-align: center;
    color: #0000D2;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.recensione-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recensione-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.recensione-input:focus,
.recensione-textarea:focus {
    outline: none;
    border-color: #0000D2;
    box-shadow: 0 0 0 3px rgba(0,0,210,0.1);
}

.recensione-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.invia-recensione-btn {
    background: linear-gradient(135deg, #0000D2, #0000B8);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
}



.recensione-submit {
    background: #0000D2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    align-self: center;
}


.messaggio-successo {
    display: none;
    color: #0000D2;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.contatti-section {
    padding: 4rem 0;
    background: #ffffff;
    text-align: center;
}

.contatti-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-title {
    color: #0000D2;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}


.scroll-top {
    background: transparent;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}



.scroll-top img {
    width: 35px;
    height: 35px;
}

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

.footer {
    background: #0000D2;
    color: white;
    margin: 0 -25mm;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem 25mm;
}

.footer-info {
    flex: 1;
    text-align: left;
}

.footer-info p {
    color: #ffffff;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.footer-logo {
    flex: 0 0 auto;
    text-align: center;
}

.footer-logo img {
    height: 80px;
    width: auto;
    padding-top: 1rem ;
}

.footer-social img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* le rende bianche su sfondo blu */
  transition: none; /* nessuna animazione */
  margin: 0 10px

}
.footer-contacts a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.footer-contacts p {
  color: rgb(0, 0, 0);
  text-decoration: none;
  line-height: 1.4;
}

.footer-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
    align-items: flex-end;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-align: right;
}

.footer-nav a:hover {
    color: white;
}
.footer-info a {
  color: white;              /* stesso colore del testo */
  text-decoration: none;     /* niente sottolineatura */
  transition: none;          /* nessuna animazione */
}

.footer-info a:hover,
.footer-info a:focus,
.footer-info a:active {
  color: white;              /* resta identico anche al passaggio del mouse */
  text-decoration: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {

    body {
        line-height: 1.1;
    }

    .testimonianza-testo {
        line-height: 1.1;
    }

    .servizio-dettaglio p {
        line-height: 1.1;
    }

    .footer-info p {
        line-height: 1.1;
    }

    .form-title {
        line-height: 1.1;
    }

    .footer-contacts p {
        line-height: 1.1;
    }

    /* Navigation Mobile */
    .nav {
        padding: 12px 20px;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 998;
        margin: 0;
    }

    .navigation.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .cta-button {
        font-size: 12px;
        padding: 0.6rem 1rem;
        font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
        font-weight: 500;
    }

    /* Hero Mobile */
    

    .hero-content {
        align-items: flex-start;
        text-align: left;
        margin: 0;

    }
    
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;

    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 20px;
    }

    /* Services Mobile */
    .servizi-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        max-width: 100%;
    }

    .servizi-menu {
        flex: none;
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 2.5rem;
    }

    .servizi-content {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .servizio-item {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .servizio-dettaglio {
        padding: 2.5rem;
        border-radius: 16px;
    }

    .servizio-dettaglio h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .servizio-dettaglio p {
        font-size: 0.95rem;
    }

    /* Team Mobile */
    .team-grid {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .team-member {
        max-width: none;
        width: 100%;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 1.1rem;
    }

    .member-description {
        font-size: 0.9rem;
        max-width: 80%;
    }

    /* Valori Mobile */
    .valori {
        padding: 3rem 0;
    }

    .valori-list {
        gap: 1.5rem;
    }

    .valore-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
        padding: 1.5rem;
       
    }

    .valore-left {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
    }

    .valore-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .valore-icon img {
        width: 40px;
        height: 40px;
    }

    .valore-title {
        min-width: auto;
        font-size: 1.1rem;
        text-align: left;
        margin: 0;
    }

    .valore-description {
        font-size: 0.9rem;
        text-align: left;
        margin-left: 0;
        width: 100%;
        line-height: 1.1;
    }

    /* Numeri Mobile */
    .numeri-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .numero-value {
        font-size: 2.5rem;
    }

    .numero-label {
        font-size: 0.8rem;
        line-height: 1.1;
    }

    /* Testimonianze Mobile */


    .testimonianze-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        gap: 1rem;
        padding: 1rem 0;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
    }

    .testimonianze-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonianza-card {
        min-height: auto;
        min-width: calc(100vw - 80px);
        max-width: calc(100vw - 80px);
        flex: 0 0 calc(100vw - 80px);
        padding: 1.5rem;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .cliente-name {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .stelle-rating {
        justify-content: center;
        margin: 1rem 0;
    }

    .testimonianza-titolo {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .testimonianza-testo {
        font-size: 1rem;
        text-align: center;
        line-height: 1.1;
    }
    
    .testimonianze-controls {
        display: flex;
        justify-content: center;
        gap: 1.4rem;
        margin-top: 2rem;
    }

    .form-title {
      font-family: 'DM Mono', 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;

      font-size: 0.99rem;
      text-align: center;
      line-height: 1.1;
    }

    /* Contact Mobile */
    .contatti-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-contacts a {
      color: rgb(0, 0, 0);
      text-decoration: none;
    }
    

/* FOOTER MOBILE */
.footer {
  background: #0000D2; /* blu intenso */
  color: white;
  font-family: 'DM Sans', monospace;
  margin: 0 -20px;
  padding: 3rem 0 2rem 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2rem;
  padding: 0 20px;

}
.footer-contacts a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.footer-contacts p {
  color: rgb(0, 0, 0);
  text-decoration: none;
  line-height: 1.4;
}

/* NAV MENU */
.footer-nav {
  display: flex;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;

}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  align-items: left;
  text-align: left;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-info {
  text-align: left;
}

.footer-info a {
  color: white;
  text-decoration: none;
}

.footer-social {
  margin-top: 1rem;
  display: flex;

  gap: 1.5rem; /* spazio tra le icone */
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* le rende bianche su sfondo blu */
  transition: none; /* nessuna animazione */
margin-left: 0;
}

.footer-social a {
  text-decoration: none;
}


@media (max-width: 480px) {
    body {
        line-height: 1.1;
    }

    .hero-content {
        align-items: flex-start;
        text-align: left;
        margin: 0;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Smaller text sizes for extra small screens */
    .servizio-dettaglio h2 {
        font-size: 1.4rem;
    }

    .member-name {
        font-size: 1rem;
    }

    .numero-value {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav {
        padding: 12px 15px;
    }

    /* Valori Extra Small */
    .valore-item {
        padding: 1rem;
    }

    .valore-description {
        font-size: 0.85rem;
    }

    .valore-title {
        font-size: 1rem;
    }

    /* Testimonianze Extra Small */
    .testimonianza-card {
        padding: 1rem;
    }

    .testimonianza-testo {
        font-size: 0.8rem;
    }

    .testimonianza-titolo {
        font-size: 0.9rem;
    }

    .cliente-name {
        font-size: 0.9rem;
    }

    .servizio-dettaglio {
        padding: 2rem;
        margin: 0 auto;
        width: 100%;
        max-width: 500px;
    }
    
    .servizi-menu {
        max-width: 500px;
        padding: 2rem;
    }

    .team-member {
        padding: 2rem 1.5rem;
    }

    .testimonianza-card {
        padding: 2rem 1.5rem;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    /* Footer Extra Small */
    .footer-bottom {
        gap: 1.5rem;
        padding: 0 15px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .footer-logo img {
        height: 45px;
    }

    .footer-info p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
    .footer-info a {
      color: white;              /* stesso colore del testo */
      text-decoration: none;     /* niente sottolineatura */
      transition: none;          /* nessuna animazione */
    }
    .footer-info {
      text-align: left;
    }
    
    .footer-info a {
      color: white;
      text-decoration: none;
    }
    
    .footer-social {
      margin-top: 1rem;
      display: flex;
      gap: 1.5rem; /* spazio tra le icone */
    }
    
    .footer-social img {
      width: 24px;
      height: 24px;
      filter: brightness(0) invert(1); /* le rende bianche su sfondo blu */
      transition: none; /* nessuna animazione */
      margin-left: 0;
    }
    
    .footer-social a {
      text-decoration: none;
    }
    
   
  }
}