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

body {
    margin: 0;
    background-color: #fff;
    color: #1a1a1a;
}

svg{
    width: 25px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.1);
    z-index: 100;
}

.nav {
    position: relative;
    top: -25px;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1.2rem;

}

.nav__close,
.nav__toggle,
.nav__search-btn {
    display: flex;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
}

/*=============== SEARCH ===============*/
.nav__search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
}

.nav__search.show-search {
    opacity: 1;
    visibility: visible;
}



.nav__search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.5rem;
    color: #1a1a1a;
    background: transparent;
}

.nav__search-input::placeholder {
    color: #333;
    font-size: 1.2rem;
}

.nav__search-icon {
    color: #333;
    font-size: 1rem;
    margin-right: 1rem;
}

.nav__search-close {
    position: absolute;
    top: .8rem;
    right: 2rem;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform .3s;
}

.nav__search-close:hover {
    transform: rotate(90deg);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.search-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px;
    display: flex;
    align-items: center;
    max-width: 500px;
    width: 100%;
    border: 2px solid rgba(59, 19, 35, 0.5);
    transition: all 0.3s ease;
    position: relative;
}
.search-icon {
    position: absolute;
    left: 20px;
    color: #999;
    font-size: 18px;
    z-index: 1;
    transition: color 0.3s ease;
}
.search-container:focus-within .search-icon {
    color: #C2185B;
}
.search-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.search-container:focus-within {
    box-shadow: 0 12px 40px rgba(194, 24, 91, 0.2);
    border-color: rgba(194, 24, 91, 0.3);
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px 16px 50px;
    font-size: 16px;
    background: transparent;
    color: #333;
    font-weight: 300;
    letter-spacing: 0.3px;
}
.search-input::placeholder {
    color: #999;
    font-weight: 300;
}
.search-btn {
    background: linear-gradient(135deg, #C2185B 0%, #ff4b93 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn:hover {
    background: linear-gradient(135deg, #C2185B 0%, #ff3988 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.search-btn:active {
    transform: scale(0.98);
}
/* Animación sutil para el contenedor */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}
.search-container {
    animation: float 6s ease-in-out infinite;
}
/* Responsive */
@media (max-width: 600px) {
    .search-container {
        max-width: 90%;
        margin-left: 20px;
        width: 400px;
    }
    .search-input {
        padding: 14px 16px 14px 46px;
        margin-left: -9px;
        font-size: 16px;
    }
    .search-icon {
        left: 16px;
        font-size: 16px;
    }
    .search-btn {
        padding: 10px 26px;
        min-width: 44px;
        height: 40px;
        margin-left: -100px;
    }
}
/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
    .nav__logo {

        width: 80px;
        height: 80px;
        margin-top: -10px;
    }
    .nav__menu {
        position: fixed;
        left: -100%;
        top: 0;
        background-color: #fff;
        width: 100%;
        height: 100%;
        padding: 6rem 3.5rem 4.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: left .4s;
        box-shadow: 2px 0 16px hsla(0, 0%, 0%, 0.1);
        z-index: 102;
    }


    .nav__item {
        transform: translateX(-150px);
        visibility: hidden;
        transition: transform .4s ease-out, visibility .4s;
    }

    .nav__item.desktop-only {
        display: none;
    }
}


.nav__list,
.nav__social {
    display: flex;
}

.nav__list {
    flex-direction: column;
    row-gap: 3rem;
}

.nav__link {
    position: relative;
    color: #1a1a1a;
    font-size: 2    rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: opacity .4s;
}

.nav__link i {
    font-size: 2rem;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
    color: #333;
}

.nav__link span {
    position: relative;
    font-size: 1.1rem ;
    top: 5px;
    transition: margin .4s;
}

.nav__link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #1a1a1a;
    transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
    margin-left: 2.5rem;
}

.nav__link:hover i {
    opacity: 1;
    visibility: visible;
}

