/* =========================================
   FONT LOCALI CARICATI DALLA ROOT (/fonts/)
========================================= */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/PlusJakartaSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/PlusJakartaSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/PlusJakartaSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/PlusJakartaSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue-primary: #0056b3;
    --blue-bright: #0ea5e9;
    --blue-night: #071326;
    --blue-night-mid: #0d2140;
    --orange: #ff6b00;
    --orange-hover: #e55e00;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #ffffff;
    --bg-gray: #f1f5f9;
    --border-light: #e2e8f0;
    --glass-bg: rgba(7, 19, 38, 0.76);
    --glass-border: rgba(255, 255, 255, 0.14);
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 14px rgba(7, 19, 38, 0.06);
    --shadow-lg: 0 20px 45px rgba(7, 19, 38, 0.14);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
    text-align: left;
}

h1, h2, h3, h4, p {
    text-align: left;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   HEADER GLASSMORPHISM
========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(7, 19, 38, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.1;
}

.brand-name .dot {
    color: var(--orange);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue-bright);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 4px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Località */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 215px;
    background: rgba(7, 19, 38, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background: var(--blue-primary);
    color: #ffffff;
    padding-left: 18px;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-nav { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-orange {
    background: var(--orange);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.32);
}

.btn-orange:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 107, 0, 0.45);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--blue-night);
}

/* =========================================
   HERO SECTION (ALLINEATA A SINISTRA)
========================================= */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--blue-night);
    padding: 140px 0 80px;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(7, 19, 38, 0.94) 0%,
        rgba(7, 19, 38, 0.82) 55%,
        rgba(0, 86, 179, 0.58) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.16);
    border: 1px solid rgba(14, 165, 233, 0.4);
    color: #7dd3fc;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.25);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.65rem);
    font-weight: 800;
    line-height: 1.14;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    text-align: left;
}

.text-gradient {
    background: linear-gradient(90deg, #38bdf8, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 34px;
    max-width: 720px;
    text-align: left;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-metrics {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 28px;
    border-radius: var(--radius-md);
}

.metric-item strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.2;
}

.metric-item span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

/* =========================================
   SECTIONS & TYPOGRAPHY (ALLINEATE A SINISTRA)
========================================= */
.section {
    padding: 96px 0;
}

.section-light { background: var(--bg-light); }
.section-gray { background: var(--bg-gray); }

.section-header {
    text-align: left;
    max-width: 820px;
    margin: 0 0 56px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--blue-primary);
    background: rgba(0, 86, 179, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    color: var(--blue-night);
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: left;
}

.section-lead {
    font-size: 1.06rem;
    color: var(--text-muted);
    text-align: left;
}

/* =========================================
   RISANAMENTI & TABELLA COMPARATIVA
========================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.process-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-primary);
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 14px;
    line-height: 1;
}

.process-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--blue-night);
    margin-bottom: 12px;
    text-align: left;
}

.process-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    text-align: left;
}

.comparison-box {
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-light);
}

.comparison-box h3 {
    font-size: 1.35rem;
    color: var(--blue-night);
    margin-bottom: 22px;
    text-align: left;
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.comparison-table th {
    background: var(--blue-night);
    color: #ffffff;
    font-weight: 700;
}

.comparison-table th.highlight-col {
    background: var(--blue-primary);
}

.comparison-table td.highlight-col {
    background: rgba(0, 86, 179, 0.04);
    font-weight: 600;
    color: var(--blue-primary);
}

/* =========================================
   SERVIZI GRID
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--blue-night);
    margin-bottom: 12px;
    text-align: left;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: left;
}

/* =========================================
   CTA BLU NOTTE BAND
========================================= */
.cta-night-band {
    background: linear-gradient(135deg, var(--blue-night) 0%, var(--blue-night-mid) 100%);
    color: #ffffff;
    padding: 68px 0;
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--blue-primary);
}

.cta-night-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.badge-orange {
    display: inline-block;
    background: var(--orange);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.cta-night-text h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.25;
    text-align: left;
}

.cta-night-text p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    text-align: left;
}

.cta-night-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

