/**
 * SnelPen - Contact Service Page Styles
 * File: theme/siteweb-starter/assets/css/contact.css
 * Extends klantenservice.css design tokens & components
 */

body.page-template-page-contact,
body.page-id-274,
.spct-page {
    overflow-x: hidden;
    max-width: 100%;
}

/* ==========================================================
   1. HERO (COMPACT)
   ========================================================== */

.spct-hero {
    background: var(--spcs-pale);
    padding: 56px 0 60px;
}

.spct-hero-inner {
    max-width: 740px;
}

.spct-hero-inner h1 {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 0 0 16px;
    color: var(--spcs-dark);
    word-break: break-word;
}

.spct-hero-inner .spcs-lead {
    font-size: 17px;
    line-height: 1.65;
    color: #475d68;
    margin: 0;
}

/* ==========================================================
   2. KIES JE CONTACTMOMENT (3 COMPACTE CARDS)
   ========================================================== */

.spct-channels-section {
    background: #ffffff;
    padding: 60px 0 36px;
}

.spct-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.spct-channel-card {
    background: #ffffff;
    border: 1px solid #e2edf0;
    border-radius: 18px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(12, 32, 46, 0.03);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.spct-channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 32, 46, 0.07);
    border-color: #c0dfe6;
}

.spct-channel-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--spcs-pale);
    border: 1px solid #cbe9ef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.spct-icon-wa {
    background: #e7f7ed;
    border-color: #c2ebd1;
    color: #128c7e;
}

.spct-channel-card h2 {
    font-size: 20px;
    font-weight: 850;
    line-height: 1.2;
    color: var(--spcs-dark);
    letter-spacing: -0.3px;
    margin: 0 0 10px;
}

.spct-channel-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #475d68;
    margin: 0 0 20px;
    flex-grow: 1;
}

.spct-channel-action {
    margin-top: auto;
}

.spct-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #128c7e;
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.spct-btn-wa:hover {
    background: #0f7569;
    transform: translateY(-1px);
}

.spct-mail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 800;
    color: var(--spcs-blue-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

.spct-mail-link:hover {
    color: var(--spcs-blue);
    text-decoration: underline;
}

/* ==========================================================
   3. HEB JE AL BESTELD? (INFORMATIEBLOK)
   ========================================================== */

.spct-order-notice-section {
    background: #ffffff;
    padding: 0 0 54px;
}

.spct-order-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #f4fbfe;
    border: 1.5px solid #cae8ee;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 3px 14px rgba(0, 127, 150, 0.04);
}

.spct-order-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cce8ee;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 127, 150, 0.08);
}

.spct-order-content {
    flex-grow: 1;
}

.spct-order-content .spcs-eyebrow {
    margin-bottom: 4px;
}

.spct-order-content h2 {
    font-size: 20px;
    font-weight: 850;
    line-height: 1.2;
    color: var(--spcs-dark);
    letter-spacing: -0.3px;
    margin: 0 0 6px;
}

.spct-order-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #364e59;
    margin: 0;
}

.spct-order-action {
    flex-shrink: 0;
}

/* ==========================================================
   4 & 5. CONTACTFORMULIER & ZIJBALK LAYOUT
   ========================================================== */

.spct-form-section {
    background: #fbfdfe;
    border-top: 1px solid #edf4f7;
    border-bottom: 1px solid #edf4f7;
    padding: 64px 0 72px;
    scroll-margin-top: 30px;
}

.spct-form-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 36px;
    align-items: start;
}

.spct-form-container {
    background: #ffffff;
    border: 1px solid #e2edf0;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 4px 16px rgba(12, 32, 46, 0.04);
}

.spct-form-header {
    margin-bottom: 28px;
}

.spct-form-header h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin: 0 0 12px;
    color: var(--spcs-dark);
}

.spct-order-hint {
    background: #f0fbfd;
    border-left: 3px solid var(--spcs-blue);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #27525e;
}

/* Gravity Forms Styling Integration */
.spct-form-body .gform_wrapper {
    margin: 0;
}

