/* ============================================================
   Smarket — style.css
   ============================================================ */
/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ---------- Base ---------- */
html {
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100svh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    /*background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, transparent 70%);*/
    animation: pulse 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}
/* ============================================================
   MENU DI NAVIGAZIONE
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.navbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff0000;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}
.navbar-brand svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
.navbar-logo {
    display: block;
    height: clamp(34px, 5vw, 44px);
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
}
.nav-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 899;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}
body.nav-locked {
    overflow: hidden;
}
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar-menu a {
    display: block;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.navbar-menu a.active {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.08);
}
.navbar-cta a {
    background: #25D366;
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
}
.navbar-menu a:focus-visible,
.nav-link.dropdown-toggle:focus-visible,
.navbar-toggler:focus-visible,
.navbar-close:focus-visible {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}
.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.navbar-toggler:active {
    transform: scale(0.88);
}
.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #333;
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                background-color 0.3s ease;
}
.navbar-toggler[aria-expanded="true"] span {
    background: #ff0000;
}
.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.navbar-close-item {
    display: none;
}
/* ============================================================
   MOBILE (< 768px): drawer laterale da sinistra
   ============================================================ */
@media (max-width: 767.98px) {
    .navbar-toggler {
        display: flex;
    }
    .navbar .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        bottom: 0;
        width: min(340px, 88vw);
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        background: #ffffff;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-105%);
        visibility: hidden;
        pointer-events: none;
        will-change: transform;
        z-index: 1100;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                    visibility 0.4s;
    }
    .navbar .navbar-menu.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    .navbar .navbar-close-item {
        display: flex;
        justify-content: flex-end;
    }
    .navbar .navbar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin-bottom: 0.25rem;
        border: 0;
        border-radius: 50%;
        background: #f5f5f5;
        color: #333;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.2s,
                    color 0.2s,
                    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .navbar .navbar-close:hover {
        background: #ff0000;
        color: #ffffff;
        transform: rotate(90deg);
    }
    .navbar .navbar-menu.open .navbar-close {
        animation: xpop 0.3s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    }
    .navbar .navbar-menu > li {
        opacity: 0;
        transform: translateX(-16px);
        transition: opacity 0.3s ease-out,
                    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .navbar .navbar-menu.open > li {
        opacity: 1;
        transform: none;
    }
    .navbar .navbar-menu.open > li:nth-child(2) { transition-delay: 0.04s; }
    .navbar .navbar-menu.open > li:nth-child(3) { transition-delay: 0.08s; }
    .navbar .navbar-menu.open > li:nth-child(4) { transition-delay: 0.12s; }
    .navbar .navbar-menu.open > li:nth-child(5) { transition-delay: 0.16s; }
    .navbar .navbar-menu.open > li:nth-child(6) { transition-delay: 0.20s; }
    .navbar .navbar-menu.open > li:nth-child(7) { transition-delay: 0.24s; }
    .navbar .navbar-menu a {
        padding: 0.9rem;
        font-size: 1.05rem;
        border-radius: 10px;
    }
    .navbar .navbar-menu li.navbar-cta {
        margin-top: 1rem;
    }
    .navbar .navbar-menu .navbar-cta a {
        display: block;
        text-align: center;
        margin-left: 0;
    }
    .navbar .navbar-menu .nav-link.dropdown-toggle {
        padding: 0.9rem;
        font-size: 1.05rem;
        border-radius: 10px;
		 width: 100%;
        justify-content: space-between;
    }
    .navbar .nav-item.dropdown.show > .dropdown-toggle {
        color: #ff0000;
        background: rgba(255, 0, 0, 0.08);
    }
    .navbar .navbar-menu .dropdown-menu {
        display: block;
        position: static;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        margin: 0.25rem 0 0;
        padding: 0;
        background: #fafafa;
        border: 0;
        border-radius: 10px;
        box-shadow: none;
        min-width: 0;
        transition: max-height 0.35s cubic-bezier(0.33, 0, 0.2, 1),
                    visibility 0.35s;
    }
    .navbar .nav-item.dropdown.show .dropdown-menu {
        visibility: visible;
    }
    .navbar .navbar-menu .dropdown-menu a {
        padding: 0.75rem 1rem 0.75rem 1.6rem;
        font-size: 0.95rem;
        color: #666;
        white-space: normal;
        border-radius: 0;
        border-top: 1px solid #f0f0f0;
    }
    .navbar .navbar-menu .dropdown-menu li:first-child a {
        border-top: 0;
    }
    .navbar .navbar-menu .dropdown-menu a.active {
        color: #ff0000;
        font-weight: 600;
    }
}
@keyframes xpop {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(-90deg);
    }
}
/* ============================================================
   DROPDOWN DESKTOP
   ============================================================ */
