:root {
    --blue-900: #0a1628;
    --blue-800: #0f2341;
    --blue-700: #163a6a;
    --blue-600: #1a5276;
    --blue-500: #2176ae;
    --blue-400: #3498db;
    --blue-300: #7fbfdf;
    --blue-200: #b8dcef;
    --blue-100: #d6eaf8;
    --blue-50: #eaf4fb;
    --sand: #f5e6c8;
    --sand-dark: #c4a86c;
    --orange: #e67e22;
    --orange-dark: #d35400;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-700: #495057;
    --gray-900: #212529;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --shadow: 0 4px 24px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--blue-900);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(230, 126, 34, 0.6); }
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #1DA851;
    border-color: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    animation: whatsappGlow 2s ease-in-out infinite;
}

@keyframes whatsappGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
}

.btn-whatsapp + .btn-primary,
.btn-primary + .btn-whatsapp {
    margin-top: 10px;
}

.btn-whatsapp + .btn-whatsapp-call,
.btn-whatsapp-call + .btn-whatsapp {
    margin-top: 8px;
}

.btn-whatsapp-call {
    background: transparent;
    color: #25D366;
    border-color: #25D366;
}

.btn-whatsapp-call:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #1DA851;
    color: #1DA851;
    transform: translateY(-2px);
}

.wa-call-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
}

.wa-call-link:hover {
    text-decoration: underline;
    color: #1DA851;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-900);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 6px;
}

/* I <picture> non generano box: l'<img> resta l'unico elemento renderizzato,
   cosi' i selettori .logo-img / .gozzo-image img continuano a valere senza modifiche. */
picture {
    display: contents;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C360,120 720,0 1440,60 L1440,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q35 15 45 20 Q35 25 30 35 Q25 25 15 20 Q25 15 30 5Z' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E") repeat;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    animation: heroContentIn 1s ease-out;
}

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

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: var(--sand);
    position: relative;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto 36px;
}

.hero-price {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 60px;
    padding: 12px 28px;
    margin-bottom: 36px;
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 230, 200, 0.1); border-color: rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 30px rgba(245, 230, 200, 0.25); border-color: rgba(245, 230, 200, 0.3); }
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sand);
}

.price-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-align: left;
    line-height: 1.3;
}

.hero-quick-booking {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quick-select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    backdrop-filter: blur(8px);
    min-width: 160px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='rgba(255,255,255,0.6)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.quick-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.3);
    outline: none;
}

.quick-select option {
    background: var(--blue-900);
    color: var(--white);
}

.quick-arrow {
    color: var(--sand);
    font-size: 1.4rem;
    font-weight: 300;
}

.btn-quick-book {
    padding: 12px 24px;
    font-size: 1rem;
    animation: btnGlow 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-quick-booking {
        flex-direction: column;
        gap: 10px;
    }
    .quick-select {
        width: 100%;
    }
    .quick-arrow {
        transform: rotate(90deg);
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(8px); }
    60% { transform: rotate(45deg) translateY(4px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* CARDS SERVIZIO */
.servizio {
    background: var(--white);
    position: relative;
}

.section-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1;
}

.section-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: var(--blue-50);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--blue-300), var(--orange), var(--blue-300));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(33, 118, 174, 0.15);
    background: var(--white);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    transition: transform 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(-5deg);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--blue-900);
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ROTTE */
.rotte {
    background: var(--blue-50);
}

.rotte-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

.rotta-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.rotta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--blue-400), var(--orange), var(--blue-400));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rotta-card:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 30px rgba(33, 118, 174, 0.15);
}

.rotta-card:hover::before {
    opacity: 1;
}

.rotta-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue-400), var(--orange));
    border-radius: 0 4px 4px 0;
}

.rotta-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.rotta-from, .rotta-to {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--blue-900);
}

.rotta-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-400);
    flex-shrink: 0;
}

.rotta-to .rotta-dot {
    background: var(--orange);
}

.rotta-arrow {
    color: var(--gray-300);
    font-size: 1.4rem;
    font-weight: 300;
}

