/*
 * Herroeping / retourformulier - Bakker IJlst
 * /wp-content/themes/charliens/css/herroeping.css
 */

/* ═══════════════ HERO ═══════════════ */
.hr-hero {
    background: linear-gradient(160deg, #014b9a 0%, #1b3699 50%, #0a1628 100%);
    padding: 70px 0 60px;
    text-align: center;
}
.hr-hero-inner { max-width: 760px; }
.hr-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.hr-hero-badge i { margin-right: 6px; }
.hr-hero h1 {
    color: white;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
}
.hr-hero-text, .hr-hero-text p {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    line-height: 28px;
    margin: 0;
}

/* ═══════════════ CONTENT ═══════════════ */
.hr-content { padding: 70px 0; background: #f8f9fa; }
.hr-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: start;
}

/* ═══════════════ INFO KOLOM ═══════════════ */
.hr-info h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin: 0 0 16px;
    font-weight: 800;
}
.hr-info > p {
    font-size: 16px;
    line-height: 27px;
    color: #555;
    margin: 0 0 30px;
}

.hr-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.hr-step { display: flex; gap: 16px; align-items: flex-start; }
.hr-step-nr {
    width: 40px; height: 40px; min-width: 40px;
    background: linear-gradient(135deg, #014b9a, #1b3699);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 900; font-size: 16px;
}
.hr-step-txt strong {
    display: block;
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 3px;
}
.hr-step-txt span {
    font-size: 14px;
    line-height: 23px;
    color: #666;
}

.hr-retouradres {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.hr-retouradres-icon {
    width: 46px; height: 46px; min-width: 46px;
    background: #e8f4f4;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #4e9b9c; font-size: 20px;
}
.hr-retouradres strong {
    display: block;
    color: #1a1a2e;
    font-size: 15px;
    margin-bottom: 4px;
}
.hr-retouradres > div:last-child {
    font-size: 14px;
    line-height: 22px;
    color: #666;
}

/* ═══════════════ FORMULIER ═══════════════ */
.hr-form-wrap {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.hr-form-header { margin-bottom: 28px; }
.hr-form-header h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin: 0 0 6px;
    font-weight: 800;
}
.hr-form-header p {
    font-size: 15px;
    color: #777;
    margin: 0;
}

.hr-field-group { margin-bottom: 20px; }
.hr-field-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.hr-field-group label span { color: #c0392b; }
.hr-field-group label span.hr-optioneel {
    color: #999;
    font-weight: 500;
    font-size: 13px;
}
.hr-field-group small {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.hr-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.hr-field-row .hr-field-group { margin-bottom: 0; }

.hr-form input[type="text"],
.hr-form input[type="email"],
.hr-form input[type="date"],
.hr-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a2e;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    margin-bottom: 0;
}
.hr-form input:not(:last-child) { margin-bottom: 14px; }
.hr-field-row input { margin-bottom: 0 !important; }
.hr-form input:focus,
.hr-form textarea:focus {
    outline: none;
    border-color: #014b9a;
    box-shadow: 0 0 0 3px rgba(1,75,154,0.1);
}
.hr-form textarea { resize: vertical; }

.hr-form .hr-field-invalid {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.08) !important;
}

.hr-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 26px 0;
}

/* Akkoord checkbox */
.hr-akkoord {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    background: #f4f6fa;
    border-radius: 10px;
    margin-bottom: 24px;
    cursor: pointer;
}
.hr-akkoord input {
    margin-top: 3px;
    width: 18px; height: 18px;
    min-width: 18px;
    accent-color: #014b9a;
    cursor: pointer;
}
.hr-akkoord span {
    font-size: 14px;
    line-height: 22px;
    color: #555;
}

/* Submit */
.hr-submit {
    width: 100%;
    padding: 16px;
    background: #014b9a;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.hr-submit:hover:not(:disabled) {
    background: #0a3d7a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(1,75,154,0.28);
}
.hr-submit i { margin-right: 8px; }
.hr-submit-loading { display: none; }
.hr-submit.is-loading .hr-submit-text { display: none; }
.hr-submit.is-loading .hr-submit-loading { display: inline; }
.hr-submit:disabled { opacity: 0.75; cursor: default; }

/* Message */
.hr-message {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 23px;
}
.hr-message i { margin-right: 8px; }
.hr-message-ok {
    background: #e8f8f0;
    color: #1e8449;
    border: 1px solid #abebc6;
}
.hr-message-err {
    background: #fdedec;
    color: #c0392b;
    border: 1px solid #f5b7b1;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media screen and (max-width: 900px) {
    .hr-grid { grid-template-columns: 1fr; gap: 40px; }
    .hr-hero h1 { font-size: 32px; }
    .hr-hero { padding: 55px 0 45px; }
    .hr-content { padding: 50px 0; }
    .hr-form-wrap { padding: 30px 24px; }
}

@media screen and (max-width: 500px) {
    .hr-field-row { grid-template-columns: 1fr; gap: 0; }
    .hr-field-row .hr-field-group { margin-bottom: 20px; }
    .hr-field-row input { margin-bottom: 14px !important; }
}
