/* Estilos específicos para la página de listas de precios */
.hero-precios {
    background: linear-gradient(135deg, rgba(25, 80, 122, 0.95), rgba(0, 51, 102, 0.95)), url('../images/revisandobateria.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 0 4rem 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-precios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.3);
    z-index: 1;
}

.hero-precios .container {
    position: relative;
    z-index: 2;
}

.hero-precios h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    /* Animación inicial */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.hero-precios p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    /* Animación inicial */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.update-badge {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    /* Animación inicial */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.filtros-section {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.filtros-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    /* Animación inicial */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.filtro-btn {
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.search-box {
    position: relative;
    max-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.listas-section {
    padding: 0;
    margin: 0;
}

.listas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem 0 0.2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.lista-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 1px solid #f0f0f0;
    position: relative;
    /* Animación inicial */
    opacity: 0;
    transform: translateY(40px);
}

.lista-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.lista-header {
    background: linear-gradient(135deg, var(--primary), #19507a);
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.lista-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.lista-header > * {
    position: relative;
    z-index: 1;
}

.lista-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.marca-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.marca-logo img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.lista-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.lista-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
    color: #ffffff;
}

.lista-body {
    padding: 1.5rem;
}

.lista-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
}

.lista-fecha {
    color: #6c757d;
    font-weight: 500;
}

.lista-size {
    color: var(--primary);
    font-weight: 600;
}

.lista-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    /* Animación inicial */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}

.lista-features {
    list-style: none;
    margin-bottom: 1.5rem;
    /* Animación inicial */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.lista-features li {
    padding: 0.3rem 0;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    /* Animación inicial */
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}

.lista-features li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary), #19507a);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #19507a, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
    color: #fff;
}

.download-btn i {
    font-size: 1.1rem;
}

/* Estilos para grupos de botones */
.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-flex {
    flex: 1;
    text-decoration: none;
}

/* Footer optimizado para esta página */
footer {
    padding: 1rem 0 0.8rem 0;
    margin-top: 0.5rem;
}

/* Enlaces del footer en blanco */
footer .contact-link {
    color: #fff !important;
    text-decoration: none;
}

footer .contact-link:hover {
    color: #e0e0e0 !important;
    text-decoration: underline;
}

footer .whatsapp-link {
    color: #fff !important;
    text-decoration: none;
}

footer .whatsapp-link:hover {
    color: #e0e0e0 !important;
    text-decoration: underline;
}

footer .credits-link {
    color: #fff !important;
    text-decoration: none;
}

footer .credits-link:hover {
    color: #e0e0e0 !important;
    text-decoration: underline;
}

.info-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 0.8rem 0 0.6rem 0;
    margin-top: 0.1rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    /* Animación inicial */
    opacity: 0;
    transform: translateY(40px);
}

.info-card:hover {
    transform: translateY(-4px);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contacto-rapido {
    background: var(--primary);
    color: #fff;
    padding: 1.5rem 0 1rem 0;
    text-align: center;
}

.contacto-rapido h2 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #fff;
}

.contacto-rapido p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contacto-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Animación inicial */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.contacto-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 2px solid #fff;
}

.contacto-btn:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.contacto-btn.whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.contacto-btn.whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

.download-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.download-notification.show {
    transform: translateX(0);
}

/* Modal para vista previa */
.preview-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: 1200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: white;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-modal:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 0;
}