.rotta-meta {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.rotta-durata, .rotta-prezzo {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
}

.rotta-durata {
    background: var(--blue-100);
    color: var(--blue-700);
}

.rotta-prezzo {
    background: rgba(230, 126, 34, 0.1);
    color: var(--orange-dark);
}

.rotta-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    font-size: 0.8rem;
}

.rotta-card:hover .rotta-btn {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.modal__route-badge {
    background: var(--blue-50);
    color: var(--blue-900);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
}

.route-form-field {
    margin-bottom: 14px;
}

.route-form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: 4px;
}

.route-form-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.route-form-field input:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(33, 118, 174, 0.1);
}

.route-form-total {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--orange-dark);
    font-family: var(--font-display);
    margin: 16px 0;
}

.rotte-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.95rem;
    padding: 20px;
    background: rgba(33, 118, 174, 0.05);
    border-radius: var(--radius);
}

/* SCOPRI BARI */
.scopri-section {
    background: var(--white);
}

.scopri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.scopri-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    transition: all 0.3s ease;
}

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

.scopri-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.scopri-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.scopri-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.scopri-cta {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    border-radius: var(--radius-lg);
}

.scopri-cta-text {
    font-size: 1.1rem;
    color: var(--blue-900);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.scopri-cta strong {
    color: var(--orange-dark);
}

/* LANG SWITCHER */
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
}

.lang-switcher a {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.lang-switcher a:hover, .lang-switcher a.active {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

/* GOZZO */
.gozzo-section {
    background: var(--white);
}

.gozzo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.gozzo-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.gozzo-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(33, 118, 174, 0.15);
    pointer-events: none;
}

.gozzo-image img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
    background: linear-gradient(180deg, #D6EEFB 0%, #2176AE 60%, #0a1628 100%);
}

.gozzo-image:hover img {
    transform: scale(1.05);
}

.gozzo-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gozzo-feature {
    padding: 24px;
    background: var(--blue-50);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
}

.gozzo-feature:hover {
    background: var(--blue-100);
    transform: translateY(-4px);
}

.feature-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue-700);
    margin-bottom: 6px;
}

.feature-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* STATS SECTION */
.stats-section {
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q35 15 45 20 Q35 25 30 35 Q25 25 15 20 Q25 15 30 5Z' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E") repeat;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--sand);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

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

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* PRENOTA */
.prenota {
    background: var(--blue-900);
    color: var(--white);
}

.prenota .section-tag {
    color: var(--sand);
}

.prenota .section-title {
    color: var(--white);
}

.prenota-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.prenota-form {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    animation: formGlow 4s ease-in-out infinite;
}

@keyframes formGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(33, 118, 174, 0.1); }
    50% { box-shadow: 0 0 40px rgba(33, 118, 174, 0.2); }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--blue-400);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group select option {
    background: var(--blue-900);
    color: var(--white);
}

.form-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin: 10px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
    font-weight: 500;
}

.total-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sand);
}

.prenota-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(6px);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.info-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* MAPPA */
.mappa-section {
    background: var(--white);
}

.mappa-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: start;
}

.leaflet-map {
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--blue-100);
}

.dock-marker {
    background: none;
    border: none;
}

.marker-pin {
    width: 36px;
    height: 36px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 3px 12px rgba(230,126,34,0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: transform 0.2s;
}

.marker-pin:hover {
    transform: scale(1.15);
}

.route-panel {
    background: var(--blue-50);
    border-radius: var(--radius-lg);
    padding: 28px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.route-panel-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--gray-500);
    gap: 12px;
}

.panel-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.route-panel-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--blue-900);
    margin-bottom: 20px;
}

.panel-route {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-route:last-child {
    border-bottom: none;
}

.panel-route-name {
    font-weight: 600;
    color: var(--blue-900);
    font-size: 0.9rem;
}

.panel-route-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.panel-route-durata {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.panel-route-prezzo {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange-dark);
    background: rgba(230,126,34,0.1);
    padding: 4px 12px;
    border-radius: 50px;
}

.panel-route-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.panel-route-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

/* QR CODE */
.qr-box {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 20px;
}

.qr-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 6px;
}

.qr-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
    line-height: 1.5;
}

.qr-code {
    display: inline-block;
    padding: 12px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 10px;
}

.qr-code img {
    display: block !important;
}