/* =========================================
   LOCALITÀ GRID
========================================= */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.location-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--blue-primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-card:hover {
    border-top-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.loc-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--blue-primary);
    background: rgba(0, 86, 179, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.location-card h3 {
    font-size: 1.28rem;
    color: var(--blue-night);
    margin-bottom: 12px;
    text-align: left;
}

.location-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: left;
}

.loc-link {
    font-weight: 700;
    color: var(--orange);
    font-size: 0.94rem;
    text-align: left;
}

.loc-link:hover {
    color: var(--blue-primary);
}

/* =========================================
   FAQ ACCORDION
========================================= */
.faq-list {
    max-width: 920px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-night);
    text-align: left;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.96rem;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
    text-align: left;
}

/* =========================================
   CONTATTI & FORM
========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--blue-night);
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: left;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: left;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.c-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

a.c-card:hover {
    border-color: var(--blue-primary);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.c-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-night);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: left;
}

.c-value {
    font-size: 1.05rem;
    color: var(--blue-night);
    text-align: left;
}

.contact-form-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.hp-field {
    display: none !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue-night);
    margin-bottom: 6px;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #f8fafc;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 0.84rem;
    color: var(--text-muted);
    text-align: left;
}

.form-check input {
    margin-top: 3px;
    accent-color: var(--blue-primary);
}

.form-feedback {
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.94rem;
    border-radius: 8px;
    text-align: left;
}

.form-feedback.success {
    padding: 12px 16px;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-feedback.error {
    padding: 12px 16px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* =========================================
   CTA FLOTTANTE A 3/4 DI PAGINA (DESKTOP FULL-WIDTH)
   (Senza X, appare al 75% scroll, scompare risalendo)
========================================= */
.cta-floating-night {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    width: 100%;
    background: var(--blue-night);
    color: #ffffff;
    border-top: 3px solid var(--orange);
    padding: 18px 0;
    box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s ease;
}

.cta-floating-night.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.cta-floating-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-floating-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--orange);
    letter-spacing: 0.9px;
    margin-bottom: 4px;
}

.cta-floating-night h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.25;
    text-align: left;
}

.cta-floating-night p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 0;
    line-height: 1.4;
    text-align: left;
}

.cta-floating-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-floating-actions .btn {
    padding: 12px 22px;
    font-size: 0.94rem;
}

/* =========================================
   FOOTER (SPAZIO INFERIORE CALIBRATO PER NON COPRIRE LE VOCI)
========================================= */
.site-footer {
    background: var(--blue-night);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 72px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    text-align: left;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 4px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.94rem;
    text-align: left;
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding: 24px 0 130px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.58);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}

@media (max-width: 992px) {
    .process-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-night-inner,
    .contact-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 82px;
        left: 0;
        width: 100%;
        background: rgba(7, 19, 38, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-130%);
        opacity: 0;
        transition: var(--transition);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-trigger svg {
        transition: transform 0.3s ease;
    }

    .nav-dropdown.open .dropdown-trigger svg {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .dropdown-menu,
    .nav-dropdown.open:hover .dropdown-menu {
        display: block;
    }

    .process-grid,
    .services-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .metric-divider {
        width: 100%;
        height: 1px;
    }

    /* CTA animata a 3/4 di pagina ottimizzata per Mobile */
    .cta-floating-night {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        padding: 16px 18px;
        border-radius: 14px;
        border-top: 1px solid rgba(14, 165, 233, 0.38);
        border-left: 4px solid var(--orange);
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48);
        transform: translateY(120%);
    }

    .cta-floating-night.visible {
        transform: translateY(0);
    }

    .cta-floating-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0;
    }

    .cta-floating-night h4 {
        font-size: 0.98rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .cta-floating-night p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .cta-floating-actions {
        display: grid;
        grid-template-columns: 1.35fr 1fr;
        gap: 8px;
    }

    .cta-floating-actions .btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.84rem;
    }

    /* Spazio inferiore dedicato su Mobile per tenere le voci del footer sopra la CTA */
    .footer-bottom {
        padding: 22px 0 205px;
    }
}