/* ===========================================================================
   Partnigram homepage
   ---------------------------------------------------------------------------
   Phase 2C. The site root is the Partnigram company/product homepage, not a
   ShopNodes landing page. It keeps the existing Partnigram identity - navy
   headings, green accent, light mint atmosphere, the shared .container /
   .button / .card-meta / .text-link / .product-placeholder components - and
   only adds the spacious hero and the three-product presentation.

   Deliberately restrained: no gradients on cards, no fake metrics, no
   testimonials, no stock imagery.
   ========================================================================= */

.pn-home-hero {
    padding: clamp(72px, 11vw, 132px) 0 clamp(56px, 8vw, 92px);
    background: linear-gradient(180deg, var(--pn-mint) 0%, #fff 100%);
    border-bottom: 1px solid var(--pn-line);
}

.pn-home-hero__title {
    margin: 12px 0 0;
    font-size: clamp(34px, 5.2vw, 60px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--pn-navy);
    max-width: 19ch;
}

.pn-home-hero__title span {
    color: var(--pn-green);
    display: block;
}

.pn-home-hero__lead {
    margin: 22px 0 0;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.62;
    color: var(--pn-copy);
    max-width: 66ch;
}

.pn-home-hero__actions {
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pn-home-hero__actions .button {
    margin: 0;
}

.pn-home-section-head {
    max-width: 70ch;
    margin-bottom: 34px;
}

.pn-home-section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.18;
    letter-spacing: -.015em;
    color: var(--pn-navy);
}

.pn-home-section-head p {
    margin: 0;
    color: var(--pn-copy);
    font-size: 16.5px;
    line-height: 1.65;
}

.pn-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pn-home-card {
    display: flex;
    flex-direction: column;
    background: var(--pn-surface);
    border: 1px solid var(--pn-line);
    border-radius: var(--pn-radius-lg);
    overflow: hidden;
    box-shadow: var(--pn-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.pn-home-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pn-shadow-raise);
}

.pn-home-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    padding: 24px;
    background: var(--pn-mint-soft);
    border-bottom: 1px solid var(--pn-line);
}

.pn-home-card__visual img {
    max-width: 100%;
    max-height: 108px;
    object-fit: contain;
}

.pn-home-card__body {
    padding: 22px 22px 0;
    flex: 1 1 auto;
}

.pn-home-card__body h3 {
    margin: 6px 0 0;
    font-size: 20px;
    line-height: 1.25;
}

.pn-home-card__body h3 a {
    color: var(--pn-navy);
    text-decoration: none;
}

.pn-home-card__body h3 a:hover {
    color: var(--pn-green);
}

.pn-home-card__body p {
    margin: 10px 0 0;
    color: var(--pn-copy);
    font-size: 15px;
    line-height: 1.6;
}

.pn-home-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px 22px;
}

.pn-home-card__status {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--pn-muted);
    background: var(--pn-mint-soft);
    border: 1px solid var(--pn-line);
    border-radius: 999px;
    padding: 4px 11px;
}

.pn-home-all,
.pn-home-actions {
    margin: 34px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pn-home-all .button,
.pn-home-actions .button {
    margin: 0;
}

@media (max-width: 960px) {
    .pn-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pn-home-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-home-hero__title {
        max-width: none;
    }
}