.qr-code canvas {
    display: none !important;
}

.qr-hint {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}

/* FAQ */
.faq-section {
    background: var(--blue-50);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--blue-300);
}

.faq-item[open] {
    border-color: var(--blue-400);
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--blue-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-item summary:hover {
    background: var(--blue-50);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--blue-400);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '\2212';
    color: var(--orange);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--blue-900);
}

/* CONTATTI */
.contatti {
    background: var(--white);
}

.contatti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.contatto-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.contatto-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 14px;
}

.contatto-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.contatto-card p {
font-size: 0.9rem;
color: var(--gray-500);
line-height: 1.6;
}

.contatto-card p small {
display: inline-block;
margin-top: 4px;
font-size: 0.72rem;
color: #25D366;
font-weight: 600;
letter-spacing: 0.02em;
}

/* FOOTER */
.footer {
    background: var(--blue-900);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-credit {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
}

.footer-credit a {
    color: var(--sand);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sand);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* SUCCESS MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 440px;
    text-align: center;
    animation: modalIn 0.4s ease;
}

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

.modal h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--blue-900);
    margin: 16px 0 8px;
}

.modal p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.modal .btn {
    min-width: 200px;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal__header h3 {
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.modal__close:hover {
    color: var(--gray-700);
}

.modal__body p {
    margin-bottom: 12px;
}

.modal__grid {
    text-align: left;
    background: var(--blue-50);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.modal__grid div {
    margin-bottom: 8px;
}

.modal__grid div:last-child {
    margin-bottom: 0;
}

.modal__total {
    color: var(--orange-dark);
    font-weight: 700;
}

.modal__note {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .gozzo-content {
        grid-template-columns: 1fr;
    }

    .gozzo-image img {
        height: 300px;
    }

    .prenota-wrapper {
        grid-template-columns: 1fr;
    }

    .mappa-wrapper {
        grid-template-columns: 1fr;
    }

    .leaflet-map {
        height: 360px;
    }

    .route-panel {
        min-height: auto;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .rotta-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .rotta-meta {
        gap: 10px;
    }

    .hero-scroll {
        display: none;
    }

    .gozzo-details {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .prenota-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .leaflet-map {
        height: 300px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .lang-switcher {
        flex-wrap: wrap;
        gap: 4px;
    }

    .hero-quick-booking {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }

    .quick-select {
        width: 100%;
        min-width: auto;
    }

    .quick-arrow {
        transform: rotate(90deg);
    }

    .btn-quick-book {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scopri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-price {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .gozzo-details {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .lang-switcher {
        flex-wrap: wrap;
        gap: 4px;
    }

    .lang-switcher a {
        font-size: 0.7rem;
        padding: 2px 4px;
    }

    .navbar {
        padding: 8px 0;
    }

    .nav-container {
        padding: 0 12px;
    }

    .logo-img {
        height: 32px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-quick-booking {
        padding: 16px;
        gap: 8px;
    }

    .quick-select {
        min-width: 100%;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn-quick-book {
        width: 100%;
        padding: 12px;
    }

    .section {
        padding: 50px 0;
    }

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

    .section-desc {
        font-size: 0.9rem;
    }

    .card {
        padding: 24px 20px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.85rem;
    }

    .rotta-card {
        padding: 16px 20px;
    }

    .rotta-info {
        flex-direction: column;
        gap: 8px;
    }

    .rotta-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rotta-durata, .rotta-prezzo {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .prenota-form {
        padding: 20px;
    }

    .form-group input, .form-group select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

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

    .scopri-card {
        padding: 20px;
    }

    .scopri-card h3 {
        font-size: 1rem;
    }

    .scopri-card p {
        font-size: 0.85rem;
    }

    .faq-item summary {
        font-size: 0.9rem;
        padding: 12px 0;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-item {
        padding: 16px;
    }

    .contatto-card {
        padding: 20px;
    }

    .contatto-card h3 {
        font-size: 1rem;
    }

    .contatto-card p {
        font-size: 0.85rem;
    }

    .modal {
        padding: 24px;
        margin: 16px;
    }

    .modal h3 {
        font-size: 1.3rem;
    }

    .modal p {
        font-size: 0.85rem;
    }
}
