.contact-automation-page {
    background: #f4f4f6;
    padding-top: 90px;
}

.contact-automation-hero {
    padding: 40px 0 30px;
}

.contact-automation-page .section-header {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.contact-small-title {
    display: block;
    margin-bottom: 16px;
    color: #1678ff;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.contact-automation-page .section-header h1 {
    margin: 0 0 24px;
    font-family: "Lato", sans-serif;
    font-size: 34px;
    line-height: 1.42;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #05070b;
}

.contact-automation-page .section-header p {
    max-width: 820px;
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: #3f5668;
}

.contact-automation-wrap {
    margin-top: 55px;
}

.contact-form-box,
.contact-info-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 46px rgba(16, 24, 32, 0.14);
    border: 1px solid rgba(16, 24, 32, 0.06);
    border-top: 4px solid #00c8d7;
    padding: 38px 34px;
    margin-bottom: 30px;
}

.contact-form-label {
    display: block;
    margin-bottom: 14px;
    color: #1678ff;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-form-box h2,
.contact-info-box h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-family: "Lato", sans-serif;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #05070b;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #d9e2ea;
    border-radius: 6px;
    background: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2a35;
    outline: none;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
    border-color: #00c8d7;
    box-shadow: 0 0 0 3px rgba(0, 200, 215, 0.12);
}

.contact-submit-btn {
    display: inline-block;
    padding: 13px 30px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(135deg, #1678ff, #00c8d7);
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    box-shadow: 0 14px 32px rgba(0, 200, 215, 0.25);
    transition: all 0.25s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(0, 200, 215, 0.35);
}

.contact-note {
    margin-top: 22px;
    color: #3f5668;
    font-size: 14px;
    line-height: 1.75;
}

.contact-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-box li {
    padding: 8px 0;
    color: #1f2a35;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    border-bottom: 1px solid #edf1f5;
}

.contact-info-box li:last-child {
    border-bottom: none;
}

.contact-info-box a {
    color: #1678ff;
}

.contact-direct-mail {
    margin-top: 28px;
    padding: 22px;
    border-radius: 8px;
    background: #eef7fb;
}

.contact-direct-mail p {
    margin: 0 0 10px;
    color: #3f5668;
}

.contact-direct-mail a {
    color: #1678ff;
    font-weight: 700;
}

.contact-success-message {
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 6px;
    background: #e9f8ee;
    color: #236c3a;
    font-weight: 600;
}

@media (max-width: 767px) {
    .contact-automation-page {
        padding-top: 60px;
    }

    .contact-automation-page .section-header h1 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .contact-form-box,
    .contact-info-box {
        padding: 28px 24px;
    }
}

.contact-error-message {
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 6px;
    background: #fdecec;
    color: #8a2323;
    font-weight: 600;
    line-height: 1.6;
}

.contact-error-message small {
    display: block;
    margin-top: 8px;
    color: #6b1f1f;
    font-weight: 400;
}

.contact-turnstile-wrap {
    margin: 6px 0 22px;
}





/* =========================================================================
   IMPRO MEDIA - PREMIUM REFINEMENT FOR CONTACT PAGE (contact.css)
   - Adăugați sau înlocuiți aceste reguli la sfârșitul fișierului contact.css
   - Trece aspectul de la un template standard rigid la o experiență modernă "Human-Crafted".
   ========================================================================= */

/* 1. RAFINARE CADRE PRINCIPALE (CONTACT FORM & INFO BOX)
   - Elimină accentul grosier direct lipit pe contur de sus (border-top).
   - Înlocuiește umbra masivă de șablon cu o umbră ambientala multi-strat (soft air-shadow).
   - Adaugă o tranziție elastică la trecerea cursorului (lift discret + strălucire fină). */
.contact-form-box,
.contact-info-box {
    border-top: none !important; /* Elimină banda greoaie originală direct atașată colțurilor */
    position: relative;
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid rgba(16, 24, 32, 0.04) !important;
    padding: 44px 38px !important;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 
        0 4px 20px rgba(16, 24, 32, 0.02),
        0 12px 38px rgba(16, 24, 32, 0.04) !important;
}

/* Crearea unui top border flotant, subțire și însetat cu gradient care nu se suprapune peste colțurile rotunjite */
.contact-form-box::before,
.contact-info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, #1678ff, #00c8d7);
    transition: all 0.35s ease;
}

/* Micro-interacțiuni uimitoare la hover */
.contact-form-box:hover,
.contact-info-box:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 120, 255, 0.12) !important;
    box-shadow: 
        0 8px 24px rgba(16, 24, 32, 0.03),
        0 24px 54px rgba(16, 24, 32, 0.07) !important;
}

.contact-form-box:hover::before,
.contact-info-box:hover::before {
    left: 18px;
    right: 18px;
}

/* 2. MODERNIZARE CÂMPURI DE INPUT & SELECT (ELEMENTE INTERACTIVE REZISTENTE) */
.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;
    margin-bottom: 22px !important;
    padding: 14px 18px !important;
    border: 1px solid rgba(217, 226, 234, 0.72) !important;
    border-radius: 8px !important;
    background: #fcfdfe !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    color: #1f2a35 !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

/* Stare de focalizare fluidă (fără aspect solid agresiv, ci un halo moale) */
.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
    background: #ffffff !important;
    border-color: #00c8d7 !important;
    box-shadow: 0 0 0 4px rgba(0, 200, 215, 0.08) !important;
}

/* 3. PERFECTIONARE BUTON TRIMITERE (CONEXIUNE FLUIDĂ) */
.contact-submit-btn {
    border: none !important;
    padding: 14px 34px !important;
    border-radius: 26px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #1678ff, #00c8d7) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(0, 200, 215, 0.22) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.contact-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 38px rgba(0, 200, 215, 0.32) !important;
}

/* 4. DESIGN PREMIUM PENTRU CASUȚA EMAIL DIRECT */
.contact-direct-mail {
    margin-top: 32px !important;
    padding: 24px !important;
    border-radius: 10px !important;
    background: rgba(22, 120, 255, 0.03) !important;
    border-left: 3px solid #1678ff !important;
    border-top: 1px solid rgba(22, 120, 255, 0.04) !important;
    border-right: 1px solid rgba(22, 120, 255, 0.04) !important;
    border-bottom: 1px solid rgba(22, 120, 255, 0.04) !important;
    transition: background 0.3s ease !important;
}

.contact-direct-mail:hover {
    background: rgba(22, 120, 255, 0.06) !important;
}

.contact-direct-mail p {
    color: #3f5668 !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
}

.contact-direct-mail a {
    color: #1678ff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(22, 120, 255, 0.4) !important;
    padding-bottom: 2px !important;
    transition: all 0.25s ease !important;
}

.contact-direct-mail a:hover {
    color: #0d49c7 !important;
    border-bottom-color: #0d49c7 !important;
}

/* 5. TITLURI ȘI ELEMENTE DE LISTĂ CURATE ÎN SECȚIUNEA INFO */
.contact-info-box h2,
.contact-form-box h2 {
    font-family: "Lato", sans-serif !important;
    font-weight: 300 !important; /* Mai fin, mai aerisit */
    letter-spacing: 2px !important;
    margin-bottom: 28px !important;
}

.contact-info-box li {
    padding: 11px 0 !important;
    border-bottom: 1px solid rgba(237, 241, 245, 0.7) !important;
    font-size: 15px !important;
}

.contact-info-box li strong {
    color: #05070b !important;
    font-weight: 600 !important;
}

/* Centrare Turnstile widget pentru design curat */
.cf-turnstile {
    display: flex;
    justify-content: start;
    margin: 12px 0 24px !important;
}