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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-base);
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.form-control:focus,
.form-select:focus {
    color: var(--dark-color) !important;
    background-color: var(--gray-50) !important;
    border-color: var(--primary-color) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem var(--primary-20) !important;
}

body.blur-background .hero-section .carousel,
body.blur-background .services-section,
body.blur-background .vehicles-section,
body.blur-background .fleet-section,
body.blur-background .section-one,
body.blur-background .section-two,
body.blur-background .section-three,
body.blur-background .cta-section,
body.blur-background .footer {
    filter: blur(8px);
    transition: filter 0.4s ease;
}

.pika-single {
    z-index: 10001 !important;
}

.navbar {
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: none;
    transition: var(--transition-smooth);
    z-index: 1000;
    height: 120px;
}

body.blur-background .navbar {
    z-index: 10000;
}

.container-fluid {
    padding-left: 5.3rem !important;
    padding-right: 5.3rem !important;
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.hamburger-btn {
    background: none;
    border: none;
    padding: 0;
    width: 28px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hamburger-line {
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.25s ease;
    transform-origin: left center;
    align-self: flex-start;
}

.hamburger-line:nth-child(1) {
    width: 45%;
    transition-delay: 0s;
}

.hamburger-line:nth-child(2) {
    width: 100%;
    transition-delay: 0.05s;
}

.hamburger-line:nth-child(3) {
    width: 70%;
    transition-delay: 0.1s;
}

.hamburger-btn:hover .hamburger-line {
    width: 80%;
}

.hamburger-btn:hover .hamburger-line:nth-child(1) {
    transition-delay: 0s;
}

.hamburger-btn:hover .hamburger-line:nth-child(2) {
    transition-delay: 0.05s;
}

.hamburger-btn:hover .hamburger-line:nth-child(3) {
    transition-delay: 0.1s;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 50px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.navbar-brand img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.navbar-brand:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.language-selector {
    align-self: center;
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn:hover {
    background: var(--gray-50);
}

.lang-btn::after {
    display: none;
}

.flag-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    padding: 1px;
    background: white;
}

.flag-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    padding: 3px;
    background: white;
    margin-right: 0px;
}

.lang-code {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}


.language-selector .dropdown-item,
.user-selector .dropdown-item {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    border-radius: 0;
    font-size: .9rem;
    line-height: .8rem;
    color: var(--primary-color);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-selector .dropdown-item>*,
.user-selector .dropdown-item>* {
    transition: transform 0.2s ease;
}

.language-selector .dropdown-item:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateX(5px);
}

.user-selector .dropdown-item:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateX(5px);
}

.hamburger-btn:focus {
    outline: none;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-content {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.btn-close-search {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-close-search:hover {
    transform: rotate(90deg);
    color: var(--secondary-color);
}

.search-input {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    border: none;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-lighter-20);
}

.offcanvas-dark {
    width: 380px;
    background: #1a1a1a;
}

.offcanvas-dark .offcanvas-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.offcanvas-content {
    padding: 30px;
}

.offcanvas-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.offcanvas-subheading {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.5;
}

.offcanvas-contacts {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 2px;
}

.contact-item div {
    flex: 1;
}

.contact-item small {
    display: block;
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.offcanvas-social {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-social h6 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.offcanvas-actions {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-actions .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

.offcanvas-actions .form-check {
    padding-left: 0;
}

.offcanvas-actions .form-check-input {
    width: 48px;
    height: 24px;
    margin-right: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
}

.offcanvas-actions .form-check-input:checked {
    background-color: var(--primary-color);
}

.offcanvas-actions .form-check-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
}

.offcanvas-actions .form-check-label i {
    margin-right: 6px;
}

.hero-section {
    margin-top: 120px;
    padding-top: 0;
    padding-bottom: 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.hero-main-card {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: brightness(0.7) blur(1px);*/
}

.carousel-item {
    position: relative;
}

/*.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .8);
    pointer-events: none;
}*/

.carousel-indicators {
    bottom: auto;
    top: 50%;
    right: 2rem;
    left: auto;
    transform: translateY(-50%);
    flex-direction: column;
    margin: 0;
}

.carousel-indicators button {
    width: 2px;
    height: 60px;
    border-radius: 0;
    background-color: var(--white);
    opacity: 0.4;
    border: none;
    margin: 10px 0;
    text-indent: 0;
    transform: rotate(90deg);
    transform-origin: center;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--white);
}

.hero-text-box {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    background-color: rgba(0, 0, 0, .8);
    padding: 2.5rem 3rem;
    max-width: 550px;
    box-shadow: none;
    border-radius: 0 5px 0 5px;
    opacity: 0;
    transform: translateX(-40px) translateY(12px) scale(0.96);
    z-index: 10;
    transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1), transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-text-box.show {
    opacity: 0.95;
    transform: translateX(0) translateY(0) scale(1);
}

.hero-text-box .hero-category,
.hero-text-box .hero-main-title,
.hero-text-box .hero-line {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

.hero-text-box.show-content .hero-category,
.hero-text-box.show-content .hero-main-title,
.hero-text-box.show-content .hero-line {
    opacity: 1;
    transform: translateY(0);
}

.hero-category {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary-gradient);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-main-title {
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.07rem;
}

.hero-line {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-content {
    padding-right: 3rem;
}

.services-title {
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: -0.02rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.15;
}

.services-tabs {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
}

.service-tab {
    background: transparent;
    border: none;
    padding: 0 0 0 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    color: var(--gray-400);
    transition: color 0.3s ease;
    position: relative;
}

.service-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.2rem;
    background-color: var(--gray-300);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-tab:hover,
.service-tab.active {
    color: var(--dark-color);
}

.service-tab:hover::before,
.service-tab.active::before {
    background-color: var(--dark-color);
    transform: translateY(-50%) rotate(45deg);
}

.services-panel {
    padding-left: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 3rem;
}

.service-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-card i {
    font-size: 1.4rem;
    color: var(--dark-color);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.service-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    margin-bottom: 0.2rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.75;
    margin: 0;
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 3rem 0;
    }

    .services-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .services-content {
        padding-right: 0;
    }

    .services-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .services-tabs {
        flex-direction: column;
        gap: 1rem;
    }

    .service-tab {
        padding: 0 1rem 0 1.4rem;
        font-size: 0.7rem;
    }

    .service-tab::before {
        left: 0.4rem;
    }

    .services-mission {
        margin-top: 2rem;
    }

    .mission-title {
        font-size: 0.85rem;
    }

    .mission-text {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .mission-list li {
        font-size: 0.8rem;
        padding-left: 1.2rem;
    }

    .mission-list li::before {
        width: 6px;
        height: 6px;
        top: 0.35rem;
    }
}

.vehicles-section {
    padding: 0;
    background-color: var(--white);
}

.booking-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-400);
    cursor: pointer;
    transition: all var(--transition-smooth);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    text-decoration: none;
}

.fleet-section {
    padding: 1.5rem 0;
    background-color: var(--white);
}

.fleet-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--white);
    clip-path: polygon(0 15px, 15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.fleet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--gray-200);
    clip-path: polygon(0 15px, 15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    pointer-events: none;
    z-index: 1;
}

.fleet-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.section-one,
.section-three,
.section-two,
.debug-section {
    padding: 2rem 0 5rem;
    background-color: var(--primary-lighter-30);
    position: relative;
    margin: 0;
}

.section-two {
    background-color: var(--white);
}

@media (min-width: 1200px) {

    .section-one,
    .section-three,
    .debug-section {
        margin: 0 5.3rem;
    }
}

@media (max-width: 767.98px) {

    .section-one,
    .section-two,
    .section-three,
    .debug-section,
    .footer {
        margin: 0 !important;
    }
}

.section-emblem-block {
    display: flex;
    justify-content: flex-start;
}

.section-emblem-block-right {
    justify-content: flex-end;
}

.section-emblem {
    max-width: 200px;
    width: 100%;
    margin-bottom: 0;
}

.section-one-heading,
.section-three-heading {
    padding-right: 2rem;
}

.section-one-label,
.section-three-label,
.section-two-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.section-one-title,
.section-three-title,
.section-two-title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--dark-color);
    margin: 0;
    letter-spacing: -.1rem;
    text-transform: uppercase;
}

.section-one-content,
.section-three-content,
.section-two-content {
    padding-left: 2rem;
    margin-top: 2.4rem;
}

.section-one-text,
.section-two-text,
.section-three-text {
    font-size: .95rem;
    color: var(--dark-color);
    opacity: 0.91;
    margin: 0 0 1rem 0;
    letter-spacing: -.04rem;
    line-height: 1.4rem;
}

.section-one-link,
.section-three-link,
.section-two-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    color: var(--dark-color);
    text-decoration: none;
    border-bottom: 2px solid var(--dark-color);
    padding-bottom: 0.25rem;
    transition: opacity 0.3s ease;
}

.section-one-link:hover,
.section-three-link:hover {
    opacity: 0.6;
}

.section-two-heading {
    text-align: right;
}

@media (min-width: 1200px) {

    .section-two,
    .section-three,
    .footer {
        margin: 0 5.3rem;
    }
}

.hero-small-card {
    position: relative;
    height: 36vh;
    min-height: 240px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.hero-small-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-small-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, var(--bg-overlay), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.hero-small-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.cta-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.btn-cta {
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .container-fluid {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }

    .hero-section {
        margin-top: 120px;
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .hero-main-card {
        height: 60vh;
        min-height: 400px;
    }

    .hero-text-box {
        bottom: 2rem;
        left: 2rem;
        padding: 2rem;
        max-width: 320px;
    }

    .hero-main-title {
        font-size: 1.5rem;
    }

    .hero-small-card {
        height: 30vh;
        min-height: 200px;
    }

    .cta-section {
        text-align: center;
    }

    .cta-section .col-lg-4 {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar-brand {
        font-size: 0.875rem;
        padding: 0.4rem 1.2rem;
        letter-spacing: 2px;
    }

    .hero-section {
        margin-top: 120px;
        padding-top: 0;
        padding-bottom: 1.5rem;
    }

    .hero-main-card {
        height: 50vh;
        min-height: 350px;
    }

    .hero-text-box {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 1.5rem;
        max-width: none;
    }

    .hero-category {
        font-size: 0.65rem;
        color: var(--text-muted);
    }

    .hero-main-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .hero-line {
        width: 40px;
    }

    .hero-small-card {
        height: 25vh;
        min-height: 180px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .hero-text-box {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 1.5rem;
        max-width: none;
    }

    .hero-category {
        font-size: 0.65rem;
    }

    .hero-main-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .hero-line {
        width: 40px;
    }

    .hero-small-card {
        height: 25vh;
        min-height: 180px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .hero-text-box {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 1.5rem;
        max-width: none;
    }

    .hero-category {
        font-size: 0.65rem;
    }

    .hero-main-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .hero-text-box {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 1.5rem;
        max-width: none;
    }

    .hero-category {
        font-size: 0.65rem;
    }

    .hero-main-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .hero-line {
        width: 40px;
    }

    .hero-small-card {
        height: 25vh;
        min-height: 180px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

.booking-feedback.success {
    color: #1f8f5f;
}

.booking-feedback.error {
    color: #b3261e;
}

.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 5rem 0 3rem;
    margin-top: 2rem;
}

.footer .container-fluid {
    padding-left: 6rem;
    padding-right: 6rem;
}

@media (max-width: 991.98px) {
    .footer .container-fluid {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

.footer-logo-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-location {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-location-left,
.footer-location-center,
.footer-location-right {
    text-align: center;
}

.footer-location-left .footer-contact-group,
.footer-location-center .footer-contact-group,
.footer-location-right .footer-contact-group {
    align-items: inherit;
    text-align: inherit;
}

@media (min-width: 992px) {
    .footer-location-left {
        text-align: left;
        align-items: flex-start;
    }

    .footer-location-center {
        text-align: center;
        align-items: center;
    }

    .footer-location-right {
        text-align: right;
        align-items: flex-end;
    }

    .footer-location-left .footer-contact-group {
        align-items: flex-start;
        text-align: left;
    }

    .footer-location-left .footer-contact-label {
        text-align: left;
    }

    .footer-location-center .footer-contact-group {
        align-items: center;
        text-align: center;
    }

    .footer-location-center .footer-contact-label {
        text-align: center;
    }

    .footer-location-right .footer-contact-group {
        align-items: flex-end;
        text-align: right;
    }

    .footer-location-right .footer-contact-label {
        text-align: right;
    }
}

.footer-location-code {
    font-size: 3rem;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 1rem 0;
    letter-spacing: -0.08rem;
}

@media (max-width: 991.98px) {
    .footer-location-code {
        font-size: 3rem;
    }
}

.footer-location-city {
    font-size: 1rem;
    color: var(--white);
    margin: 0 0 0.5rem 0;
}

.footer-location-address {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.footer-contact-group {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-contact-label {
    font-size: 0.875rem;
    color: var(--white);
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.footer-contact-link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    position: relative;
    transition: var(--transition-smooth);
}

.footer-contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

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

.footer-contact-link:hover::after {
    width: 100%;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-nav a {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    position: relative;
    transition: var(--transition-smooth);
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

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

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin: 0;
}

.footer-social-links {
    display: flex;
    gap: 1.5rem;
}

.footer-social-text {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    position: relative;
    transition: var(--transition-smooth);
}

.footer-social-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.footer-social-text:hover {
    color: var(--white);
}

.footer-social-text:hover::after {
    width: 100%;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    position: relative;
    transition: var(--transition-smooth);
}

.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

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

.footer-legal-link:hover::after {
    width: 100%;
}

.footer-extra {
    background-color: var(--white);
    padding: 2rem 0.5rem;
    text-align: center;
}

.footer-extra-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-extra-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: .5rem;
    filter: invert(1) brightness(0.2);
}

.footer-extra-title,
.footer-extra-text,
.footer-extra-visitors,
.footer-extra-thanks,
.footer-extra-company-text {
    font-size: .8rem;
    color: var(--dark-color);
    margin-bottom: 0;
    opacity: 0.8;
    letter-spacing: -.025rem;
}

.footer-extra-visitors strong {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-extra-company {
    margin-top: 2rem;
}

.footer-extra-company-text i {
    color: var(--primary-color);
}

.booking-debug-container {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.booking-debug-header {
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: -0.02rem;
    margin: 0;
}

.booking-debug-header i {
    color: var(--primary-color);
}

.booking-debug-tab {
    color: var(--gray-400);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.booking-debug-stat-box {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--gray-100);
}

.booking-debug-stat-label {
    color: var(--gray-400);
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-weight: 600;
}

.booking-debug-stat-value {
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
}

.booking-debug-highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.booking-debug-highlight-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-weight: 600;
}

.booking-debug-highlight-value {
    color: var(--white);
    font-weight: 700;
    margin: 0;
    font-size: 1.3rem;
}

.booking-debug-details {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--gray-100);
    min-height: 60px;
}

.booking-debug-solution {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.booking-debug-solution-divider {
    border-top: 1px solid var(--gray-100);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.booking-debug-solution-name {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0;
}

.booking-debug-solution-capacity {
    color: var(--gray-400);
    font-size: 0.75rem;
    margin: 0.25rem 0 0 0;
}

.booking-debug-solution-price {
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.booking-debug-solution-distance {
    color: var(--gray-400);
    font-size: 0.7rem;
    margin: 0;
}

.booking-debug-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.booking-debug-placeholder {
    color: var(--gray-400);
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
}

.booking-debug-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
}

.custom-dropdown {
    position: relative;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.custom-dropdown::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    position: absolute;
    right: -0.65rem;
    top: 30%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform var(--transition-fast);
    pointer-events: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    background: #fafafa;
    padding: 1px 10px;
}

.custom-dropdown.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-input {
    cursor: pointer;
    width: 100%;
    font-size: 0.95rem;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
    padding-right: 3.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    background-color: var(--white);
    border: 0 !important;
    border-radius: 6px;
    margin-top: 0.35rem;
    padding: 0;
    list-style: none;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
    pointer-events: none;
}

.dropdown-menu-custom.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu-custom li {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu-custom li .autocomplete-icon {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--primary-color);
}

.dropdown-menu-custom li .autocomplete-icon i {
    color: inherit;
}

.dropdown-menu-custom li .autocomplete-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu-custom li .autocomplete-badge {
    flex-shrink: 0;
    color: var(--success-color);
    font-size: 0.85rem;
}

.dropdown-menu-custom li:hover,
.dropdown-menu-custom li.selected {
    background-color: var(--primary-color);
    color: var(--white);
}

.dropdown-menu-custom li:hover .autocomplete-icon,
.dropdown-menu-custom li.selected .autocomplete-icon {
    color: var(--white) !important;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 0.25rem;
    list-style: none;
    padding: 0;
    display: none;
}

.autocomplete-results li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.autocomplete-results li:last-child {
    border-bottom: none;
}

.autocomplete-results li:hover {
    background: var(--bg-light);
}

.autocomplete-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========================================
   DROPDOWN MENU - TUTTE LE CLASSI
======================================== */
.language-selector .dropdown-menu {
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    padding: 8px;
}

.booking-input-body .custom-dropdown .dropdown-menu-custom {
    left: calc(-1 * (1.1rem + 0.75rem));
    right: 0;
    width: auto;
}

/* ========================================
   BOOKING - TUTTE LE CLASSI
======================================== */
.booking-card {
    background-color: var(--white);
    padding: 2rem;
    border: 1px solid var(--secondary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 10;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.booking-card:focus-within {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10500;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--primary-color);
    opacity: 0;
    pointer-events: none;
}

.booking-card:focus-within::before {
    opacity: 1;
    animation: drawBorder 1.5s ease-in-out forwards;
}

@keyframes drawBorder {
    0% {
        clip-path: inset(0 100% 100% 0);
    }

    25% {
        clip-path: inset(0 0 100% 0);
    }

    50% {
        clip-path: inset(0 0 0 100%);
    }

    75% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

.booking-card-header {
    text-align: left;
}

.booking-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}

.booking-tab {
    border: none;
    background-color: var(--gray-50);
    padding: 0.9rem;
    border-radius: 0;
    font-size: .9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    color: var(--text-muted);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.booking-tab:hover {
    background-color: var(--primary-60);
    color: var(--white) !important;
}

.booking-tab:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.booking-tab:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.booking-tab i {
    font-size: 1.25rem;
}

.booking-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.booking-label {
    font-size: 1.75rem;
    letter-spacing: 0.03rem;
    color: var(--primary-color);
    font-weight: 400;
}

.booking-title-main {
    text-transform: uppercase;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: -.12rem;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 0;
}

.booking-title-sub {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: .7rem;
    line-height: 1;
    letter-spacing: .22rem;
}

.booking-subtitle {
    font-size: .9rem;
    letter-spacing: -.02rem;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.1rem;
}

.booking-text {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    letter-spacing: -.02rem;
    font-weight: 400;
}

.booking-field {
    margin-bottom: 1rem;
}

.booking-input-card {
    background-color: var(--gray-50);
    border: 1px solid var(--black-10);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.booking-input-card:focus-within {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px var(--primary-20) !important;
}

.booking-input-card.is-invalid {
    border-color: var(--danger-color) !important;
    animation: shake 0.5s;
}

.booking-input-card.is-invalid .booking-input-body i {
    color: var(--danger-color) !important;
}

.booking-input-card.is-invalid .booking-input-label {
    color: var(--danger-color) !important;
    animation: blink 1s infinite;
}

.booking-input-label {
    font-size: 0.6rem;
    line-height: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    color: var(--dark-color);
    opacity: 0.7;
    text-align: left;
    display: block;
}

.booking-input-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.booking-input-body i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.booking-input-body .form-control,
.booking-input-body .form-select {
    border: none !important;
    background: transparent;
    padding: 0;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    color: var(--primary-color) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-input-body .form-control:focus,
.booking-input-body .form-select:focus {
    outline: none;
    box-shadow: none !important;
    background: transparent !important;
}

.booking-input-body .form-control:-webkit-autofill,
.booking-input-body .form-control:-webkit-autofill:hover,
.booking-input-body .form-control:-webkit-autofill:focus,
.booking-input-body .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--gray-50) inset !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

.booking-input-body .form-control:not(:placeholder-shown),
.booking-input-body .form-select:not([value=""]),
.booking-input-body .dropdown-input:not([value=""]) {
    color: var(--primary-color) !important;
    font-weight: normal;
}

.booking-input-body .form-select {
    padding-right: 1.5rem;
}

.booking-input-body .form-select option {
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: -0.02rem;
    text-transform: uppercase;
}

.booking-input-body input::placeholder {
    color: var(--text-muted);
    font-weight: normal;
    font-size: 0.95rem;
    opacity: 0.7;
    letter-spacing: -.025rem;
    text-transform: none;
}

.booking-field:hover .booking-input-card,
.booking-field:focus-within .booking-input-card {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-20);
}

.booking-swap-container {
    position: relative;
    height: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 10;
}

.swap-btn {
    position: relative;
    top: -30px;
    right: -15px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--black-10);
    background-color: var(--gray-50);
    color: var(--secondary-color);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    opacity: 0;
}

.swap-btn i {
    font-size: 1.5rem;
    transform: rotate(90deg);
}

.swap-btn.show {
    display: flex;
    animation: fadeInScale 0.3s ease forwards;
}

.swap-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0.3;
    }
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-20);
}

.btn-booking {
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 2px;
    font-weight: 400;
    letter-spacing: .07rem;
    transition: var(--transition-smooth);
    margin: 1rem 0 !important;
    text-transform: uppercase;
}

.btn-booking:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.booking-info {
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.booking-info i {
    margin-right: 0.35rem;
    color: var(--secondary-color);
}

.booking-feedback {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-provider {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 991.98px) {
    .booking-card {
        margin-top: 2rem;
    }

    .booking-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .booking-card {
        padding: 1rem;
    }

    .booking-tabs {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
    }

    .booking-tab {
        flex: 1;
        font-size: 0.7rem;
        padding: 0.6rem 0.3rem;
        text-align: center;
        align-items: center;
        white-space: nowrap;
    }

    .booking-tab i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
}

.autocomplete-badge {
    margin-left: auto;
    color: var(--success-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.elegant-calencar {
    width: 390px;
    text-align: center;
    position: absolute !important;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--black-30);
    background: var(--white);
    z-index: 99999 !important;
}

.wrap-header {
    position: relative;
    width: 100%;
    background: var(--dark-color);
    padding: 20px 0;
}

#header {
    width: 100%;
    position: relative;
}

#header .pre-button,
#header .next-button {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

#header .pre-button i,
#header .next-button i {
    color: var(--white);
}

.pre-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.head-day {
    font-size: 4em;
    line-height: 1;
    color: var(--white);
    font-weight: 700;
}

.head-month {
    font-size: 1.125rem;
    line-height: 1;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.5rem;
}

.calendar-wrap {
    width: 100%;
    background: var(--white);
    padding: 20px;
}

#calendar {
    width: 100%;
}

#calendar tr {
    height: 2.5rem;
}

thead tr {
    color: var(--gray-400);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

tbody tr {
    color: var(--gray-500);
}

tbody td {
    width: 14%;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease-in;
    position: relative;
    z-index: 0;
    font-size: 0.9375rem;
}

tbody td:after {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    width: 36px;
    height: 36px;
    margin: 0 auto;
    transform: translateY(-50%);
    border-radius: 50%;
    transition: 0.3s;
    z-index: -1;
}

tbody td:hover,
.selected {
    color: var(--white);
    border: none;
}

tbody td:hover:after,
.selected:after {
    background: var(--dark-color);
}

tbody td:active {
    transform: scale(0.9);
}

#today {
    color: var(--primary-color);
    font-weight: 700;
}

#disabled {
    cursor: default;
    background: var(--white);
    color: var(--gray-200);
}

#disabled:hover {
    background: var(--white);
    color: var(--gray-200);
}

#disabled:hover:after {
    background: transparent;
}

#reset {
    display: none;
}

@media (max-width: 768px) {
    .elegant-calencar {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 96vw !important;
        max-width: 400px !important;
        z-index: 99999 !important;
    }
}

@media (min-width: 769px) {
    .elegant-calencar {
        transform: none !important;
    }
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

.modal.fade .modal-dialog {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-backdrop.fade {
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-content {
    border-radius: 3px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
}

.modal-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4.2rem;
    background: var(--white);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 25px 40px 35px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--dark-color);
    opacity: 0.91;
    margin: 0 0 1rem 0;
    letter-spacing: -0.04rem;
    line-height: 1.4rem;
}

.modal-message-error {
    color: var(--white);
    background: var(--danger-color);
    padding: 10px 15px;
    border-radius: 3px;
    font-size: 0.95rem;
    letter-spacing: .03rem;
    animation: fadeInDown 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    text-align: center;
}

.modal-message-success {
    color: var(--white);
    background: var(--primary-color);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: -0.03rem;
    animation: fadeInDown 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-8px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(8px);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
        padding: 0;
        margin: 0;
    }
}

.modal-message-error.shake {
    animation: fadeInDown 0.3s ease-out, shake 0.5s ease-in-out;
}

.modal-message-error.hide,
.modal-message-success.hide {
    animation: zoomOut 0.4s ease-out forwards;
}

@media (max-width: 767.98px) {
    .modal-body {
        padding: 25px 0px 35px !important;
    }
}

#modal_info_body {
    font-size: 0.95rem;
    letter-spacing: -0.025rem;
    line-height: 1.2rem;
    font-weight: 400;
    padding: 0 0 5px;
}

.modal-icon-primary {
    color: var(--white);
    background: var(--primary-color);
    font-size: 2rem;
    border: 6px solid var(--white);
}

.modal-title-primary {
    color: var(--primary-color);
}


#modal_login .alert-success {
    background: transparent !important;
    border: none !important;
    color: var(--primary-color) !important;
    padding: 0 !important;
    font-weight: 600;
}

#modal_login .alert-danger {
    background: transparent !important;
    border: none !important;
    color: var(--danger-color) !important;
    padding: 0 !important;
    font-weight: 600;
}

.modal-btn {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 60%;
    font-weight: 600;
    letter-spacing: 0.2rem;
    padding: 12px;
    border: .3rem solid var(--white) !important;
    border-radius: 2px;
    color: var(--white);
}

.modal-btn-group {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    width: 80%;
}

.modal-btn-group .btn {
    min-width: 120px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-primary-custom:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.floating-button {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.floating-button-success {
    background: #28a745;
    color: white;
}

.floating-button-success:hover {
    background: #218838;
}

.floating-button-error {
    background: #dc3545;
    color: white;
}

.floating-button-error:hover {
    background: #c82333;
}

.floating-button-alert {
    background: #fd7e14;
    color: white;
}

.floating-button-alert:hover {
    background: #e96b0c;
}

.floating-button-info {
    background: #17a2b8;
    color: white;
}

.floating-button-info:hover {
    background: #138496;
}

.floating-button-confirm {
    background: var(--primary-color);
    color: white;
}

.floating-button-confirm:hover {
    background: var(--secondary-color);
}

.floating-button-cancel {
    background: #6c757d;
    color: white;
}

.floating-button-cancel:hover {
    background: #5a6268;
}

body.loading {
    overflow: hidden;
}

body.loading .container,
body.loading nav,
body.loading footer {
    opacity: 0 !important;
    visibility: hidden !important;
}

#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#page-preloader .preloader-content {
    text-align: center;
}

#page-preloader .spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.4rem;
}

#page-preloader p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05rem;
}

/* Stile per traduzioni mancanti */
.trad-missing {
    display: inline-block;
    transition: all 0.2s ease;
}

body.edit-mode .trad-missing {
    background: #fff3cd;
    border: 1px dashed #ffc107;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
}

body.edit-mode .trad-missing:hover {
    background: #ffc107;
    color: #000;
    border-style: solid;
}

/* Stile per traduzioni esistenti con icona edit */
.trad-exists {
    position: relative;
    display: inline-block;
}

.trad-edit-icon {
    display: none;
    font-size: 12px;
    color: var(--primary-color);
    margin-left: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

body.edit-mode .trad-edit-icon {
    display: inline;
    opacity: 0;
}

body.edit-mode .trad-exists:hover .trad-edit-icon {
    opacity: 1;
}

.trad-edit-icon:hover {
    color: var(--primary-dark);
}

/* Modal editing traduzione */
.trad-edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.trad-edit-modal.active {
    display: flex;
}

.trad-edit-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    pointer-events: auto;
    position: relative;
    z-index: 1000000;
}

.trad-edit-box h3 {
    margin: 0 0 20px 0;
    color: var(--dark-color);
    font-size: 20px;
}

.trad-edit-box .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: block;
}

.trad-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
}

.trad-format-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #495057;
}

