/* index.css - Restructured Premium Styling System for RS SERVICE H24 */

/* -------------------------------------------------------------
   1. DESIGN TOKENS & INITIAL SETUPS
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* Colors */
    --color-bg-darkest: #060606;
    --color-bg-base: #0c0c0c;
    --color-bg-card: rgba(20, 20, 20, 0.75);
    --color-bg-card-hover: rgba(28, 28, 28, 0.9);
    
    --color-primary: #ffc400;          /* Energetic Emergency Yellow */
    --color-primary-hover: #e0ad00;
    --color-primary-glow: rgba(255, 196, 0, 0.15);
    
    --color-text-white: #ffffff;
    --color-text-muted: #bcbcbc;
    --color-text-dark: #0c0c0c;
    
    --color-border: rgba(255, 196, 0, 0.15);
    --color-border-solid: #262626;
    
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20ba59;
    --color-whatsapp-glow: rgba(37, 211, 102, 0.2);

    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Geist', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout */
    --nav-height: 96px;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --transition-speed: 0.4s;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Snap Container */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibilità: focus visibile per navigazione da tastiera */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-darkest);
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scroll Snapping */
body {
    background-color: var(--color-bg-darkest);
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-base);
}

/* Custom Scrollbars */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: var(--color-bg-darkest);
}
body::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hover);
}

/* -------------------------------------------------------------
   2. REUSABLE COMPONENTS & UTILITIES (SCROLL-SAFE VIEWPORTS)
   ------------------------------------------------------------- */

/* Full-Screen Section Base (Safe from text cut-offs) */
.snap-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* cresce se il contenuto è alto: nessun taglio */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    padding: calc(var(--nav-height) + 30px) 8% 70px 8%;
}

/* Yellow color-blocked section styling */
.yellow-block-section {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
}

/* Cinematic Full-screen Background with Dark Gradients */
.background-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.92) contrast(1.05);
    transition: transform 12s var(--ease-out);
}

.snap-section:hover .background-image-container img {
    transform: scale(1.04);
}

/* Dark Gradient Overlay for Maximum Accessibility */
.background-overlay {
    position: absolute;
    inset: 0;
    /* Overlay più leggero: la foto resta visibile ma il testo a sinistra resta leggibile.
       Gradiente laterale che scurisce solo dove c'è il testo. */
    background:
        linear-gradient(
            to right,
            rgba(6, 6, 6, 0.85) 0%,
            rgba(6, 6, 6, 0.55) 45%,
            rgba(6, 6, 6, 0.25) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(6, 6, 6, 0.2) 0%,
            rgba(6, 6, 6, 0.35) 70%,
            rgba(6, 6, 6, 0.6) 100%
        );
    z-index: 2;
}

/* Vibrant Yellow duotone overlay for high-impact pacing sections */
.yellow-gradient-overlay {
    position: absolute;
    inset: 0;
    /* Doppio strato: un giallo pieno coprente + un velo duotone sulla foto.
       Garantisce che il testo nero sia sempre leggibile (no zone scure in alto). */
    background:
        linear-gradient(
            to bottom,
            rgba(255, 196, 0, 0.92) 0%,
            rgba(255, 196, 0, 0.88) 55%,
            rgba(230, 170, 0, 0.95) 100%
        );
    z-index: 2;
}

/* Velo fotografico sottostante per dare texture senza compromettere il contrasto */
.yellow-block-section .background-image-container img {
    filter: brightness(0.9) contrast(1.1) saturate(0.6) sepia(0.3);
    opacity: 0.25;
}

/* Responsive Content Layer (Contains internal scrolling fail-safe) */
.section-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 10px;
    /* niente max-height/overflow: il contenuto non deve mai essere clippato.
       Le sezioni crescono in altezza se serve (vedi .snap-section). */
}

/* Hide scrollbar inside section content to keep layout pristine */
.section-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}
.section-content {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Typography (Dynamic Fluid Sizing using CSS Clamp) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Dynamic Italic Highlight Typography */
.accent-title {
    font-style: italic;
    color: var(--color-primary);
    position: relative;
}

/* Styling for yellow headers over dark backgrounds */
.yellow-block-section .accent-title {
    color: var(--color-bg-darkest);
    text-decoration: underline;
    text-decoration-color: var(--color-bg-darkest);
    text-underline-offset: 6px;
}

.tag-label {
    font-family: var(--font-mono);
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-primary);
    background-color: rgba(255, 196, 0, 0.06);
    padding: 7px 18px;
    border: 1px solid rgba(255, 196, 0, 0.35);
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.75rem;
}