.spct-form-body .gform_wrapper form {
    margin: 0;
}

.spct-form-body .gform_fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.spct-form-body .gfield {
    margin: 0;
    width: 100%;
}

.spct-form-body .gfield_label {
    display: block;
    font-size: 14px;
    font-weight: 750;
    color: var(--spcs-dark);
    margin-bottom: 7px;
    letter-spacing: -0.1px;
}

.spct-form-body .gfield_required {
    color: #e11d48;
    margin-left: 3px;
}

.spct-form-body input[type="text"],
.spct-form-body input[type="email"],
.spct-form-body input[type="tel"],
.spct-form-body textarea {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #d0dee3;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    color: var(--spcs-dark);
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.spct-form-body input:focus,
.spct-form-body textarea:focus {
    outline: none;
    border-color: var(--spcs-blue);
    box-shadow: 0 0 0 3px rgba(8, 171, 198, 0.15);
}

.spct-form-body textarea {
    min-height: 130px;
    resize: vertical;
}

.spct-form-body .gform_footer {
    margin: 0;
    padding: 0;
}

.spct-form-body .gform_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--spcs-blue) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 13px 32px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease !important;
}

.spct-form-body .gform_button:hover {
    background: var(--spcs-blue-dark) !important;
    transform: translateY(-1px);
}

.spct-form-body .gform_confirmation_message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 18px 22px;
    border-radius: 12px;
    font-size: 15.5px;
    line-height: 1.6;
    font-weight: 600;
}

/* ==========================================================
   SIDEBAR (ONDERWERPEN, CONTACTGEGEVENS, OFFERTE)
   ========================================================== */

.spct-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.spct-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2edf0;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 2px 10px rgba(12, 32, 46, 0.03);
}

.spct-sidebar-card h3 {
    font-size: 19px;
    font-weight: 850;
    color: var(--spcs-dark);
    letter-spacing: -0.3px;
    margin: 0 0 10px;
    line-height: 1.2;
}

.spct-sidebar-intro {
    font-size: 14.5px;
    color: #475d68;
    margin: 0 0 14px;
}

.spct-topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.spct-topics-list li {
    font-size: 14.5px;
    color: #364e59;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.spct-topics-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--spcs-blue-dark);
    font-weight: 800;
    font-size: 13px;
}

/* Contact Details */
.spct-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spct-contact-details li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 14.5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f7f9;
}

.spct-contact-details li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spct-detail-label {
    font-size: 13px;
    font-weight: 700;
    color: #6a828e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spct-contact-details a {
    color: var(--spcs-blue-dark);
    font-weight: 800;
    text-decoration: none;
    transition: color 0.15s ease;
}

.spct-contact-details a:hover {
    color: var(--spcs-blue);
    text-decoration: underline;
}

.spct-detail-phone a {
    font-weight: 700;
    color: #475d68;
}

/* Offerte Card */
.spct-offerte-card {
    background: #f8fcfe;
    border-color: #cae8ee;
}

.spct-offerte-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #475d68;
    margin: 0 0 14px;
}

/* ==========================================================
   8. FAQ
   ========================================================== */

.spct-faq-section {
    background: #ffffff;
    padding: 68px 0 72px;
}

.spct-faq-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
}

/* ==========================================================
   9. RUSTIGE AFSLUITING (GEEN GROTE CTA BANNER)
   ========================================================== */

.spct-closing-section {
    background: var(--spcs-pale);
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid #edf5f8;
}

.spct-closing-text {
    font-size: 16px;
    font-weight: 750;
    color: #364e59;
    margin: 0;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 960px) {
    .spct-channels-grid {
        grid-template-columns: 1fr;
    }

    .spct-form-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .spct-order-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .spct-hero {
        padding: 42px 0 46px;
    }

    .spct-channels-section {
        padding: 44px 0 28px;
    }

    .spct-form-section {
        padding: 44px 0 54px;
    }

    .spct-form-container {
        padding: 28px 20px;
    }

    .spct-faq-section {
        padding: 48px 0 52px;
    }
}
