/* ============================================================
   VHBConnectPcsInquiry — Full clamp() responsive redesign
   Matches connect.blackinton.com ConnectHub style
   ============================================================ */

/* ── Divi reset — broad selectors, no :has() needed ── */
.et_pb_section { padding-top: 0 !important; padding-bottom: 0 !important; }
.et_pb_row { padding-top: 0 !important; padding-bottom: 0 !important;    }
.et_pb_column { padding: 0 !important; }
/* Contain overflow so 100vw trick works */
#page-container, .et_pb_section, .et_pb_row, .et_pb_column { overflow-x: clip !important; }

/* ── Divi full-width override ── */
.et_pb_section:has(.vhb-pcs-inquiry-page) {
    padding: 0 !important; margin: 0 !important;
    width: 100% !important; max-width: 100% !important;
}
.et_pb_row:has(.vhb-pcs-inquiry-page) {
    padding: 0 !important; margin: 0 !important;
    width: 100% !important; max-width: 100% !important;
}
.et_pb_column:has(.vhb-pcs-inquiry-page) {
    padding: 0 !important; margin: 0 !important;
    width: 100% !important; max-width: 100% !important;
    overflow: visible !important;
}
.et_pb_text:has(.vhb-pcs-inquiry-page) {
    width: 100% !important; max-width: 100% !important; padding: 0 !important;
}

/* ── Base ── */
.vhb-pcs-inquiry-page {
    font-family: 'Inter', Arial, sans-serif;
    background: #f7faff;
    min-height: 100vh;
    padding-bottom: clamp(48px, 6vw, 80px);
    margin-top: -2rem !important;
}
.vhb-pcs-inquiry-page * { box-sizing: border-box; }

/* ══ HERO ══════════════════════════════════════════════════ */
.pcs-page-hero {     
    padding: clamp(36px, 6vw, 72px) clamp(16px, 3vw, 24px) clamp(16px, 2.5vw, 28px);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}
.pcs-page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: clamp(200px, 30vw, 400px);
    height: clamp(200px, 30vw, 400px);
    background: radial-gradient(circle, rgba(34,113,177,.08) 0%, transparent 70%);
    pointer-events: none;
}
.pcs-page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 clamp(16px, 3vw, 40px);
}

