html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Main Content */
.main {
    padding: 4rem 0 0 0;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Grid */
.products-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 2rem;
    position: relative;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-link {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.product-link:hover {
    background-color: #45a049;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.arrow {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-title h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        margin: 0 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .product-content {
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.3rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Mejoras visuales adicionales */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}






/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #8BC34A, #689F38);
    padding: 4rem 0 2rem 0;
    margin: 4rem 0 0 0;
    text-align: center;
    color: white;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stars {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: 0.5rem;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 2rem 0;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.author-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive para testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
        margin: 3rem 0;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .stars {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}