/* ==========================================================================
   Work With Us / Export Partnership / Technical Specifications / Careers /
   Certificates / Privacy Policy / Disclaimer pages (USA Piping Solution)
   All classes prefixed wwu- so they can't clash with main.css.
   ========================================================================== */

/* ---------- Container ---------- */
.wwu-wrap {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

/* ---------- Hero ---------- */
.wwu-hero {
    margin-top: 112px; /* clears the fixed site header */
    background: linear-gradient(135deg, #002a5e 0%, #0f5ab6 100%);
    color: #fff;
    padding: 70px 0 76px;
    text-align: center;
}
.wwu-hero__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cfe2ff;
    margin-bottom: 14px;
}
.wwu-hero h1 {
    color: #fff;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 18px;
    text-transform: uppercase;
}
.wwu-hero p {
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- Sections ---------- */
.wwu-section {
    padding: 70px 0;
    background: #fff;
}
.wwu-section--grey {
    background: #f5f7fb;
}
.wwu-section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
.wwu-section__head h2 {
    font-size: 34px;
    font-weight: 700;
    color: #062f60;
    margin: 0 0 12px;
}
.wwu-section__head p {
    font-size: 16px;
    line-height: 1.7;
    color: #5a6474;
    margin: 0;
}

/* ---------- Cards (benefits, partner types, steps) ---------- */
.wwu-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.wwu-cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.wwu-card {
    background: #fff;
    border: 1px solid #e0e5ef;
    border-radius: 6px;
    padding: 26px 24px;
}
.wwu-section--grey .wwu-card {
    border-color: #dde3ee;
}
.wwu-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #062f60;
    margin: 0 0 10px;
    line-height: 1.35;
}
.wwu-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #5a6474;
    margin: 0;
}
.wwu-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #d72638;
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}

/* ---------- Market chips ---------- */
.wwu-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.wwu-chips li {
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    color: #253246;
}

/* ---------- Form layout ---------- */
.wwu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 40px;
    align-items: start;
}
.wwu-aside h2 {
    font-size: 22px;
    font-weight: 700;
    color: #062f60;
    margin: 0 0 14px;
}
.wwu-aside h2 + .wwu-checks {
    margin-bottom: 28px;
}
.wwu-checks {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wwu-checks li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #3d4757;
}
.wwu-checks li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid #d72638;
    border-bottom: 2.5px solid #d72638;
    transform: rotate(-45deg);
}
.wwu-note {
    font-size: 13px;
    line-height: 1.6;
    color: #6b7585;
    margin: 10px 0 0;
}
.wwu-note a {
    color: #d72638;
}

.wwu-form {
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 6px;
    padding: 32px;
}
.wwu-form fieldset {
    border: 0;
    margin: 0 0 26px;
    padding: 0;
    min-width: 0;
}
.wwu-form legend {
    float: none; /* Bootstrap 5 floats legends */
    display: block;
    width: 100%;
    font-size: 17px;
    font-weight: 700;
    color: #062f60;
    border-bottom: 1px solid #e6eaf1;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.wwu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}
.wwu-field--full {
    grid-column: 1 / -1;
}
.wwu-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #253246;
    margin-bottom: 6px;
}
.wwu-field input[type="text"],
.wwu-field input[type="email"],
.wwu-field input[type="tel"],
.wwu-field input[type="url"],
.wwu-field select,
.wwu-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #cdd5e1;
    border-radius: 4px;
    background: #fff;
    padding: 10px 12px;
    font-size: 15px;
    color: #062f60;
    line-height: 1.4;
}
.wwu-field textarea {
    resize: vertical;
}
.wwu-field input:focus,
.wwu-field select:focus,
.wwu-field textarea:focus {
    outline: 2px solid rgba(215, 38, 56, .3);
    border-color: #d72638;
}
.wwu-field input[type="file"] {
    display: block;
    width: 100%;
    font-size: 14px;
    padding: 8px;
    border: 1px dashed #cdd5e1;
    border-radius: 4px;
    background: #fafbfd;
}
.wwu-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.wwu-option {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cdd5e1;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #253246;
    cursor: pointer;
    margin: 0;
}
.wwu-option input {
    margin: 0;
}
.wwu-option:has(input:checked) {
    border-color: #d72638;
    background: #fdf1f2;
}
.wwu-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #3d4757;
    margin: 0 0 22px;
}
.wwu-consent input {
    margin-top: 4px;
}
.wwu-consent a {
    color: #d72638;
}
.wwu-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.wwu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 34px;
    border: 0;
    border-radius: 4px;
    background: #d72638;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s ease;
}
.wwu-btn:hover {
    background: #b91d2b;
}
.wwu-btn[disabled] {
    opacity: .6;
    cursor: wait;
}
.wwu-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 6px;
}

/* ---------- Spec PDF grid (technical-specifications.html) ---------- */
.wwu-docs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.wwu-doc {
    background: #fff;
    border: 1px solid #e0e5ef;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.wwu-doc:hover {
    box-shadow: 0 18px 40px rgba(22, 34, 55, .12);
    transform: translateY(-4px);
}
.wwu-doc__thumb {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eef2f8;
    border-bottom: 1px solid #e0e5ef;
}
.wwu-doc__thumb img {
    display: block;
    width: 100%;
    height: auto;
}
.wwu-doc__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.wwu-doc__body h3 {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #062f60;
    margin: 0 0 14px;
}
.wwu-doc__body .wwu-btn {
    margin-top: auto;
    width: 100%;
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
}

/* ---------- Breadcrumb inside the hero ---------- */
.wwu-crumb {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 18px;
}
.wwu-crumb a {
    color: #fff;
    text-decoration: none;
}
.wwu-crumb a:hover {
    text-decoration: underline;
}

/* ---------- Text pages (privacy, disclaimer, careers, certificates) ---------- */
.wwu-prose {
    max-width: 860px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: #3d4757;
}
.wwu-prose h2 {
    font-size: 22px;
    font-weight: 700;
    color: #062f60;
    margin: 34px 0 10px;
}
.wwu-prose h2:first-child {
    margin-top: 0;
}
.wwu-prose ul {
    padding-left: 20px;
}
.wwu-prose a {
    color: #d72638;
}
.wwu-updated {
    font-size: 13px;
    color: #6b7585;
}
.wwu-card a {
    color: #d72638;
}

/* ---------- Link list (technical specifications) ---------- */
.wwu-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wwu-links li {
    border-bottom: 1px solid #e6eaf1;
}
.wwu-links a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 4px;
    color: #062f60;
    font-weight: 600;
    text-decoration: none;
}
.wwu-links a:hover {
    color: #d72638;
}
.wwu-links small {
    color: #6b7585;
    font-weight: 400;
    white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .wwu-cards--4,
    .wwu-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .wwu-layout { grid-template-columns: 1fr; }
    .wwu-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .wwu-hero { padding: 50px 0 56px; margin-top: 96px; }
    .wwu-hero h1 { font-size: 34px; }
    .wwu-section { padding: 50px 0; }
    .wwu-section__head h2 { font-size: 26px; }
    .wwu-cards,
    .wwu-cards--4,
    .wwu-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 560px) {
    .wwu-cards,
    .wwu-cards--4,
    .wwu-docs,
    .wwu-grid { grid-template-columns: 1fr; }
    .wwu-form { padding: 22px 16px; }
    .wwu-btn { width: 100%; }
}
