:root {
    --main-color: #1EADBD;
    --hover-effect: all .3s cubic-bezier(.25, .46, .45, .94);
    --text-glow: 0 0 15px currentColor
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    background: #C2714A;
    font-family: Poppins, sans-serif;
    color: #fff;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s ease forwards
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

.container {
    position: relative;
    min-height: 100vh;
    padding: 20px;
    overflow: hidden
}

.background-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    background: #C2714A url(images/fondo.png) center/cover;
    z-index: 0
}

.logo-block {
    width: 600px;
    height: 300px;
    margin: 0 auto 20px;
    overflow: hidden;
    z-index: 2;
    animation: float 3s ease-in-out infinite
}

.logo-block img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 25vh;
    padding-bottom: 50px
}

.name {
    font-size: 2.8rem;
    margin: 15px 0;
    animation: textGlow 2s ease infinite alternate;
    letter-spacing: 2px
}

.slogan {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: .9;
    animation: slideIn 1s ease-out
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto
}

.btn {
    padding: 18px;
    background: rgba(255, 255, 255, .08);
    border: 2px solid var(--main-color);
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    transition: var(--hover-effect);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
    cursor: pointer
}

.btn:hover {
    background: var(--main-color);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 30px rgba(37, 211, 102, .3)
}

.btn img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(var(--text-glow))
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: all .5s cubic-bezier(.4, 0, .2, 1);
    grid-column: 1/-1;
    background: rgba(0, 0, 0, .3);
    border-radius: 10px;
    margin-top: -10px
}

.show-content {
    max-height: 2000px;
    padding: 20px;
    margin-bottom: 20px;
    opacity: 1
}

.qr-code {
    width: 180px;
    margin: 15px auto;
    display: block
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px
}

.social-share img {
    width: 45px;
    transition: transform .3s ease
}

.social-share a:hover img {
    transform: scale(1.15)
}

.payment-container {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.payment-card {
    background: rgba(255, 255, 255, .95);
    border-radius: 12px;
    overflow: hidden;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1)
}

.payment-header {
    background: var(--main-color);
    color: #fff;
    padding: 10px 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem
}

.payment-body {
    padding: 15px
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee
}

.payment-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none
}

.copy-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform .2s
}

.copy-btn-icon:hover {
    transform: scale(1.2)
}

.titular {
    text-align: center;
    font-weight: 700;
    padding: 10px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, .9);
    color: #333;
    border-radius: 8px
}

.wa-form-container {
    text-align: left;
    background: rgba(255, 255, 255, .95);
    padding: 20px;
    border-radius: 12px;
    color: #333
}

.wa-form-container label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #444
}

.wa-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: inherit
}

.wa-input:focus {
    outline: 0;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(30, 173, 189, .2)
}

.btn-send-wa {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background .3s
}

.btn-send-wa:hover {
    background: #20BA56
}

.btn.full-width {
    grid-column: 1/-1;
    width: 100%
}

@media (max-width:768px) {
    .button-grid {
        grid-template-columns: 1fr
    }

    .name {
        font-size: 2.2rem
    }

    .slogan {
        font-size: 1.1rem
    }

    .logo-block {
        width: 100%;
        height: auto;
        max-width: 600px;
        max-height: 300px
    }

    .btn {
        padding: 15px;
        font-size: 1rem
    }

    .productos-web {
        display: none
    }
}

@media (min-width:769px) {

    .catalogo,
    .llamar {
        display: none
    }

    .productos-web {
        display: flex
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px transparent
    }

    to {
        text-shadow: var(--text-glow)
    }
}

@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: .9
    }
}

.cart-container {
    background: rgba(255, 255, 255, .95);
    padding: 15px;
    border-radius: 12px;
    color: #333
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid #eee
}

.cart-item:last-of-type {
    border-bottom: none
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0
}

.cart-item-info {
    flex: 1;
    min-width: 0
}

.cart-item-desc {
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 2px
}

.cart-item-price {
    color: var(--main-color);
    font-weight: 700;
    font-size: .9rem
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    background: 0 0;
    color: var(--main-color);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.qty-btn:hover {
    background: var(--main-color);
    color: #fff
}

.qty-value {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
    flex: 1 1 140px;
    min-width: 0
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform .3s;
    display: block
}

.gallery-item img:hover {
    transform: scale(1.05)
}

.gallery-caption {
    padding: 6px 8px;
    font-size: .8rem;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    color: #fff
}

.gallery-download-btn {
    display: block;
    text-align: center;
    padding: 5px;
    font-size: .75rem;
    color: var(--main-color);
    text-decoration: none;
    background: rgba(255, 255, 255, .9);
    transition: background .2s
}

.gallery-download-btn:hover {
    background: #fff
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.lightbox-overlay.active {
    display: flex
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5)
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    background: 0 0;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    line-height: 1
}

.lightbox-desc {
    color: #fff;
    margin-top: 12px;
    font-size: 1rem;
    opacity: .9
}

.lightbox-download-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    transition: opacity .2s
}

.lightbox-download-link:hover {
    opacity: .85;
    color: #fff
}