/* ============================================================
   PLUSFAB -- PRICING TABLE "QUOTATION PLATE" (2026-10-01, design only)
   The Pricing Table renders through the SHARED universal partial
   (web/partials/pricing_table.php + /web/assets/css/pricing-table.css,
   which the partial links INSIDE the body). This file is a
   template-scoped presentation layer only -- markup, data, contract and
   the shared stylesheet are untouched. Every rule is prefixed with
   body.tpl-plusfab_industrial .pricing-table-section so it wins over the
   shared file regardless of load order.
   Language: each card is a quotation plate -- a deep-graphite head
   (icon tile with copper glyph + white Archivo title + square steel/
   copper badge), a white body (Archivo price with a copper-segment
   rule, description, spec-list features with square copper ticks or a
   hairline plan schedule), and a full-width square-ish CTA. Highlighted
   card: graphite border + copper top bar + solid graphite CTA.
============================================================ */

/* -- Section + header -------------------------------------------- */
body.tpl-plusfab_industrial .pricing-table-section {
    padding: var(--mt-space-20) 0;
    background: var(--mt-surface-sunken);          /* #F3F4F5 */
    border-top: 1px solid var(--mt-border-light);
    border-bottom: 1px solid var(--mt-border-light);
    font-family: var(--mt-font-sans);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-header {
    position: relative;
    text-align: left;
    max-width: none;
    margin: 0 0 var(--mt-space-12);
    padding-bottom: var(--mt-space-8);
    border-bottom: 1px solid #D5DADE;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 2px;
    background: var(--mt-accent);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--mt-space-3);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 0.75rem;
    font-weight: var(--mt-weight-semibold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #555C63;
    margin-bottom: var(--mt-space-4);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-eyebrow::before {
    content: "";
    flex-shrink: 0;
    width: var(--mt-kicker-rule, 28px);
    height: 2px;
    background: var(--mt-accent);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-title {
    font-family: var(--mt-font-heading);
    font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem);
    font-weight: var(--mt-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ally-navy-700);
    margin: 0 0 var(--mt-space-4);
    max-width: 24ch;
    text-wrap: balance;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-subtitle {
    margin: 0;
    max-width: 62ch;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #555C63;
}

/* -- Grid ---------------------------------------------------------- */
body.tpl-plusfab_industrial .pricing-table-section .pt-grid {
    gap: var(--mt-space-5);
    align-items: stretch;
}
@media (min-width: 576px) and (max-width: 991.98px) {
    body.tpl-plusfab_industrial .pricing-table-section .pt-grid-3 > .pt-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* -- Card: quotation plate ----------------------------------------- */
body.tpl-plusfab_industrial .pricing-table-section .pt-card {
    --pt-pad: var(--mt-space-6);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;                       /* spacing is owned by the children; a flex gap split the dark head band */
    padding: 0;
    border: 1px solid #D5DADE;
    border-radius: 2px;
    background: #FFFFFF;
    box-shadow: none;
    overflow: hidden;
    transform: none;
    transition: border-color var(--mt-duration-normal) var(--mt-ease-default);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #8A939B;
}
/* every direct child gets the plate's side padding */
body.tpl-plusfab_industrial .pricing-table-section .pt-card > * {
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--pt-pad);
    padding-right: var(--pt-pad);
}

/* Head band: icon + title on deep graphite */
body.tpl-plusfab_industrial .pricing-table-section .pt-icon {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding-top: var(--pt-pad);
    padding-bottom: var(--mt-space-4);
    border-radius: 0;
    background: var(--ally-navy-900);
    color: var(--mt-accent);
    font-size: 1.1rem;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(197, 203, 208, 0.28);
    border-radius: 2px;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-card-title {
    margin: 0;
    padding-top: 0;
    padding-bottom: var(--pt-pad);
    background: var(--ally-navy-900);
    font-family: var(--mt-font-heading);
    font-size: 1.2rem;
    font-weight: var(--mt-weight-bold);
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #FFFFFF;
    border-bottom: 2px solid var(--ally-navy-900);
}
/* a card with no icon: the title band supplies its own top padding */
body.tpl-plusfab_industrial .pricing-table-section .pt-badge + .pt-card-title,
body.tpl-plusfab_industrial .pricing-table-section .pt-card > .pt-card-title:first-child { padding-top: var(--pt-pad); }
/* no icon row: the title shares the top line with the badge -- keep it clear */
body.tpl-plusfab_industrial .pricing-table-section .pt-badge + .pt-card-title { padding-right: 45%; }

/* Badge: square steel tag with a copper edge, inside the head band */
body.tpl-plusfab_industrial .pricing-table-section .pt-badge {
    position: absolute;
    top: var(--pt-pad);
    right: var(--pt-pad);
    left: auto;
    z-index: 2;
    transform: none;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(197, 203, 208, 0.35);
    border-left: 2px solid var(--mt-accent);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    font-family: var(--mt-font-heading);
    font-size: 0.64rem;
    font-weight: var(--mt-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Body: price with a copper-segment rule */
body.tpl-plusfab_industrial .pricing-table-section .pt-price-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px var(--mt-space-2);
    margin: 0;
    padding-top: var(--pt-pad);
    padding-bottom: var(--mt-space-5);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-price-row::after {
    content: "";
    position: absolute;
    left: var(--pt-pad);
    right: var(--pt-pad);
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, var(--mt-accent) 0 40px, #E1E4E7 40px);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-price {
    font-family: var(--mt-font-heading);
    font-size: clamp(1.6rem, 1.25rem + 1vw, 2.15rem);
    font-weight: var(--mt-weight-bold);
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--ally-navy-900);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-price-suffix {
    font-size: 0.82rem;
    font-weight: var(--mt-weight-medium);
    letter-spacing: 0.02em;
    color: #6B737A;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-desc {
    margin: 0;
    padding-top: var(--mt-space-5);
    font-size: 0.92rem;
    line-height: 1.65;
    color: #555C63;
}

/* Features: spec list with square copper ticks */
body.tpl-plusfab_industrial .pricing-table-section .pt-features {
    margin: var(--mt-space-5) 0 0;
    padding-top: 0;
    padding-bottom: 0;
    list-style: none;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--mt-space-3);
    padding: 9px 0;
    border-bottom: 1px solid #EEF0F2;
    font-size: 0.9rem;
    color: #3E444A;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-features li:last-child { border-bottom: 0; }
body.tpl-plusfab_industrial .pricing-table-section .pt-feature-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid #C5CBD0;
    border-radius: 2px;
    background: #FFFFFF;
    color: var(--mt-accent-hover);
    font-size: 0.6rem;
}

/* Plans: hairline schedule */
body.tpl-plusfab_industrial .pricing-table-section .pt-plans {
    margin: var(--mt-space-5) 0 0;
    list-style: none;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-plan {
    padding: 11px 0;
    border: 0;
    border-bottom: 1px solid #E1E4E7;
    border-radius: 0;
    background: none;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-plan:first-child { border-top: 1px solid #E1E4E7; }
body.tpl-plusfab_industrial .pricing-table-section .pt-plan-label {
    font-family: var(--mt-font-heading);
    font-size: 0.9rem;
    font-weight: var(--mt-weight-semibold);
    color: var(--ally-navy-700);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-plan-price {
    font-family: var(--mt-font-heading);
    font-size: 1rem;
    font-weight: var(--mt-weight-bold);
    color: var(--ally-navy-900);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-plan-meta {
    font-size: 0.76rem;
    color: #6B737A;
}

/* CTA: pinned to the plate's foot */
body.tpl-plusfab_industrial .pricing-table-section .pt-card-cta {
    margin-top: auto;
    padding-top: var(--pt-pad);
    padding-bottom: var(--pt-pad);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--ally-navy-700);
    border-radius: var(--mt-radius-sm, 6px);
    background: var(--ally-navy-700);
    color: #FFFFFF;
    box-shadow: none;
    font-family: var(--mt-font-heading);
    font-size: 0.78rem;
    font-weight: var(--mt-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transform: none;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-card:not(.is-highlight) .pt-cta-btn {
    background: transparent;
    border-color: #C5CBD0;
    color: var(--ally-navy-700);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-card:not(.is-highlight) .pt-cta-btn:hover,
body.tpl-plusfab_industrial .pricing-table-section .pt-cta-btn:hover {
    background: var(--ally-navy-900);
    border-color: var(--ally-navy-900);
    color: #FFFFFF;
    transform: none;
    box-shadow: none;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-cta-btn:focus-visible {
    outline: 2px solid var(--mt-accent);
    outline-offset: 3px;
}
/* a card without a CTA still closes with breathing room */
body.tpl-plusfab_industrial .pricing-table-section .pt-card > :last-child:not(.pt-card-cta) { padding-bottom: var(--pt-pad); }

/* Highlighted card: graphite border + copper top bar */
body.tpl-plusfab_industrial .pricing-table-section .pt-card.is-highlight {
    border-color: var(--ally-navy-700);
    box-shadow: none;
    transform: none;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-card.is-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 3;
    background: var(--mt-accent);
}
body.tpl-plusfab_industrial .pricing-table-section .pt-card.is-highlight .pt-badge {
    background: var(--mt-accent);
    border-color: var(--mt-accent);
}

/* Footer note */
body.tpl-plusfab_industrial .pricing-table-section .pt-note {
    display: flex;
    align-items: flex-start;
    gap: var(--mt-space-3);
    max-width: none;
    margin: var(--mt-space-10) 0 0;
    padding-top: var(--mt-space-5);
    border-top: 1px solid #D5DADE;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #6B737A;
}
body.tpl-plusfab_industrial .pricing-table-section .pt-note::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 2px;
    margin-top: 0.7em;
    background: var(--mt-accent);
}

/* -- Mobile -------------------------------------------------------- */
@media (max-width: 575.98px) {
    body.tpl-plusfab_industrial .pricing-table-section { padding: var(--mt-space-12) 0; }
    body.tpl-plusfab_industrial .pricing-table-section .pt-header { margin-bottom: var(--mt-space-8); padding-bottom: var(--mt-space-6); }
    body.tpl-plusfab_industrial .pricing-table-section .pt-card { --pt-pad: var(--mt-space-5); }
}
