:root {
    --cream-light: #f7f6fc;
    --brown-dark: #4a4780;
    --bronze: #807dc2;
    --bronze-light: #9a97d4;
    --bronze-dark: #6663a8;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --shadow: rgba(128, 125, 194, .1);
    --shadow-strong: rgba(128, 125, 194, .15);
    --transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

.footer {
    background: var(--brown-dark);
    color: var(--white);
    margin-top: auto
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    padding: 4rem 0 3rem
}

.footer-section {
    display: flex;
    flex-direction: column
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1)
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: .9;
    color: var(--white)
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .1);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.social-link:hover {
    background: var(--bronze);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #807dc24d
}

.social-link svg {
    width: 20px;
    height: 20px
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative
}

.footer-title:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--bronze);
    border-radius: 1px
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.footer-links a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: var(--transition);
    font-size: .95rem;
    padding: .25rem 0
}

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

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem
}

.footer-links-column {
    display: flex;
    flex-direction: column
}

.footer-contact-compact {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin: 1.5rem 0
}

.contact-compact-item {
    display: flex;
    align-items: center;
    gap: .75rem
}

.contact-compact-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--bronze);
    flex-shrink: 0
}

.contact-compact-link {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: .9rem;
    transition: var(--transition)
}

.contact-compact-link:hover {
    color: var(--bronze)
}

.contact-compact-text {
    color: rgba(255, 255, 255, .9);
    font-size: .9rem
}

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

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

.footer-copyright {
    margin: 0;
    opacity: .8;
    font-size: .9rem
}

.footer-bottom-links {
    display: flex;
    gap: 2rem
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: .9rem;
    transition: var(--transition)
}

.footer-bottom-links a:hover {
    color: var(--bronze)
}

.footer-developer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.developer-credit {
    margin: 0;
    font-size: .85rem;
    opacity: .7;
    color: rgba(255, 255, 255, .6);
}

.developer-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative
}

.developer-link:hover {
    color: var(--bronze);
    text-decoration: underline
}

.developer-link:before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--bronze);
    transition: width .3s ease
}

.developer-link:hover:before {
    width: 100%
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(.8);
    transition: var(--transition)
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1)
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #25d366;
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    box-shadow: 0 8px 25px #25d36666;
    transition: var(--transition);
    position: relative;
    overflow: hidden
}

.whatsapp-button:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px #25d36680
}

.whatsapp-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .6s
}

.whatsapp-button:hover:before {
    left: 100%
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    animation: pulse 2s infinite
}

.whatsapp-text {
    white-space: nowrap
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--brown-dark);
    color: var(--white);
    padding: .5rem 1rem;
    border-radius: 8px;
    font-size: .875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-bottom: .5rem
}

.whatsapp-tooltip:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 1rem;
    border: 6px solid transparent;
    border-top-color: var(--brown-dark)
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

@keyframes pulse {

    0%,
    to {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    to {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-10px)
    }

    60% {
        transform: translateY(-5px)
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    .footer-container {
        padding: 0 1.5rem
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem
    }

    .footer-bottom-links {
        justify-content: center
    }

    .footer-developer {
        margin-top: 1.5rem
    }

    .developer-credit {
        font-size: .8rem
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .footer-contact-compact {
        margin: 1rem 0;
        gap: .5rem
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem
    }

    .whatsapp-button {
        padding: .875rem 1.25rem;
        font-size: .9rem
    }

    .whatsapp-text {
        display: none
    }

    .whatsapp-button {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 2rem 0 1.5rem
    }

    .footer-social {
        justify-content: center
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem
    }

    .whatsapp-button {
        width: 56px;
        height: 56px
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px
    }
}

@media (prefers-reduced-motion: reduce) {

    .whatsapp-float,
    .whatsapp-button,
    .social-link,
    .footer-links a {
        transition: none
    }

    .whatsapp-icon {
        animation: none
    }
}

.social-link:focus,
.footer-links a:focus,
.footer-bottom-links a:focus,
.whatsapp-button:focus {
    outline: 2px solid var(--bronze);
    outline-offset: 2px
}

@media (prefers-contrast: high) {
    .footer {
        border-top: 3px solid var(--bronze)
    }

    .footer-links a:hover,
    .social-link:hover {
        background: var(--white);
        color: var(--brown-dark)
    }
}