.nav__link:hover span::after {
    width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
    opacity: .4;
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.nav__social {
    column-gap: 1rem;
}

.nav__social-link {
    color: #1a1a1a;
    font-size: 1.5rem;
    transition: transform .4s, color .4s;
}

.nav__social-link:hover {
    transform: translateY(-.25rem);
    color: #333;
}

/* Show menu */
.show-menu {
    left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
    visibility: visible;
    transform: translateX(0);
}



/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {

    .container {
        margin-inline: auto;

    }

    .nav {
        height: calc(3.5rem + 2rem);
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__link {
        font-size: .938rem;
    }

    .nav__link i {
        font-size: 1.5rem;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3.5rem;
    }

    .nav__menu {
        display: flex;
        align-items: center;
        column-gap: 3.5rem;
    }

    .nav__item.mobile-only {
        display: none;
    }

    .nav__search-container {
        width: 70%;
        max-width: 500px;
    }

    .nav__search-input {
        font-size: .938rem;
    }
}

/*=============== FOOTER ===============*/
.footer {
    background: white;
    color: #333;
    position: relative;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

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

.logo-img {
    width:120px;
    height: 45px;
    object-fit: contain;
}

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

.newsletter-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.newsletter-form {
    display: flex;
    max-width: 350px;
    margin: 0 auto 15px;
    border-radius: 25px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 14px;
    outline: none;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-btn {
    background: #E91E63;
    border: none;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: #C2185B;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.privacy-checkbox input[type="checkbox"] {
    accent-color: #E91E63;
}

.terms-privacy-links {
    display: flex;
    gap: 5px;
    align-items: center;
}

.policy-link {
    color: #E91E63;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.policy-link:hover {
    color: #C2185B;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    border: 1px solid #e0e0e0;
}

.social-link:hover {
    background: #E91E63;
    color: white;
    transform: translateY(-2px);
    border-color: #E91E63;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.footer-link:hover {
    color: #E91E63;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.copyright {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

.dmca-badge {
    background: rgba(0, 0, 0, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
    display: inline-block;
    border: 1px solid #e0e0e0;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #E91E63;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

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

    .newsletter-form {
        max-width: 100%;
    }

    .terms-privacy-links {
        flex-direction: column;
        gap: 3px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 30px 15px 15px;
    }

    .newsletter-title {
        font-size: 18px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}




/*=============== FOOTER ===============*/
                .footer {
            background: white;
            color: #333;
            position: relative;
            border-top: 1px solid #e0e0e0;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px 20px;
        }

        .footer-main {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 40px;
            align-items: center;
            margin-bottom: 30px;
        }

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

        .logo-img {
            width:120px;
            height: 45px;
            object-fit: contain;

        }

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

        .newsletter-title {
            font-size: 20px;
            font-weight: 500;
            margin-bottom: 15px;
            color: #333;
        }

        .newsletter-form {
            display: flex;
            max-width: 350px;
            margin: 0 auto 15px;
            border-radius: 25px;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid #e0e0e0;
        }

        .newsletter-input {
            flex: 1;
            padding: 12px 20px;
            border: none;
            background: transparent;
            color: #333;
            font-size: 14px;
            outline: none;
        }

        .newsletter-input::placeholder {
            color: #666;
        }

        .newsletter-btn {
            background: #E91E63;
            border: none;
            color: white;
            padding: 12px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .newsletter-btn:hover {
            background: #C2185B;
        }

        .privacy-checkbox {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 12px;
            color: #666;
        }

        .privacy-checkbox input[type="checkbox"] {
            accent-color: #E91E63;
        }

        .terms-privacy-links {
            display: flex;
            gap: 5px;
            align-items: center;
        }

        .policy-link {
            color: #E91E63;
            text-decoration: underline;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .policy-link:hover {
            color: #C2185B;
        }

        .social-links {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 18px;
            border: 1px solid #e0e0e0;
        }

        .social-link:hover {
            background: #E91E63;
            color: white;
            transform: translateY(-2px);
            border-color: #E91E63;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-bottom: 20px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
        }

        .footer-link {
            color: #666;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
            position: relative;
            cursor: pointer;
        }

        .footer-link:hover {
            color: #E91E63;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }

        .copyright {
            color: #999;
            font-size: 12px;
            margin-bottom: 8px;
        }

        .dmca-badge {
            background: rgba(0, 0, 0, 0.05);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 11px;
            color: #666;
            display: inline-block;
            border: 1px solid #e0e0e0;
        }

        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 45px;
            height: 45px;
            background: #E91E63;
            border: none;
            border-radius: 50%;
            color: white;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .scroll-top:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .footer-main {
                grid-template-columns: 1fr;
                gap: 25px;
                text-align: center;
            }

            .social-links {
                justify-content: center;
            }

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

            .newsletter-form {
                max-width: 100%;
            }

            .terms-privacy-links {
                flex-direction: column;
                gap: 3px;
            }
        }

        @media (max-width: 480px) {
            .footer-content {
                padding: 30px 15px 15px;
            }

            .newsletter-title {
                font-size: 18px;
            }

            .footer-links {
                flex-direction: column;
                gap: 12px;
            }
        }