.trad-format-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.trad-toolbar-separator {
    width: 1px;
    height: 24px;
    background: #dee2e6;
    margin: 0 4px;
}

.trad-color-select,
.trad-weight-select {
    height: 32px;
    padding: 0 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    background: white;
    font-size: 13px;
    min-width: 120px;
}

.trad-edit-box .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
}

.trad-edit-box .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.trad-edit-modal input,
.trad-edit-modal textarea,
.trad-edit-modal select,
.trad-edit-modal button,
.modal input,
.modal textarea,
.modal select,
.modal button {
    pointer-events: auto !important;
    user-select: auto !important;
}

.trad-edit-box .btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.trad-edit-box .btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trad-edit-box .btn-save {
    background: var(--primary-color);
    color: white;
}

.trad-edit-box .btn-save:hover {
    background: var(--primary-dark);
}

.trad-edit-box .btn-cancel {
    background: var(--gray-200);
    color: var(--dark-color);
}

.trad-edit-box .btn-cancel:hover {
    background: var(--gray-300);
}

.trad-info {
    background: var(--gray-50);
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.trad-info code {
    background: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    color: var(--primary-color);
}

/* ============================================
   TRANSLATION EDITOR - TASTO DESTRO
   ============================================ */

/* Nascondi matitina, usiamo tasto destro */
.trad-edit-icon {
    display: none !important;
}

/* Elementi editabili */
body.edit-mode [data-trad],
body.edit-mode [data-key],
body.edit-mode .trad-exists,
body.edit-mode .trad-missing {
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    pointer-events: auto;
}

/* Hover su elementi editabili */
body.edit-mode [data-trad]:hover,
body.edit-mode [data-key]:hover,
body.edit-mode .trad-exists:hover,
body.edit-mode .trad-missing:hover {
    outline: 2px dashed var(--primary-color);
    outline-offset: 2px;
    background: rgba(var(--primary-color-rgb, 0, 123, 255), 0.05);
}

/* Traduzioni mancanti */
body.edit-mode .trad-missing {
    background: #fff3cd;
    border: 1px dashed #ffc107;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
}

body.edit-mode .trad-missing:hover {
    background: #ffc107;
    color: #000;
    border-style: solid;
}

/* Icona edit per traduzioni esistenti */
.trad-edit-icon {
    display: none;
    margin-left: 4px;
    font-size: 0.8em;
    color: var(--primary-color);
    transition: opacity 0.2s ease;
}

body.edit-mode .trad-edit-icon {
    display: inline;
    opacity: 0;
}

body.edit-mode .trad-exists:hover .trad-edit-icon {
    opacity: 1;
}

/* Indicatore visivo edit mode attivo */
body.edit-mode::before {
    content: '✏️ EDIT MODE';
    position: fixed;
    top: 120px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.offcanvas {
    width: 320px !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

@media (max-width: 767.98px) {
    .offcanvas {
        width: calc(100% - 16px) !important;
        height: calc(100% - 16px) !important;
        border-radius: 2px !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) scale(0.9) !important;
        opacity: 0 !important;
        background: var(--primary-color) !important;
        color: var(--white) !important;
    }

    .offcanvas.show {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1 !important;
    }

    .offcanvas-body {
        padding: 20px;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .offcanvas-body::-webkit-scrollbar {
        display: none;
    }

    .offcanvas-header {
        border-bottom-color: rgba(255, 255, 255, 0.2) !important;
    }

    .offcanvas-title {
        color: var(--white) !important;
    }

    .offcanvas-section {
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }

    .offcanvas-section-title {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .offcanvas-menu-link {
        color: var(--white) !important;
    }

    .offcanvas-menu-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }
}

@media (min-width: 768px) {
    .offcanvas.offcanvas-end {
        transform: translateX(100%);
    }

    .offcanvas.show {
        transform: translateX(0);
    }
}

.offcanvas-backdrop.fade {
    transition: opacity 0.3s ease;
}

.offcanvas-backdrop.show {
    opacity: 0.5;
}

.offcanvas-header {
    padding: 1.5rem;
}

.offcanvas-title {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.offcanvas-body {
    padding: 0;
}

.offcanvas-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.offcanvas-section:last-child {
    border-bottom: none;
}

.offcanvas-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.offcanvas-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-menu-list li {
    margin-bottom: 0.5rem;
}

.offcanvas-menu-list li:last-child {
    margin-bottom: 0;
}

.offcanvas-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.offcanvas-menu-link:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.offcanvas-menu-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.riepilogo-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.riepilogo-elegant-box {
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.riepilogo-elegant-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}

.riepilogo-elegant-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.riepilogo-elegant-content strong {
    color: #000;
    font-weight: 600;
}

.riepilogo-elegant-content .row {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.riepilogo-elegant-content .row:last-child {
    border-bottom: none;
}

.riepilogo-elegant-content .mt-3 {
    border-top: 2px solid var(--primary-color);
    padding-top: 20px !important;
    margin-top: 20px !important;
}

.riepilogo-debug-section {
    padding: 15px;
    margin: 20px 0;
    border-left: 3px solid var(--primary-color);
    background: #f8f9fa;
}

.riepilogo-debug-title {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

.riepilogo-city-label {
    color: #5cb85c;
}

.riepilogo-filiale-info {
    font-size: 0.9em;
    color: #999;
}

.riepilogo-match-success {
    color: green;
    font-weight: bold;
}

.riepilogo-match-fail {
    color: #d9534f;
}

.riepilogo-badge-best {
    background: #5cb85c;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
}

.riepilogo-flat-info {
    color: #5cb85c;
    font-size: 0.9em;
}

.riepilogo-km-info {
    color: #999;
    font-size: 0.9em;
}

.riepilogo-supplement {
    color: #d9534f;
}

.riepilogo-discount {
    color: #5cb85c;
}

.riepilogo-pernottamento {
    color: #f0ad4e;
}

.riepilogo-total {
    font-size: 1.2em;
    font-weight: bold;
}

.riepilogo-debug-info {
    color: #999;
    font-size: 0.9em;
}

.riepilogo-debug-box {
    background: #f8f9fa;
    margin: 1rem 0;
    font-size: 13px;
    line-height: 1.1rem;
}