.nav-item.dropdown {
    position: relative;
}
.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35em;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: #333;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 500;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.nav-link.dropdown-toggle:hover,
.nav-link.dropdown-toggle:focus {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.07);
}
.nav-link.dropdown-toggle.active,
.nav-item.dropdown.show > .dropdown-toggle {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.08);
}
.dropdown-arrow {
    font-size: 0.7em;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-item.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    padding: 0.5rem;
    margin: 0.35rem 0 0;
    z-index: 950;
    list-style: none;
}
.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dropdown-menu a {
    display: block;
    padding: 0.65rem 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 9px;
    transition: background-color 0.2s, color 0.2s;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: #f6f6f6;
    color: #ff0000;
}
.dropdown-menu a.active {
    color: #ff0000;
    font-weight: 600;
    background: rgba(255, 0, 0, 0.07);
}
.nav-item.dropdown.show .dropdown-menu {
    display: block;
    animation: drop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes drop {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}
/* ---------- Container ---------- */
.container {
    margin: auto;
    width: 100%;
    max-width: 640px;
    padding: clamp(1.25rem, 4vw, 2rem);
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* ---------- Logo (home page) ---------- */
.logo {
    margin-bottom: 2rem;
    animation: logoAnimation 2s ease-in-out;
}
@keyframes logoAnimation {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
.logo-img {
    display: block;
    margin: 0 auto 1rem;
    width: 100%;
    max-width: 260px;
    height: auto;
}
.logo h1 {
    color: #ff0000;
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.2);
}
.home {
color: #353535;
  font-size: clamp(1.1rem, 2vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(16, 0, 0, 0.2);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.logo .slogan {
    color: #666;
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 1px;
}
/* ---------- Divisore ---------- */
.divider {
    width: 80px;
    height: 3px;
    background: #ff0000;
    margin: 2rem auto;
    position: relative;
    border-radius: 2px;
}
.divider::before,
.divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    top: -2.5px;
}
.divider::before { left: -12px; }
.divider::after  { right: -12px; }
/* ---------- Annuncio ---------- */
.announcement {
    margin: 2rem 0;
}
.announcement .badge {
    background: #ff0000;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3); transform: scale(1); }
    50%      { box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5); transform: scale(1.05); }
}
.announcement h2 {
    color: #ff0000;
    font-size: clamp(1.7rem, 7vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.announcement .date {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.announcement .location {
    color: #666;
    font-size: clamp(1rem, 3.5vw, 1.1rem);
}
/* ---------- Countdown ---------- */
.countdown {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.5rem, 2.5vw, 1.5rem);
}
.countdown-item {
    min-width: 0;
    background: #f8f8f8;
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: clamp(0.6rem, 2vw, 1rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.countdown-item .number {
    display: block;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    font-weight: 700;
    color: #ff0000;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
}
.countdown-item .label {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}
.countdown.is-open {
    display: block;
}
.open-message {
    color: #ff0000;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    font-weight: 700;
    background: #f8f8f8;
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: inline-block;
}
/* ---------- Contatti ---------- */
.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #666;
    transition: color 0.3s ease, transform 0.3s ease;
}
.contact-item a {
    color: inherit;
    text-decoration: none;
    min-width: 0;
    overflow-wrap: break-word;
}
.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
/* ============================================================
   FOOTER — 2 colonne (logo + slogan | contatti)
   ============================================================ */
.site-footer {
    margin-top: auto;
    background: #1a1a1a;
    color: #cccccc;
    text-align: center;
	border-width:2px 0 0 0;
	border-style:solid;
	padding:0;
	border-color:#910000;	
}
.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.footer-logo {
    display: block;
    height: 90px;
    width: auto;
    max-width: 100%;
}
.footer-slogan {
    color: #cccccc;
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.5;
    max-width: 30ch;
    margin: 0;
}
.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.site-footer .contact-info {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.site-footer .contact-item {
    color: #cccccc;
}
.site-footer .contact-item a {
    color: #ffffff;
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
    background: #25D366;
    color: #ffffff;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.whatsapp-btn svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    flex-shrink: 0;
}
@media (max-width: 767.98px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
/* ============================================================
   FOOTER-BOTTOM
   ============================================================ */
.footer-bottom {
    border-top: 1px solid #333;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    color: #999;
}
.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-bottom a:hover,
.footer-bottom a:focus {
    color: #25D366;
    text-decoration: underline;
}
.footer-bottom a:visited {
    color: #cccccc;
}
.footer-bottom a:active {
    color: #ffffff;
}
/* ---------- Pulsante WhatsApp fluttuante ---------- */
.whatsapp-float {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(18px, 4vw, 30px));
    right:  calc(env(safe-area-inset-right, 0px)  + clamp(18px, 4vw, 30px));
    z-index: 1000;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.whatsapp-float .whatsapp-icon {
    width: clamp(50px, 12vw, 60px);
    height: clamp(50px, 12vw, 60px);
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: relative;
    animation: whatsappPulse 2s ease-in-out infinite;
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); transform: scale(1); }
    50%      { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); transform: scale(1.05); }
}
.whatsapp-float .whatsapp-icon svg {
    width: 60%;
    height: 60%;
    fill: white;
}
.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translate(10px, -50%);
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.whatsapp-float .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid white;
    animation: badgeBounce 2s ease-in-out infinite;
}
@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}
/* ---------- Hover: SOLO su dispositivi con puntatore ---------- */
@media (hover: hover) and (pointer: fine) {
    .countdown-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
        background: #fff;
    }
    .contact-item:hover {
        color: #ff0000;
        transform: translateX(5px);
    }
    .whatsapp-float:hover {
        transform: translateY(-5px);
    }
    .whatsapp-float:hover .whatsapp-tooltip {
        opacity: 1;
        transform: translate(0, -50%);
    }
    .navbar-menu a:hover {
        color: #ff0000;
        background: rgba(255, 0, 0, 0.07);
    }
    .navbar-menu li.navbar-cta a:hover {
        color: #ffffff;
        background: #1fb457;
    }
    .navbar-toggler:hover span {
        background: #ff0000;
    }
    .site-footer .contact-item:hover {
        color: #ffffff;
        transform: none;
    }
    .site-footer .contact-item:hover a {
        color: #25D366;
    }
    .whatsapp-btn:hover {
        background: #1fb457;
        transform: translateY(-3px);
    }
}
/* ---------- Accessibilità: riduzione animazioni ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ============================================================
   PAGINA SERVIZI
   ============================================================ */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}
