/* Shared by /contract-printing, /contract-screen-printing and /contract-embroidery.
   Kept out of styles.css because team-stores and pod-embroidery define their own
   .steps-grid / .step-card inline, and these rules would leak into them. */

/* ===== Capacity Cards ===== */
.capacity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.capacity-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--red);
    transition: all var(--transition);
}
.capacity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.capacity-card i {
    font-size: 36px;
    color: var(--red);
    margin-bottom: 16px;
}
.capacity-card .cap-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 40px;
    color: var(--black);
    line-height: 1.1;
}
.capacity-card .cap-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-grey);
    margin-top: 6px;
}
.capacity-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin-top: 12px;
}

/* ===== How It Works Steps ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: step;
}
.step-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 3px solid var(--red);
    transition: all var(--transition);
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    border-radius: 50%;
    margin-bottom: 18px;
}
.step-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.step-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}

/* ===== Partner Tags ===== */
.partner-types {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.partner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--mid-grey);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-grey);
    transition: all var(--transition);
}
.partner-tag:hover {
    border-color: var(--red);
    color: var(--red);
}
.partner-tag i {
    color: var(--red);
    font-size: 14px;
}

/* ===== Service Cards With Image (same look as services.php, which styles its own inline) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--mid-grey);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--transition);
    z-index: 1;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-body {
    padding: 28px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}
.service-card-body p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}
.service-card .learn-more {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}
.service-card .learn-more i { margin-left: 4px; transition: transform var(--transition); }
.service-card:hover .learn-more i { transform: translateX(4px); }

/* ===== Getting Blanks To Us ===== */
.supply-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.supply-card {
    padding: 32px 28px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--red);
}
.supply-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}
.supply-card h3 i {
    color: var(--red);
    margin-right: 8px;
}
.supply-card p {
    font-size: 15px;
    color: var(--dark-grey);
    line-height: 1.7;
}
.supply-card p + p { margin-top: 12px; }

/* ===== In-copy links ===== */
.content-section p a,
.supply-card p a,
.faq-item p a,
.contract-related a {
    color: var(--red);
    font-weight: 600;
}
.content-section p a:hover,
.supply-card p a:hover,
.faq-item p a:hover,
.contract-related a:hover { text-decoration: underline; }
.contract-related {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-grey);
}

/* The child pages' "Apply" buttons land on /contract-printing#apply. */
#apply { scroll-margin-top: 180px; /* clears the sticky header, as .swx-form-alert does in styles.css */ }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .capacity-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .supply-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .capacity-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}
