* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    color: #222;
    line-height: 1.6;
}

/* BOTÓN ATRÁS */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #1f6b3d;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    background: #15512d;
}

/* HEADER */
.hero {
    text-align: center;
    padding: 100px 20px 50px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #1f6b3d;
}

.hero p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: auto;
}

/* CONTENEDOR */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 50px auto;
}

/* GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* CARD */
.card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

/* IMÁGENES */
.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* CONTENIDO */
.card-content {
    padding: 25px;
}

.card-content h2 {
    font-size: 26px;
    color: #1f6b3d;
    margin-bottom: 18px;
}

.card-content h3 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #333;
}

.card-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

.card-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.card-content ul li {
    font-size: 15px;
    color: #444;
    margin-bottom: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: 90px 20px 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .card img {
        height: 220px;
    }

    .card-content h2 {
        font-size: 22px;
    }

    .back-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 200px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .card-content {
        padding: 20px;
    }
}