/*
 * Shared styles for Pipe-Lok Vales & Fittings inner pages:
 * about.html, quality-policy.html, technical-info.html, contact.html
 */

:root {
    --pl-accent: #c15d12;
    --pl-accent-dark: #9e4b0e;
    --pl-dark: #2c3e50;
    --pl-muted: #6c757d;
    --pl-soft: #f7f4f1;
    --pl-border: #ece6e0;
}

.pl-section {
    padding: 90px 0;
}

.pl-section--soft {
    background: var(--pl-soft);
}

.pl-section--tight {
    padding: 60px 0;
}

.pl-lead {
    font-size: 17px;
    line-height: 1.85;
    color: var(--pl-muted);
}

.pl-accent-line {
    width: 60px;
    height: 3px;
    background: var(--pl-accent);
    margin: 14px 0 0;
}

.text-center .pl-accent-line {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- About: intro image + stat ---------- */
.pl-about-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.pl-about-img img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.pl-about-img__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--pl-accent);
    color: #fff;
    border-radius: 12px;
    padding: 16px 22px;
    box-shadow: 0 10px 25px rgba(193, 93, 18, 0.35);
}

.pl-about-img__badge strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.pl-about-img__badge span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pl-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.pl-check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--pl-dark);
    font-weight: 500;
}

.pl-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(193, 93, 18, 0.12);
    color: var(--pl-accent);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Generic feature / info card ---------- */
.pl-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--pl-border);
    border-radius: 14px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pl-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(193, 93, 18, 0.15);
}

.pl-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: rgba(193, 93, 18, 0.1);
    color: var(--pl-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.pl-card:hover .pl-card__icon {
    background: var(--pl-accent);
    color: #fff;
}

.pl-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--pl-dark);
    margin-bottom: 10px;
}

.pl-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--pl-muted);
    margin-bottom: 0;
}

/* ---------- Mission / vision panels ---------- */
.pl-panel {
    height: 100%;
    border-radius: 16px;
    padding: 40px 36px;
    background: var(--pl-dark);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.pl-panel--accent {
    background: var(--pl-accent);
    color: rgba(255, 255, 255, 0.9);
}

.pl-panel i {
    font-size: 34px;
    color: #fff;
    margin-bottom: 18px;
    display: block;
}

.pl-panel h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pl-panel p {
    margin: 0;
    line-height: 1.8;
}

/* ---------- Industry chips ---------- */
.pl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pl-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid var(--pl-border);
    color: var(--pl-dark);
    font-weight: 600;
    font-size: 15px;
}

.pl-chip i {
    color: var(--pl-accent);
}

/* ---------- Process steps (quality page) ---------- */
.pl-steps {
    counter-reset: step;
}

.pl-step {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 34px 26px 28px;
    border-top: 4px solid var(--pl-accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.pl-step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 38px;
    font-weight: 800;
    color: rgba(193, 93, 18, 0.12);
    line-height: 1;
}

.pl-step h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pl-dark);
    margin-bottom: 10px;
    padding-right: 50px;
}

.pl-step p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--pl-muted);
    margin: 0;
}

.pl-policy {
    background: #fff;
    border-left: 5px solid var(--pl-accent);
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.pl-policy p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--pl-dark);
    margin: 0;
}

.pl-policy__sign {
    margin-top: 18px !important;
    font-size: 15px !important;
    font-weight: 700;
    color: var(--pl-accent) !important;
}

/* ---------- Technical info tables ---------- */
.pl-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 10px;
}

.pl-tabs a {
    padding: 12px 26px;
    border-radius: 50px;
    border: 2px solid var(--pl-accent);
    color: var(--pl-accent);
    font-weight: 700;
    transition: all 0.3s ease;
}

.pl-tabs a:hover {
    background: var(--pl-accent);
    color: #fff;
}

.pl-table-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.pl-table-card__head {
    background: var(--pl-dark);
    padding: 26px 30px;
}

.pl-table-card__head h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
}

.pl-table-card__head p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-size: 14px;
}

.pl-table {
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
}

.pl-table thead th {
    background: var(--pl-accent);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.4px;
    padding: 14px 16px;
    border: 0;
}

.pl-table td {
    padding: 12px 16px;
    vertical-align: middle;
    color: #444;
    border-color: var(--pl-border);
}

.pl-table tbody tr:nth-child(even) td {
    background: #fbf9f7;
}

.pl-table tbody tr:hover td {
    background: rgba(193, 93, 18, 0.06);
}

.pl-table td:first-child {
    font-weight: 700;
    color: var(--pl-dark);
}

.pl-table .pl-group-row td {
    background: #f1ece7 !important;
    color: var(--pl-accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.5px;
}

.pl-table-note {
    padding: 14px 30px;
    font-size: 13px;
    color: var(--pl-muted);
    background: #fafafa;
    border-top: 1px solid var(--pl-border);
}

/* anchor targets sit below the sticky header */
.pl-anchor {
    scroll-margin-top: 110px;
}

/* ---------- Contact ---------- */
.pl-contact-card {
    height: 100%;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px;
    border: 1px solid var(--pl-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pl-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(193, 93, 18, 0.15);
}

.pl-contact-card__icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--pl-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pl-contact-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--pl-dark);
    margin-bottom: 6px;
}

.pl-contact-card p,
.pl-contact-card a {
    margin: 0;
    color: var(--pl-muted);
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
}

.pl-contact-card a:hover {
    color: var(--pl-accent);
}

.pl-map {
    height: 100%;
    min-height: 450px;
    border-radius: 16px;
    overflow: hidden;
    background: #e9e6e2;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.pl-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
}

.pl-side-panel {
    height: 100%;
    background: var(--pl-dark);
    border-radius: 16px;
    padding: 40px 34px;
    color: rgba(255, 255, 255, 0.8);
}

.pl-side-panel h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pl-side-panel ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.pl-side-panel li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.pl-side-panel li i {
    color: var(--pl-accent);
    margin-top: 5px;
}

/* ---------- CTA strip ---------- */
.pl-cta {
    background: linear-gradient(120deg, var(--pl-dark) 0%, #1d2a36 100%);
    border-radius: 18px;
    padding: 50px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pl-cta h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
}

.pl-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .pl-section {
        padding: 70px 0;
    }

    .pl-about-img img {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .pl-section {
        padding: 55px 0;
    }

    .pl-section--tight {
        padding: 45px 0;
    }

    .pl-policy {
        padding: 26px 22px;
    }

    .pl-policy p {
        font-size: 16px;
    }

    .pl-map,
    .pl-map iframe {
        min-height: 320px;
    }

    .pl-panel,
    .pl-side-panel {
        padding: 30px 24px;
    }

    .pl-cta {
        padding: 34px 24px;
        text-align: center;
        justify-content: center;
    }

    .pl-cta h3 {
        font-size: 23px;
    }

    .pl-table-card__head {
        padding: 22px 20px;
    }

    .pl-table-note {
        padding: 14px 20px;
    }
}
