/* descarga.css */

.body-descarga {
    background-color: #f0f7ff;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.descarga-hero {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, #D1EAFF 0%, #f0f7ff 100%);
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background-color: #023059;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #023059;
    line-height: 1.1;
    margin: 20px 0;
}

.hero-text h1 span {
    color: #5D93C4;
}

.hero-text p {
    font-size: 1.2rem;
    color: #446688;
    margin-bottom: 40px;
}

.download-card {
    background-color: #ffffff;
    padding: 24px 24px 18px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(2, 48, 89, 0.08);
    max-width: 360px;
    width: 100%;
    margin-bottom: 24px;

}

.download-card h2 {
    margin: 0 0 18px;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #023059;
    letter-spacing: 0.01em;
    text-align: center;
}

.download-card .botones-grupo {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.botones-grupo {
    display: flex;
    gap: 20px;
}

.btn-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #023059;
    color: #D1EAFF;
    text-decoration: none;
    padding: 0 18px;
    min-width: 140px;
    height: 40px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-store:hover {
    background-color: #011a33;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(2, 48, 89, 0.2);
}

.btn-store img {
    width: 24px;
}

/* Contenedor Mascota */
.hero-mascota {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascota-animada {
    width: 100%;
    max-width: 400px;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.blob-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background-color: #FFFFFF;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    animation: blobMorph 8s infinite alternate;
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* --- SECTION MOCKUP --- */
.descarga-mockup {
    padding: 100px 5%;
    text-align: center;
}

.mockup-wrapper {
    background: white;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(2, 48, 89, 0.1);
    display: inline-block;
    margin-bottom: 40px;
    max-width: 90%;
}

.img-mockup {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.explicacion-web h2 {
    font-size: 2.2rem;
    color: #023059;
}

/* --- ANIMACIONES --- */
.fade-left { opacity: 0; transform: translateX(-50px); transition: 1s; }
.fade-right { opacity: 0; transform: translateX(50px); transition: 1s; }
.fade-in { opacity: 0; transform: translateY(50px); transition: 1s; }
.visible { opacity: 1; transform: translate(0); }

/* --- MÓVIL --- */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    
    .botones-grupo {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-mascota { order: -1; }
}
/* --- RESPONSIVE IMPROVEMENTS --- */
@media (max-width: 900px) {
  .descarga-hero {
    padding: 40px 4%;
    flex-direction: column;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    align-items: center;
  }
  .hero-text {
    padding: 0 0.5rem;
  }
  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .botones-grupo {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .btn-store {
    width: 220px;
    justify-content: center;
    padding: 12px 18px;
  }
  .hero-mascota {
    order: -1;
    margin-top: 0;
  }
  .mascota-animada { max-width: 320px; }
  .blob-bg { width: 130%; height: 130%; }
  .descarga-mockup { padding: 60px 4%; }
  .mockup-wrapper { max-width: 480px; width: 100%; }
}
@media (max-width: 480px) {
  .descarga-hero { padding: 28px 3%; }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-text p { font-size: 0.95rem; }
  .badge { padding: 4px 10px; font-size: 0.72rem; }
  .btn-store { width: 100%; max-width: 360px; padding: 10px 14px; border-radius: 10px; }
  .mascota-animada { max-width: 200px; }
  .blob-bg { display: none; }
  .descarga-mockup { padding: 40px 3%; }
  .mockup-wrapper { padding: 14px; border-radius: 18px; }
  .img-mockup { width: 100%; height: auto; }
}
@media (hover: none) and (pointer: coarse) {
  .btn-store { transition: none; }
}
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 0.7rem;
    }
    .enlaces-nav {
        gap: 1.2rem;
    }
    .enlaces-nav a {
        font-size: 0.85rem;
    }
}
@media (max-width: 375px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-logo-section {
        padding: 5px 12px;
    }
    .enlaces-nav {
        gap: 1.5rem;
    }
    .enlaces-nav a {
        font-size: 0.85rem;
    }
}