/* Label styling when on a yellow background */
.yellow-block-section .tag-label {
    color: var(--color-bg-darkest);
    border-color: var(--color-bg-darkest);
    background-color: rgba(12, 12, 12, 0.06);
}

.section-title {
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    /* Ombra morbida diffusa stile Apple: profondità senza brutalismo */
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6), 0 1px 6px rgba(0, 0, 0, 0.5);
    /* Evita che le lettere corsive vengano tagliate ai bordi */
    padding-right: 0.12em;
}

/* Nelle sezioni gialle l'ombra scura sul testo nero va rimossa */
.yellow-block-section .section-title {
    text-shadow: none;
}

.section-paragraph {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.75;
    color: #d0d0d0;
    max-width: 620px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.yellow-block-section .section-paragraph {
    color: #1a1a1a;
    font-weight: 500;
}

/* Diagonal Hazard Warning Stripes — raffinate: più sottili, più discrete */
.hazard-border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(
        -45deg,
        #0c0c0c,
        #0c0c0c 8px,
        var(--color-primary) 8px,
        var(--color-primary) 16px
    );
    opacity: 0.7;
    z-index: 10;
}

.hazard-border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(
        -45deg,
        #0c0c0c,
        #0c0c0c 8px,
        var(--color-primary) 8px,
        var(--color-primary) 16px
    );
    opacity: 0.7;
    z-index: 10;
}

/* -------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) var(--ease-out);
    cursor: pointer;
    border: none;
}

/* Main Emergency Action Button (Yellow) */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: 0 8px 32px rgba(255, 196, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 44px rgba(255, 196, 0, 0.38), 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Solid Black Button when on Yellow background */
.btn-dark {
    background-color: var(--color-bg-darkest);
    color: var(--color-primary);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50px;
}

.btn-dark:hover {
    background-color: var(--color-bg-base);
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* WhatsApp Action Button (Green) */
.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-text-white);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.25), 0 2px 8px rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50px;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* -------------------------------------------------------------
   4. NAVIGATION BAR
   ------------------------------------------------------------- */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(6, 6, 6, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-scrolled {
    background-color: rgba(6, 6, 6, 0.96);
    height: 70px;
    border-bottom: 2px solid var(--color-primary);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Logo immagine nella navbar */
.nav-logo-img {
    height: 52px;
    width: auto;
    display: block;
    transition: height var(--transition-speed) var(--ease-out);
}

.navbar-scrolled .nav-logo-img {
    height: 44px;
}

.nav-brand svg {
    width: 38px;
    height: 38px;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-white);
}

.nav-logo-text span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    text-transform: uppercase;
    color: var(--color-text-white);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions .btn-nav-emergency {
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Hamburger mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text-white);
    transition: all 0.3s ease;
}

/* -------------------------------------------------------------
   5. VIEWPORT CONTENT GRID AND CARDS
   ------------------------------------------------------------- */

/* HERO LAYOUT */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    max-width: 860px;
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.75;
    color: #c8c8c8;
    border-left: 3px solid var(--color-primary);
    padding-left: 22px;
    max-width: 560px;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Logo grande nell'hero */
.hero-logo {
    height: clamp(64px, 9vw, 110px);
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
}

/* Logo nel footer */
.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

/* CTA telefono dominante nell'hero — il numero deve saltare all'occhio */
.hero-phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 0.5rem;
    padding: 16px 32px 16px 24px;
    background: var(--color-primary);
    color: var(--color-text-dark);
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(255, 196, 0, 0.32), 0 2px 10px rgba(0, 0, 0, 0.4);
    border: none;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.hero-phone-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 52px rgba(255, 196, 0, 0.42), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-phone-cta .material-symbols-outlined {
    font-size: 2.6rem;
}