.page-title {
    color: #ff0000;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.page-subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 300;
}
.services-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem) 3rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.15);
}
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.service-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: #ffffff;
}
.service-title {
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.service-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}
.service-text a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 500;
}
.service-text a:hover {
    text-decoration: underline;
}
/* ============================================================
   LANDING PAGE (hero)
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: url('../img/header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(1.5rem, 5vw, 4rem);
    box-sizing: border-box;
    margin: 0;	
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}
/*
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/pattern.png') repeat top left;
    z-index: 0;
    pointer-events: none;
}*/
.hero-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 550px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);	
}
.hero-logo {
    display: block;
    height: auto;
    width: 100%;
    max-width: 220px;
    margin-bottom: 1.25rem;
}
.hero-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hero-hours {
    font-size: 1.1rem;
    color: #ff0000;
    line-height: 1.5;
}
.hero-hours strong {
    color: #1a1a1a;
    font-weight: 700;
}
@media (max-width: 767.98px) {
    .hero {
        min-height: auto;
        padding: 1rem;
    }
    .hero-box {
        max-width: 100%;
        padding: 1.5rem;
    }
    .hero-logo {
        max-width: 180px;
    }
}
/* ============================================================
   FORM DI CONTATTO
   ============================================================ */
.contact-form-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: left;
}
.contact-form-title {
    text-align: center;
    color: #ff0000;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-group {
    flex: 1;
    min-width: 200px;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}
.btn-submit {
    background: #ff0000;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-submit:hover {
    background: #cc0000;
    transform: translateY(-2px);
}
.btn-submit:active {
    transform: translateY(0);
}
.help-block.error-message {
    color: #ff0000;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1.2em;
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}
#form-result {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px;
}
#form-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#form-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* ============================================================
   PAGINA CONTATTI — SEZIONE MAPPA E INDICAZIONI
   ============================================================ */
.map-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}
.map-section-title {
    color: #ff0000;
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.map-divider {
    width: 60px;
    height: 3px;
    background: #ff0000;
    margin: 0 auto 2rem;
    border-radius: 2px;
}
.leaflet-popup-content-wrapper {
    border-radius: 10px !important;
}
.map-section #smarket-map {
    margin-top: 0.5rem;
	width:100%; height:420px; border-radius:14px; border:2px solid #ff0000; box-shadow: 0 6px 20px rgba(255,0,0,0.12);
}





.directions-section {
    margin-top: 3rem;
    text-align: left;
}
.directions-title {
    color: #ff0000;
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}
.directions-list {
    display: grid;
    gap: 1.25rem;
}
.directions-item {
    background: #f8f8f8;
    border-left: 4px solid #ff0000;
    border-radius: 8px;
    padding: 1.1rem 1.3rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.directions-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
}
.directions-item h3 {
    color: #1a1a1a;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.directions-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.directions-item .bus-list {
    font-weight: 600;
    color: #ff0000;
    letter-spacing: 0.5px;
}
@media (min-width: 640px) {
    .directions-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* PRIVACY PAGE */
.privacy-text{
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}
/* justify*/
.justify-text{
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}