

.scroll-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px) scale(1.08);
}

@media (max-width: 1023px) {
    .scroll-to-top {
        bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 600px) {
    .scroll-to-top {
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo img,
.footer-logo [data-saas-brand="logo"] {
    max-height: 40px;
    height: 40px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    align-items: flex-start;
}

.footer-logo-premium {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: -2px;
}

.footer-logo-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.8px;
    text-transform: lowercase;
    font-style: italic;
    margin-left: 2px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 18rem;
}

.footer-brand-email {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.15rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}
.footer-brand-email i {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
}
.footer-brand-email:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-year {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-contact-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-contact-icon.phone {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.footer-contact-icon.phone:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.footer-contact-icon.whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    color: white;
}

.footer-contact-icon.whatsapp:hover {
    background: linear-gradient(135deg, var(--color-whatsapp-dark), var(--color-whatsapp-darker));
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--color-whatsapp) 40%, transparent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-links a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.75);
    width: 16px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    color: white;
}

.social-link.whatsapp:hover {
    background: linear-gradient(135deg, var(--color-whatsapp-dark), var(--color-whatsapp-darker));
    transform: translateY(-2px);
}

.social-link.phone {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.social-link.phone:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    transform: translateY(-2px);
}

.footer-badges {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.badges-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
    justify-items: stretch;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.badge-item i {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    min-width: 16px;
    text-align: center;
}

.badge-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
}

.ssl-badge i {
    color: #28a745;
}

.ssl-badge:hover {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
}

.footer-contact-simple,
.footer-company-simple {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.contact-item,
.company-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-item i,
.company-item i {
    color: rgba(255, 255, 255, 0.55);
    width: 14px;
    margin-top: 0.2rem;
    text-align: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-item--address span {
    color: rgba(255, 255, 255, 0.62);
}

.contact-item a,
.company-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover,
.company-item a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-cities {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cities-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.footer-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.footer-region {
    margin-bottom: 1rem;
}

.region-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.region-cities {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.city-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.15rem 0;
    transition: all 0.3s ease;
    display: block;
    border-bottom: 1px solid transparent;
}

.city-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    padding-left: 0.5rem;
}

.city-link::after {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.city-link.available::after {
    content: "🚗";
    color: #28a745;
}

.city-link.unavailable::after {
    content: "⏳";
    opacity: 0.8;
}

.city-link:hover {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.1));
    border-color: var(--color-primary);
    transform: translateX(8px) scale(1.02);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.city-link:hover::before {
    transform: scaleY(1);
}

.city-link:hover::after {
    transform: scale(1.2) rotate(5deg);
}

.city-link.available:hover {
    background: linear-gradient(145deg, rgba(40, 167, 69, 0.2), rgba(34, 139, 58, 0.1));
    border-color: rgba(40, 167, 69, 0.4);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.city-link.available:hover::before {
    background: linear-gradient(to bottom, #28a745, #1e7e34);
}

.city-link.unavailable {
    opacity: 0.85;
}

.city-link.unavailable:hover {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.2), rgba(227, 172, 6, 0.1));
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.city-link.unavailable:hover::before {
    background: linear-gradient(to bottom, var(--color-primary), #e3ac06);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.1rem 0 0.25rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.45;
}

.footer-logo-small {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.footer-firma,
[class$="-footer-firma"] {
    --ff-label: rgba(255, 255, 255, 0.9);
    --ff-text: rgba(255, 255, 255, 0.58);
    --ff-muted: rgba(255, 255, 255, 0.42);
    --ff-line: rgba(255, 255, 255, 0.1);
    --ff-panel: transparent;
    width: 100%;
    margin: 1.15rem 0 0;
    padding: 1rem 0 0;
    border: 0;
    border-top: 1px solid var(--ff-line);
    border-radius: 0;
    background: var(--ff-panel);
    overflow: visible;
}
.footer-firma-head,
[class$="-footer-firma-head"] {
    margin: 0 0 0.7rem;
}
.footer-firma h3,
[class$="-footer-firma"] h3 {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ff-label);
}
.footer-firma-grid,
[class$="-footer-firma-grid"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.35rem;
    margin: 0;
}
.footer-firma-row,
[class*="-footer-firma-row"] {
    display: grid;
    gap: 0.08rem;
    margin: 0;
    min-width: 0;
}
.footer-firma-row--wide,
[class*="-footer-firma-row--wide"] {
    grid-column: 1 / -1;
}
.footer-firma-row dt,
[class*="-footer-firma-row"] dt {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ff-label);
}
.footer-firma-row dd,
[class*="-footer-firma-row"] dd {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--ff-text);
    word-break: normal;
    overflow-wrap: break-word;
}
.footer-firma-note,
[class$="-footer-firma-note"] {
    margin: 0.75rem 0 0;
    padding-top: 0.7rem;
    border-top: 1px solid var(--ff-line);
    width: 100%;
    max-width: none;
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--ff-muted);
}
@media (max-width: 640px) {
    .footer-firma-grid,
    [class$="-footer-firma-grid"] {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
}

.footer-policies {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.policy-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

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

.policy-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.policy-link:hover::before {
    width: 100%;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact p,
    .footer-contact a {
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-policies {
        justify-content: center;
    }
    
    .footer-logo-premium {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .footer-logo-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .badges-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .badge-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-policies {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .separator {
        display: none;
    }
    
    .policy-link {
        padding: 0.8rem 1.5rem;
        border: 1px solid #555;
        border-radius: 25px;
        background: rgba(255,255,255,0.05);
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: block;
    }
}