.pcs-page-logo {
    height: clamp(56px, 8.5vw, 90px);
    width: auto;
    background: transparent !important;
    margin-bottom: clamp(14px, 2vw, 20px);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pcs-hero-divider {
    width: clamp(36px, 4vw, 48px);
    height: 3px;
    background: linear-gradient(90deg, #2271b1, #3b5bdb);
    border-radius: 999px;
    margin: 0 auto clamp(12px, 1.8vw, 18px);
}

.pcs-page-eyebrow {
    font-size: clamp(14px, 1.2vw, 14px);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #2271b1;
    margin-bottom: clamp(8px, 1.2vw, 12px);
    text-align: center;
}
.pcs-page-eyebrow i { margin-right: 4px; }

.pcs-page-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0e2a4d;
    line-height: 1.14;
    margin-bottom: clamp(10px, 1.5vw, 16px);
}

.pcs-page-subtitle {
    font-size: clamp(.88rem, 1.5vw, 1rem);
    color: #5e6e82;
    line-height: 1.72;
    margin: 0 auto clamp(20px, 3vw, 25px);
}

/* Hero stat strip */
.pcs-hero-stats {
    display: inline-flex;
    align-items: center;
    border-top: 1px solid #dce8f8;
     gap: 0;
}
.pcs-hero-stat {
    text-align: center;
    padding: 0 clamp(14px, 2.5vw, 30px);
}
.pcs-hero-stat-label {
    display: block;
    font-size: clamp(8px, 1vw, 10px);
    font-weight: 700;
    color: #8896a8;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: clamp(2px, 0.4vw, 4px);
}
.pcs-hero-stat-value {
    display: block;
    font-size: clamp(.85rem, 1.3vw, 1rem);
    font-weight: 800;
    color: #0e2a4d;
}
.pcs-hero-stat-divider {
    width: 1px;
    height: clamp(24px, 3vw, 32px);
    background: #dce8f8;
}

/* ══ FORM CONTAINER ════════════════════════════════════════ */
.pcs-inquiry-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

/* ══ CARD ══════════════════════════════════════════════════ */
.pcs-inquiry-card {
    background: #ffffff;
    border: 1px solid #e2eaf6;
    border-radius: clamp(10px, 1.5vw, 16px);
    box-shadow: 0 4px 24px rgba(14,42,77,.07);
    overflow: hidden;
    width: 100%;
}
.pcs-card-header { display: none !important; }

/* ══ CARD BODY ═════════════════════════════════════════════ */
.pcs-card-body {
    padding: clamp(20px, 3.5vw, 40px) clamp(18px, 3.5vw, 44px) clamp(24px, 3.5vw, 44px);
}

/* ══ SECTIONS ══════════════════════════════════════════════ */
.pcs-section {
    margin-bottom: clamp(18px, 2.8vw, 28px);
    padding-bottom: clamp(18px, 2.8vw, 26px);
    border-bottom: 1px solid #f0f4fc;
}
.pcs-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.pcs-section-label {
    font-size: clamp(9px, 1.1vw, 11px);
    font-weight: 700;
    color: #2271b1;
    text-transform: uppercase;
    letter-spacing: .12em;
    display: flex;
    align-items: center;
    gap: clamp(5px, 0.8vw, 8px);
    margin-bottom: clamp(10px, 1.8vw, 16px);
}
.pcs-section-label i { font-size: clamp(12px, 1.4vw, 14px); }
.pcs-section-desc {
    font-size: clamp(12px, 1.3vw, 13.5px);
    color: #6b7280;
    margin-bottom: clamp(8px, 1.2vw, 12px);
    line-height: 1.55;
}

/* ══ LABELS ════════════════════════════════════════════════ */
.pcs-label {
    font-size: clamp(.76rem, 1.1vw, .875rem);
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: clamp(4px, 0.6vw, 6px);
}
.pcs-required { color: #e53e3e; font-weight: 700; }
.pcs-footnote {
    font-size: clamp(10px, 1.1vw, 12px) !important;
    color: #9ca3af !important;
    margin-top: clamp(3px, 0.4vw, 5px);
}
.pcs-contact-note {
    color: #6b7280 !important;
    font-size: clamp(11px, 1.2vw, 12.5px) !important;
}

/* ══ INPUTS ════════════════════════════════════════════════ */
.vhb-pcs-inquiry-page .form-control,
.vhb-pcs-inquiry-page .form-select {
    border: 1px solid #d0daea;
    border-radius: clamp(6px, 0.8vw, 8px);
    padding: clamp(8px, 1.1vw, 10px) clamp(10px, 1.4vw, 14px);
    font-size: clamp(.78rem, 1.2vw, .9rem);
    color: #0e2a4d;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.vhb-pcs-inquiry-page .form-control:focus,
.vhb-pcs-inquiry-page .form-select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34,113,177,.14);
    outline: none;
}
.vhb-pcs-inquiry-page .form-control.is-invalid,
.vhb-pcs-inquiry-page .form-select.is-invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}