.hero-phone-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hero-phone-cta-text small {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.hero-phone-cta-text strong {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-actions-row {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.hero-actions-row .btn {
    flex: 1;
    min-width: 240px;
}

/* SERVICES EDITORIAL SECTIONS (Two column split) */
.service-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.service-left-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Sezione senza box affiancato: il testo occupa una sola colonna piena */
.service-single-col {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.service-feature-box {
    background-color: rgba(18, 18, 18, 0.72);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 36px;
    border-radius: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Specific styling for feature boxes inside yellow sections */
.yellow-block-section .service-feature-box {
    background-color: rgba(8, 8, 8, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.yellow-block-section .service-feature-box h3,
.yellow-block-section .service-feature-box h4,
.yellow-block-section .service-feature-box .feature-line h4 {
    color: var(--color-primary);
}

.yellow-block-section .service-feature-box p {
    color: var(--color-text-muted);
}

.feature-line {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-line span.material-symbols-outlined {
    color: var(--color-primary);
    font-size: 2rem;
    flex-shrink: 0;
}

.yellow-block-section .feature-line span.material-symbols-outlined {
    color: var(--color-primary);
}

.feature-line h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.feature-line p {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.55;
}

.yellow-block-section .feature-line p {
    color: #e5e5e5;
}

.service-badge-large {
    background-color: rgba(14, 14, 14, 0.82);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 36px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-badge-large span.material-symbols-outlined {
    font-size: 4rem;
    color: var(--color-primary);
}

.service-badge-large h4 {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--color-text-white);
}

.service-badge-large p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Link Instagram (pagina noleggio) */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-dark);
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    box-shadow: 0 6px 24px rgba(238, 42, 123, 0.3);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(238, 42, 123, 0.45);
}

.instagram-link svg {
    color: #fff;
    flex-shrink: 0;
}

/* su sfondo giallo (sezione contatti) il testo del link IG deve restare leggibile */
.yellow-block-section .instagram-link {
    color: #fff;
}

/* SEZIONE PREZZI NOLEGGIO */
.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 760px;
    margin: 0 auto;
}

.price-card {
    background: rgba(12, 12, 12, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 196, 0, 0.25);
    border-radius: 20px;
    padding: 44px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 16px 50px rgba(255, 196, 0, 0.18);
}

a.price-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.price-card-cta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-whatsapp);
    font-weight: 600;
    width: 100%;
}

a.price-card:hover .price-card-cta {
    color: var(--color-primary);
}

.price-card-featured {
    border-color: var(--color-primary);
    box-shadow: 0 24px 70px rgba(255, 196, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-icon {
    font-size: 2.6rem;
    color: var(--color-primary);
}

.price-card h3 {
    font-size: 1.6rem;
    color: var(--color-text-white);
}

.price-amount {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 1;
    color: var(--color-primary);
}

.price-amount span {
    font-size: 0.5em;
    vertical-align: super;
    margin-left: 4px;
}

.price-card p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 420px;
    }
}

/* SECTION 4: VALUES — intestazione centrata rispetto allo schermo */
.services-heading-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.services-heading-area h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    padding-right: 0.15em; /* spazio per il corsivo finale, non taglia */
}

.values-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 24px;
    background-color: rgba(14, 14, 14, 0.75);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.value-item:hover {
    border-color: rgba(255, 196, 0, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 196, 0, 0.12);
}

.value-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    text-shadow: 0 4px 15px rgba(255, 196, 0, 0.3);
}

.value-item h3 {
    font-size: 1.75rem;
    margin-bottom: 5px;
}

.value-item p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    background: rgba(255, 196, 0, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 196, 0, 0.15);
}

/* BRANDS ROW (Infinite Marquee) */
.brands-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #060606;
    border-top: 1px solid var(--color-border-solid);
    border-bottom: 2px solid var(--color-primary);
    padding: 16px 0;
    overflow: hidden;
    z-index: 10;
}

.brands-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-align: center;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 90px;
    flex-shrink: 0;
    min-width: 100%;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--color-text-white);
    opacity: 0.55;
    transition: opacity 0.3s ease, filter 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 38px;
    flex-shrink: 0;
}

.marquee-item img {
    height: 32px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
    /* Uniforma tutti i loghi (anche quelli a colori) a una silhouette bianca */
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.marquee-item:hover {
    opacity: 1;
}

.marquee-item:hover img {
    filter: brightness(0) saturate(100%) invert(78%) sepia(73%) saturate(1726%) hue-rotate(2deg) brightness(105%) contrast(102%);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* SECTION 5: CONTACT & DISPATCH (YELLOW THEME) */
.contact-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 56px;
    align-items: center;
}

.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
}

.contact-phone-block {
    background-color: var(--color-bg-darkest);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35), 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.35s var(--ease-out);
    border: none;
}

.contact-phone-block:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.3);
    background-color: var(--color-bg-base);
}

.contact-phone-block span.material-symbols-outlined {
    font-size: 3.5rem;
}

.contact-phone-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1;
}

.whatsapp-support-label {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-bg-darkest);
    font-weight: 600;
}

