/* ==========================================================
   products.css - "Our Products & Services" section
   (buttons use .hero-btn from hero.css, label from about.css)
   ========================================================== */
.products { padding: 56px 0; background: var(--light-bg); }

.products-head { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.products-head h2 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.2;
    color: var(--primary-color);
}
.products-head p { margin: 0; color: var(--muted-color); }
.products-head .eyebrow { margin-bottom: 8px; color: var(--secondary-dark); }

.products-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-bottom: 4px solid var(--primary-color);
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
    border-bottom-color: var(--secondary-color);
}


.product-card h3 { margin: 0 0 6px; font-family: var(--font-heading); font-size: 1.25rem; color: var(--text-color); }
.product-card > p { margin: 0 0 16px; color: var(--muted-color); }

.product-card ul { margin: 0; padding: 0; list-style: none; }
.product-card li a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40px;              /* touch target */
    padding-left: 18px;
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
}
.product-card li a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 7px; height: 7px;
    border-top: 2px solid var(--secondary-dark);
    border-right: 2px solid var(--secondary-dark);
    transform: rotate(45deg) scale(.8);
}
.product-card li a:hover { color: var(--primary-color); padding-left: 24px; }
.product-card li a:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 2px; border-radius: 4px; }

.products-cta { text-align: center; margin-top: 32px; }

@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px)  { .products { padding: 80px 0; } }

/* Card image: full width across the top of the card */
.product-card { padding: 0; }
.product-card > h3,
.product-card > p,
.product-card > ul { margin-inline: 24px; }
.product-card > h3 { margin-top: 20px; }
.product-card > ul { margin-bottom: 20px; }
.product-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--primary-light);   /* shows while the image loads / if missing */
    transition: transform .5s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }
