/* ============================================================
   contact-modern.css — Eduro Contact Page Facelift
   Colors: #DE6B3B (primary orange), #F2943C (secondary)
   Font: DM Sans (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Reset page chrome ───────────────────────────────────── */
.contact-modern-wrap * {
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

/* ── Page wrapper ────────────────────────────────────────── */
.contact-modern-page {
    min-height: 100vh;
    background: #f5f4f9;
    padding: 60px 20px 60px;
}

/* ── Main card (two-column) ──────────────────────────────── */
.contact-modern-wrap {
    max-width: 1020px;
    margin: 0 auto;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.13);
    min-height: 600px;
}

/* ── LEFT — orange gradient panel ───────────────────────── */
.cm-left {
    width: 380px;
    min-width: 340px;
    background: linear-gradient(155deg, #DE6B3B 0%, #F2943C 100%);
    padding: 52px 36px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* decorative circles */
.cm-left::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.cm-left::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -50px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}

/* avatar */
.cm-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.5);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.cm-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.cm-role {
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

.cm-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 50px;
    padding: 9px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 32px;
    transition: background .2s;
    position: relative;
    z-index: 1;
}
.cm-phone:hover {
    background: rgba(255,255,255,.28);
    color: #fff;
    text-decoration: none;
}
.cm-phone i { font-size: 15px; }

/* divider */
.cm-divider {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
}

/* benefits list */
.cm-benefits {
    list-style: none;
    padding: 0; margin: 0;
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 1;
}
.cm-benefits li {
    color: rgba(255,255,255,.92);
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.cm-benefits li i {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* trust badges at the bottom */
.cm-trust {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cm-trust img {
    height: 38px;
    filter: brightness(0) invert(1) opacity(.7);
    transition: opacity .2s;
}
.cm-trust img:hover { opacity: .9; }

/* ── RIGHT — form panel ──────────────────────────────────── */
.cm-right {
    flex: 1;
    background: #fff;
    padding: 52px 48px 40px;
    display: flex;
    flex-direction: column;
}

.cm-form-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #DE6B3B;
    margin-bottom: 8px;
}

.cm-form-heading {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 28px;
    line-height: 1.3;
}

/* grid */
.cm-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* fields */
.cm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
}

.cm-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: #5a5a7a;
    letter-spacing: .02em;
}

.cm-field input[type="text"],
.cm-field input[type="email"],
.cm-field input[type="tel"],
.cm-field textarea {
    width: 100%;
    height: 48px;
    border: 1.5px solid #e8e8f0;
    border-radius: 11px;
    padding: 0 16px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a2e;
    background: #fff;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    -webkit-appearance: none;
}
.cm-field textarea {
    height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.cm-field input:focus,
.cm-field textarea:focus {
    border-color: #DE6B3B;
    box-shadow: 0 0 0 3px rgba(222,107,59,.10);
}

.cm-field input.is-invalid,
.cm-field textarea.is-invalid {
    border-color: #e74c3c;
    background: #fff8f7;
}

.cm-field .error-msg {
    font-size: 12px;
    color: #e74c3c;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.cm-field .error-msg::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

/* phone field with intl-tel-input */
.cm-field .iti {
    width: 100%;
}
.cm-field .iti input {
    width: 100%;
}

/* legal text */
.cm-legal {
    font-size: 12.5px;
    color: #8888a8;
    line-height: 1.6;
    margin: 20px 0 24px;
}
.cm-legal a {
    color: #DE6B3B;
    font-weight: 600;
    text-decoration: none;
}
.cm-legal a:hover { text-decoration: underline; }

/* submit button */
.cm-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: linear-gradient(90deg, #DE6B3B, #F2943C);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: .02em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    text-transform: uppercase;
}
.cm-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
}
.cm-submit:active {
    transform: translateY(0);
}

/* ── Sicher (trust) bottom section ───────────────────────── */
.cm-sicher {
    background: #fff;
    border-top: 1px solid #ebebf5;
    padding: 20px 32px;
    max-width: 1020px;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.cm-sicher ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}
.cm-sicher ul li a {
    font-size: 13px;
    color: #6b6b8a;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .15s;
}
.cm-sicher ul li a:hover { color: #DE6B3B; }
.cm-sicher ul li a i {
    font-size: 11px;
    color: #DE6B3B;
}
.cm-sicher-badges {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cm-sicher-badges img {
    height: 32px;
    opacity: .75;
    transition: opacity .2s;
}
.cm-sicher-badges img:hover { opacity: 1; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 820px) {
    .contact-modern-wrap {
        flex-direction: column;
    }
    .cm-left {
        width: 100%;
        min-width: unset;
        padding: 36px 28px 32px;
    }
    .cm-trust { display: none; }
    .cm-right {
        padding: 36px 24px 32px;
    }
    .cm-grid-2 {
        grid-template-columns: 1fr;
    }
    .cm-form-heading { font-size: 20px; }
    .cm-sicher {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .contact-modern-page { padding: 0; }
    .contact-modern-wrap { border-radius: 0; box-shadow: none; }
    .cm-right { padding: 28px 20px 24px; }
}
