/* ============================================
   MOBILE FIXES FOR J&C SEO WEBSITE
   ============================================ */

/* Mobile: Testimonios section fix */
@media (max-width: 480px) {
    .testimonios {
        padding: 30px 1rem;
        margin: 0 0.5rem 30px;
        border-radius: 20px;
    }

    .testimonios-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px;
    }

    .tstat-number {
        font-size: 1.3rem;
    }

    .tstat-stars {
        font-size: 0.85rem;
    }

    .tstat-label {
        font-size: 0.7rem;
    }

    .tstat-divider {
        display: none;
    }

    .testimonios-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .testimonial-arrow {
        display: none;
    }

    .testimonios-slider {
        padding: 10px 0 20px;
    }

    .testimonial-track {
        flex-direction: column;
        gap: 12px;
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        transform: none !important;
        opacity: 1 !important;
        border-radius: 14px;
        padding: 14px;
    }

    .testimonial-img {
        width: calc(100% + 28px);
        margin: -14px -14px 10px;
        height: 130px;
        border-radius: 12px 12px 0 0;
    }

    .testimonial-verified {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .testimonial-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
    }

    .testimonial-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .testimonial-author h4 {
        font-size: 0.85rem;
    }

    .testimonial-author span {
        font-size: 0.75rem;
    }

    .testimonial-rating {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }

    .testimonial-rating i {
        font-size: 0.7rem;
    }

    .testimonial-content {
        margin-bottom: 10px;
    }

    .testimonial-content > i {
        font-size: 1.4rem;
        top: -6px;
        left: -2px;
    }

    .testimonial-content p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 10px;
    }

    .testimonial-result {
        align-items: baseline;
    }

    .result-metric {
        font-size: 1.1rem;
    }

    .result-label {
        font-size: 0.7rem;
    }

    .testimonial-tag {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .testimonial-nav {
        margin-top: 15px;
    }

    /* Mobile: resultados section fix - fill empty space */
    .resultados {
        margin: 30px 0.5rem;
        padding: 30px 1rem;
        border-radius: 20px;
    }

    .resultados-showcase {
        gap: 12px;
    }

    .resultado-card.main-result {
        padding: 14px;
        flex-direction: column;
        text-align: center;
        border-radius: 14px;
        gap: 12px;
    }

    .chart-container {
        width: 120px;
        height: 120px;
    }

    .progress-ring {
        transform: rotate(-90deg);
    }

    .big-number {
        font-size: 1.8rem;
    }

    .suffix {
        font-size: 1rem;
    }

    .resultado-info h3 {
        font-size: 1rem;
    }

    .resultado-info p {
        font-size: 0.8rem;
    }

    .resultados-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .resultado-mini {
        padding: 10px 8px;
        border-radius: 10px;
    }

    .mini-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .mini-number {
        font-size: 1.5rem;
    }

    .mini-suffix {
        font-size: 0.9rem;
    }

    .mini-label {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    /* Mobile: servicios premium section fix - fill empty space */
    .servicios-premium {
        padding: 30px 1rem 20px !important;
    }

    .servicio-card {
        padding: 14px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .card-image {
        height: 130px !important;
        width: calc(100% + 28px);
        margin: -14px -14px 12px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .servicio-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .servicio-card p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .card-bullets {
        margin-bottom: 10px;
    }

    .card-bullets li {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .card-note {
        font-size: 0.75rem;
        padding-top: 8px;
    }

    .card-footer {
        padding-top: 10px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .price {
        font-size: 0.9rem;
    }

    .card-link {
        font-size: 0.85rem;
    }

    /* Mobile: beneficios section */
    .beneficios {
        padding: 30px 1rem;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .beneficio-card {
        padding: 14px;
        border-radius: 14px;
    }

    .beneficio-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .beneficio-card h3 {
        font-size: 0.95rem;
    }

    .beneficio-card p {
        font-size: 0.8rem;
    }

    /* Mobile: hero title */
    .hero-title {
        font-size: 1.9rem;
    }

    /* Mobile: hero CTA */
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Mobile: portfolio gallery */
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

/* Mobile: resultado-stats fix */
@media (max-width: 480px) {
    .resultado-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        margin-top: 12px;
    }
    
    .resultado-stat {
        flex: 1 1 calc(50% - 8px);
        min-width: 100px;
        padding: 8px 10px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .resultado-stat .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        margin: 0 auto;
    }
    
    .resultado-stat .stat-value {
        font-size: 1rem;
    }
    
    .resultado-stat .stat-label {
        font-size: 0.65rem;
        flex: none;
    }
}

/* Mobile: FAQ icons fix */
@media (max-width: 480px) {
    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .faq-text {
        font-size: 0.85rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
        padding: 0 1rem 1rem;
    }
}