/* ══ RADIO PILLS ═══════════════════════════════════════════ */
.pcs-radio-group {
    display: flex;
    gap: clamp(6px, 0.8vw, 10px);
    margin-top: clamp(4px, 0.6vw, 8px);
    flex-wrap: wrap;
}
.pcs-radio-option {
    display: inline-flex;
    align-items: center;
    gap: clamp(5px, 0.7vw, 8px);
    padding: clamp(6px, 0.9vw, 9px) clamp(12px, 1.8vw, 20px);
    border: 1.5px solid #d0daea;
    border-radius: clamp(6px, 0.8vw, 8px);
    cursor: pointer;
    transition: all .15s;
    margin: 0 !important;
    background: #fff;
}
.pcs-radio-option:hover { border-color: #2271b1; background: #f0f5ff; }
.pcs-radio-option .form-check-input { display: none !important; }
.pcs-radio-option .form-check-label {
    font-size: clamp(.76rem, 1.1vw, .875rem);
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    margin-bottom: 0;
    line-height: 1;
}
.pcs-radio-option:has(.form-check-input:checked) {
    border-color: #2271b1;
    background: #eef4ff;
    box-shadow: 0 0 0 1px #2271b1;
}
.pcs-radio-option .form-check-input:checked ~ .form-check-label {
    color: #1e3a8a;
    font-weight: 700;
}
.pcs-radio-group.pcs-invalid .pcs-radio-option { border-color: #e53e3e; }
.pcs-conditional-section { padding-top: clamp(6px, 1vw, 12px); }

/* ══ IMPLEMENTATION CARDS ══════════════════════════════════ */
.pcs-impl-choices { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 12px); }
.pcs-impl-card {
    display: flex;
    align-items: flex-start;
    gap: clamp(10px, 1.5vw, 16px);
    padding: clamp(12px, 1.8vw, 18px) clamp(12px, 1.8vw, 20px);
    border: 1.5px solid #e2eaf6;
    border-radius: clamp(8px, 1vw, 10px);
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}
.pcs-impl-card:hover { border-color: #2271b1; background: #f7faff; }
.pcs-impl-card.pcs-impl-selected {
    border-color: #2271b1;
    background: #eef4ff;
    box-shadow: 0 0 0 1px #2271b1;
}
.pcs-impl-icon {
    flex-shrink: 0;
    width: clamp(34px, 4vw, 42px);
    height: clamp(34px, 4vw, 42px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: clamp(7px, 0.9vw, 9px);
    background: #eef4ff;
    color: #2271b1;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    transition: all .2s;
}
.pcs-impl-card.pcs-impl-selected .pcs-impl-icon { background: #2271b1; color: #fff; }
.pcs-impl-content { flex: 1; }
.pcs-impl-title {
    font-size: clamp(.78rem, 1.1vw, .9rem);
    font-weight: 700;
    color: #0e2a4d;
    margin-bottom: clamp(2px, 0.3vw, 4px);
}
.pcs-impl-desc {
    font-size: clamp(.73rem, 1vw, .85rem);
    color: #5e6e82;
    line-height: 1.55;
}
.pcs-impl-footnote {
    font-size: clamp(10px, 1.1vw, 12px);
    color: #9ca3af;
    font-style: italic;
    margin-top: clamp(2px, 0.3vw, 4px);
}
.pcs-impl-check {
    flex-shrink: 0;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #d0daea;
    align-self: center;
    transition: all .2s;
}
.pcs-impl-card.pcs-impl-selected .pcs-impl-check { color: #2271b1; }
.pcs-impl-card.pcs-impl-error { border-color: #e53e3e; background: #fff8f8; }
.pcs-impl-card.pcs-impl-error .pcs-impl-icon { background: #fde8ea; color: #e53e3e; }

/* ══ SUBMIT ════════════════════════════════════════════════ */
.pcs-submit-section {
    margin-top: clamp(20px, 3vw, 36px);
    padding-top: clamp(18px, 2.5vw, 28px);
    border-top: 1px solid #f0f4fc;
    text-align: center;
}
.pcs-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 0.8vw, 9px);
    padding: clamp(11px, 1.6vw, 14px) clamp(28px, 4vw, 52px);
    font-size: clamp(.84rem, 1.2vw, .95rem);
    font-weight: 700;
    border-radius: clamp(8px, 1vw, 10px);
    background: linear-gradient(135deg, #2271b1, #3b5bdb);
    border: none;
    color: #fff;
    transition: all .22s;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(59,91,219,.22);
    letter-spacing: .01em;
}
.pcs-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,91,219,.35);
    color: #fff;
}
.pcs-submit-btn:active { transform: translateY(0); }
.pcs-submit-btn:disabled { opacity: .65; transform: none; box-shadow: none; cursor: not-allowed; }

/* ══ ALERTS ════════════════════════════════════════════════ */
.pcs-alert { margin-bottom: clamp(14px, 2vw, 20px); }
.pcs-alert-inner.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; border-radius: clamp(6px, 0.8vw, 8px); }
.pcs-alert-inner.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; border-radius: clamp(6px, 0.8vw, 8px); }
.pcs-alert-inner.alert-danger  { background: #fef2f2; border-color: #fecaca; color: #991b1b; border-radius: clamp(6px, 0.8vw, 8px); }

/* ══ SUCCESS ═══════════════════════════════════════════════ */
.pcs-success-card { text-align: center; }
.pcs-success-body {
    padding: clamp(44px, 7vw, 72px) clamp(20px, 4vw, 40px);
}
.pcs-success-icon {
    width: clamp(56px, 7vw, 72px);
    height: clamp(56px, 7vw, 72px);
    border-radius: 50%;
    background: #e6f9ee;
    color: #22c55e;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(16px, 2.5vw, 22px);
}
.pcs-success-title {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #0e2a4d;
    margin-bottom: clamp(8px, 1.2vw, 14px);
}
.pcs-success-message {
    font-size: clamp(.86rem, 1.3vw, .98rem);
    color: #5e6e82;
    max-width: clamp(280px, 40vw, 460px);
    margin: 0 auto;
    line-height: 1.7;
}

/* ══ MISC ══════════════════════════════════════════════════ */
.spinner-border-sm { width: 1rem; height: 1rem; border-width: 0.15em; }

/* ══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 768px) {
    .pcs-hero-stats { flex-wrap: wrap; gap: clamp(8px, 2vw, 14px); }
    .pcs-hero-stat-divider { display: none; }
    .pcs-radio-group { flex-direction: column; }
    .pcs-submit-btn { width: 100%; justify-content: center; }
}

/* ══ PRINT ═════════════════════════════════════════════════ */
@media print {
    .pcs-submit-section, .pcs-alert { display: none; }
}