.whatsapp-support-label span {
    color: #1b8a43;
    font-size: 1.5rem;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gps-card {
    background-color: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #fff;
    padding: 36px;
    text-align: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gps-card h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gps-card h3 span {
    color: var(--color-primary);
}

.gps-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Simulated Radar Map Graphic */
.radar-map-container {
    height: 150px;
    background-color: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.radar-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, transparent 30%, rgba(255, 196, 0, 0.05) 30%, rgba(255, 196, 0, 0.05) 31%, transparent 31%),
        radial-gradient(circle, transparent 60%, rgba(255, 196, 0, 0.03) 60%, rgba(255, 196, 0, 0.03) 61%, transparent 61%),
        linear-gradient(rgba(255, 196, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 196, 0, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    background-position: center;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(255, 196, 0, 0.07) 0deg, transparent 90deg);
    transform-origin: 0 0;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: sweep 6s linear infinite;
    pointer-events: none;
}

.radar-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--color-primary);
}

.radar-ping::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    animation: ping 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes sweep {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(4.5); opacity: 0; }
}

/* -------------------------------------------------------------
   6. FOOTER STYLING
   ------------------------------------------------------------- */
.main-footer {
    width: 100%;
    background-color: var(--color-bg-darkest);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 52px 8%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    scroll-snap-align: end;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 196, 0, 0.2);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-disclaimer {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-text-muted);
    padding: 12px 16px;
    background: rgba(255, 196, 0, 0.05);
    border-left: 2px solid var(--color-primary);
    border-radius: 4px;
    line-height: 1.5;
}

.footer-disclaimer strong {
    color: var(--color-primary);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* -------------------------------------------------------------
   6b. STICKY MOBILE EMERGENCY BAR
   ------------------------------------------------------------- */
.mobile-sticky-bar {
    display: none; /* nascosta su desktop, attivata nel media query mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    gap: 0;
    background-color: var(--color-bg-darkest);
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.6);
    padding-bottom: env(safe-area-inset-bottom); /* iPhone notch / home indicator */
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.sticky-call {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
}

.sticky-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-text-white);
}

.sticky-btn:active {
    filter: brightness(0.9);
}

/* -------------------------------------------------------------
   7. RESPONSIVENESS & MOBILE OVERRIDES
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
    .service-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 82px;
    }

    /* Titolo leggermente più contenuto su mobile per non tagliare le parole larghe */
    .section-title {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
        letter-spacing: -0.02em;
        word-break: normal;
        overflow-wrap: break-word;
    }

    body {
        scroll-snap-type: none; /* Disable scroll snap on mobile for natural scrolling flow */
        height: auto;
        padding-bottom: calc(72px + env(safe-area-inset-bottom)); /* spazio per la sticky bar + notch iPhone */
    }

    /* Mostra la sticky bar di emergenza solo su mobile */
    .mobile-sticky-bar {
        display: flex;
    }
    
    .snap-section {
        height: auto;
        min-height: calc(100vh - var(--nav-height));
        padding-top: calc(var(--nav-height) + 24px);
        padding-bottom: 48px;
        scroll-snap-align: none;
    }
    
    .section-content {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: rgba(6, 6, 6, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
        border-top: 1px solid var(--color-border);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .nav-actions {
        display: none; /* Hide desktop action button in mobile navigation */
    }
    
    /* Hero changes */
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-subtitle {
        border-left: none;
        border-top: 3px solid var(--color-primary);
        padding-left: 0;
        padding-top: 15px;
    }
    
    .hero-actions-row {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions-row .btn {
        width: 100%;
        min-width: unset;
    }
    
    /* Splits */
    .service-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        justify-items: center;
    }
    
    .service-left-text {
        align-items: center;
    }
    
    /* Values Grid */
    .values-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-left {
        align-items: center;
        text-align: center;
    }
    
    .contact-phone-block {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer changes */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

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

    .value-item {
        padding: 20px 15px;
    }
}

/* -------------------------------------------------------------
   FLOTTA / CATALOGO AUTO (Noleggio)
   ------------------------------------------------------------- */
.flotta-section {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 90px;
}

.flotta-section .section-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.flotta-intro {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-top: 12px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.flotta-controls {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 22px;
    background: rgba(12, 12, 12, 0.78);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 22px 26px;
}

.flotta-filter-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.flotta-filter-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.flotta-filter-label strong {
    color: var(--color-primary);
    font-weight: 600;
    margin: 0 4px;
}

.flotta-filter-sub {
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.flotta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.flotta-chip {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border-solid);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.flotta-chip:hover {
    border-color: var(--color-primary);
}

.flotta-chip.is-active {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

.flotta-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--color-primary) 0%, var(--color-primary) var(--range-pct, 100%), rgba(255,255,255,0.12) var(--range-pct, 100%), rgba(255,255,255,0.12) 100%);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.flotta-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-bg-darkest);
    box-shadow: 0 2px 8px rgba(255, 196, 0, 0.45);
    cursor: pointer;
}

.flotta-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-bg-darkest);
    box-shadow: 0 2px 8px rgba(255, 196, 0, 0.45);
    cursor: pointer;
}