.modal-body iframe {
    border: none;
    width: 100%;
    height: 70vh;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn-float {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-btn-float:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-btn-float:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn-float svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.whatsapp-btn-float span {
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Animaciones específicas para las tarjetas */
.lista-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s cubic-bezier(.4,0,.2,1) forwards;
}

.lista-card:nth-child(1) { animation-delay: 0.1s; }
.lista-card:nth-child(2) { animation-delay: 0.2s; }
.lista-card:nth-child(3) { animation-delay: 0.3s; }
.lista-card:nth-child(4) { animation-delay: 0.4s; }
.lista-card:nth-child(5) { animation-delay: 0.5s; }
.lista-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 1200px) {
    .listas-grid {
        max-width: 100%;
        padding: 0.8rem 1rem 0.1rem 1rem;
    }
}

@media (max-width: 992px) {
    .listas-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0.4rem 1rem 0 1rem;
    }
    
    .info-section {
        padding: 0.5rem 0;
        margin-top: 0;
    }
    
    .contacto-rapido {
        padding: 1.5rem 0;
    }
    
    footer {
        padding: 1rem 0 0.8rem 0;
        margin-top: 0.8rem;
    }
    
    .hero-precios {
        padding: 4rem 0 3rem 0;
    }
    
    .hero-precios h1 {
        font-size: 2.5rem;
    }
    
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-precios {
        padding: 2rem 0 1.5rem 0;
    }

    .hero-precios h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .hero-precios p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .filtros-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .filtro-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .search-box {
        max-width: 100%;
    }

    .filtros-section {
        padding: 1rem 0;
    }

    .listas-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.2rem 1rem 0 1rem;
        max-width: 100%;
    }

    .info-section {
        margin-top: 0.1rem;
        padding: 0.4rem 0;
    }

    .contacto-rapido {
        padding: 0.4rem 0;
    }

    .contacto-rapido h2 {
        margin-bottom: 0.5rem;
        font-size: 1.3rem;
    }

    .contacto-rapido p {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }

    .info-cards {
        gap: 0.4rem;
    }

    .info-card {
        padding: 0.6rem;
    }

    footer {
        padding: 0.6rem 0 0.3rem 0;
        margin-top: 0;
    }

    body {
        padding-top: 60px !important;
    }

    .lista-card {
        margin: 0;
    }

    .lista-header {
        padding: 1.5rem 1rem 1rem;
    }

    .lista-icon {
        font-size: 2.5rem;
    }

    .marca-logo img {
        max-height: 50px;
        max-width: 180px;
    }

    .lista-title {
        font-size: 1.2rem;
        color: #ffffff;
    }

    .lista-body {
        padding: 1rem;
    }

    .download-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .btn-group {
        gap: 0.4rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .contacto-rapido {
        padding: 2rem 0;
    }

    .contacto-rapido h2 {
        font-size: 1.5rem;
    }

    .contacto-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .contacto-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .modal-content {
        width: 98%;
        margin: 1% auto;
    }

    .modal-body iframe {
        height: 60vh;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-btn-float {
        padding: 14px 20px;
        font-size: 14px;
        gap: 10px;
    }

    .whatsapp-btn-float svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-precios {
        padding: 1.5rem 0 1rem 0;
    }

    .hero-precios h1 {
        font-size: 1.8rem;
    }

    .hero-precios p {
        font-size: 0.9rem;
    }

    .update-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .filtros-section {
        padding: 0.8rem 0;
    }

    .filtro-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .listas-grid {
        gap: 0.3rem;
        padding: 0.1rem 1rem 0 1rem;
    }

    .lista-header {
        padding: 1.2rem 0.8rem 0.8rem;
    }

    .lista-icon {
        font-size: 2rem;
    }

    .marca-logo img {
        max-height: 40px;
        max-width: 150px;
    }

    .lista-title {
        font-size: 1.1rem;
        color: #ffffff;
    }

    .lista-body {
        padding: 0.8rem;
    }

    .lista-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .download-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }

    .btn-group {
        gap: 0.3rem;
        flex-direction: row;
    }

    .btn-flex {
        min-width: 0;
    }

    .info-section {
        padding: 0.3rem 0;
        margin-top: 0;
    }

    .contacto-rapido {
        padding: 0.3rem 0;
    }

    .contacto-rapido h2 {
        margin-bottom: 0.4rem;
        font-size: 1.2rem;
    }

    .contacto-rapido p {
        margin-bottom: 0.8rem;
        font-size: 0.85rem;
    }

    .info-cards {
        gap: 0.3rem;
    }

    .info-card {
        padding: 0.5rem;
    }

    footer {
        padding: 0.4rem 0 0.2rem 0;
        margin-top: 0;
    }

    body {
        padding-top: 50px !important;
    }

    .info-card {
        padding: 1.2rem;
    }

    .info-card i {
        font-size: 2rem;
    }

    .contacto-btn {
        max-width: 100%;
        padding: 0.8rem 1.2rem;
    }

    .modal-body iframe {
        height: 50vh;
    }

    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }

    .whatsapp-btn-float {
        padding: 12px 16px;
        font-size: 13px;
        gap: 8px;
    }

    .whatsapp-btn-float span {
        display: none;
    }

    .whatsapp-btn-float {
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
        padding: 0;
    }

    .whatsapp-btn-float svg {
        width: 24px;
        height: 24px;
    }
    
    /* Mejorar interacción táctil */
    .filtro-btn, .download-btn, .contacto-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Prevenir zoom en inputs en iOS */
    input[type="text"], input[type="search"] {
        font-size: 16px;
    }
    
    /* Mejorar scroll suave */
    html {
        scroll-behavior: smooth;
    }
    
    /* Optimizar animaciones para móviles */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
} 