.flotta-giorni {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border-solid);
    border-radius: 999px;
    padding: 4px;
}

.flotta-giorni-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--color-text-white);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    line-height: 1;
}

.flotta-giorni-btn:hover {
    background: rgba(255, 196, 0, 0.18);
    color: var(--color-primary);
}

.flotta-giorni-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    width: 50px;
    outline: none;
    -moz-appearance: textfield;
}

.flotta-giorni-input::-webkit-outer-spin-button,
.flotta-giorni-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.flotta-results-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
}

.flotta-results-meta strong {
    color: var(--color-primary);
    font-weight: 600;
}

.flotta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.flotta-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid var(--color-border-solid);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.flotta-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 196, 0, 0.08);
}

.flotta-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-solid);
}

.flotta-card-media .placeholder-icon {
    font-size: 5.5rem;
    color: rgba(255, 196, 0, 0.35);
    font-variation-settings: 'FILL' 1;
}

.flotta-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flotta-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    padding: 5px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.flotta-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.flotta-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.flotta-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.flotta-card-specs span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.flotta-card-specs .material-symbols-outlined {
    font-size: 1.05rem;
    color: var(--color-primary);
}

.flotta-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px dashed var(--color-border-solid);
}

.flotta-card-price-amount {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.flotta-card-price-unit {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.flotta-card-total {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.flotta-card-total strong {
    color: var(--color-text-white);
    font-weight: 600;
}

.flotta-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-whatsapp);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    padding: 14px 16px;
    border-radius: var(--border-radius-sm);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.flotta-card-cta:hover {
    background: var(--color-whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px var(--color-whatsapp-glow);
}

.flotta-card-cta svg {
    flex-shrink: 0;
}

.flotta-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
    border: 1px dashed var(--color-border-solid);
    border-radius: var(--border-radius);
    background: rgba(12, 12, 12, 0.5);
}

.flotta-empty .material-symbols-outlined {
    font-size: 2.4rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
}

@media (max-width: 980px) {
    .flotta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .flotta-controls {
        grid-template-columns: 1fr 1fr;
    }
    .flotta-filter-block:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .flotta-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .flotta-controls {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 18px;
    }
    .flotta-card-body {
        padding: 18px;
    }
    .flotta-card-title {
        font-size: 1.2rem;
    }
}

/* -------------------------------------------------------------
   LEGAL PAGES (privacy, termini)
   ------------------------------------------------------------- */
.legal-body {
    height: auto;
    overflow-y: auto;
    scroll-snap-type: none;
    background-color: var(--color-bg-base);
}

.legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 50px) 6% 80px;
    color: var(--color-text-white);
}

.legal-header {
    margin-bottom: 48px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-style: italic;
    font-weight: 700;
    margin-top: 18px;
    line-height: 1.05;
    color: var(--color-text-white);
}

.legal-updated {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 14px;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.legal-section p,
.legal-section ul {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 1.4rem;
}

.legal-section li {
    margin-bottom: 6px;
}

.legal-section strong {
    color: var(--color-text-white);
}

.legal-section a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover {
    color: var(--color-primary-hover);
}

.legal-back-cta {
    margin-top: 30px;
}

/* -------------------------------------------------------------
   TARIFFE FISSE (carroattrezzi)
   ------------------------------------------------------------- */
.price-asterisk {
    color: var(--color-primary);
    font-size: 0.55em;
    font-weight: 700;
    margin-left: 2px;
    vertical-align: super;
}

.tariffe-note {
    max-width: 700px;
    margin: 24px auto 0;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    padding: 14px 20px;
    background: rgba(12, 12, 12, 0.55);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tariffe-note strong {
    color: var(--color-primary);
    font-weight: 600;
}

.tariffe-note-star {
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 4px;
}

.tariffe-cta {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 28px auto 0;
}

/* -------------------------------------------------------------
   CONSEGNA A DOMICILIO
   ------------------------------------------------------------- */
.consegna-layout {
    margin-top: 32px;
}

.consegna-price-card {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.consegna-cta {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 32px auto 0;
}

@media (max-width: 860px) {
    .consegna-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
