/* ===================================================
   CONTACT FORM SECTION - HOMEPAGE
   Two-column: info left + form right
   =================================================== */

/* ---- Hard Reset ---- */
.vortice-contact-section,
.vortice-contact-section *,
.vortice-contact-section h2,
.vortice-contact-section h3,
.vortice-contact-section p,
.vortice-contact-section a,
.vortice-contact-section span,
.vortice-contact-section label,
.vortice-contact-section input,
.vortice-contact-section textarea {
    font-family: 'Fira Sans', sans-serif !important;
    box-sizing: border-box;
}

/* ---- Section ---- */
.vortice-contact-section {
    position: relative;
    padding: 80px 24px !important;
    background: #f8fafc !important;
    overflow: hidden;
}

.vortice-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00963e, #31be67, #00963e, transparent);
}

.vortice-contact-section::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: rgba(49, 190, 103, 0.04);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

/* ---- Header ---- */
.vortice-contact-header {
    text-align: center !important;
    max-width: 768px;
    margin: 0 auto 48px auto !important;
    position: relative;
    z-index: 10;
}

.vortice-contact-title {
    font-size: 48px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: #0f172a !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.025em !important;
    text-transform: none !important;
    padding: 0 !important;
    word-spacing: 0.15em;
}

@media (min-width: 1024px) {
    .vortice-contact-title {
        font-size: 60px !important;
    }
}

.vortice-contact-title strong {
    font-weight: 600 !important;
    background: linear-gradient(135deg, #00963E 0%, #31be67 40%, #00963E 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.vortice-contact-desc {
    font-size: 18px !important;
    color: #64748b !important;
    font-weight: 300 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    padding: 0 !important;
}

/* ---- Two-Column Grid ---- */
.vortice-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto !important;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .vortice-contact-grid {
        grid-template-columns: 320px 1fr;
        gap: 40px;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .vortice-contact-grid {
        grid-template-columns: 360px 1fr;
        gap: 48px;
    }
}

/* ---- Left Column: Contact Info (matching footer style) ---- */
.vortice-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 8px;
}

/* Info Item */
.vortice-contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Icon - raw <i>, same as footer */
.vortice-contact-section .vortice-contact-info-icon {
    font-size: 3rem !important;
    color: #d1d5db !important;
    line-height: 1 !important;
    flex-shrink: 0;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-font-smoothing: antialiased !important;
    background: none !important;
    width: 3rem !important;
    height: 3rem !important;
    min-width: 3rem !important;
    border-radius: 0 !important;
}

.vortice-contact-section .vortice-contact-info-icon--accent {
    color: var(--vp-color-green, #00963e) !important;
    background: none !important;
}

/* Title (VORTICE Polska) */
.vortice-contact-info-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

/* Label (Telefon:, Adres:) */
.vortice-contact-section .vortice-contact-info-label {
    font-size: 1.5rem !important;
    color: #4b5563 !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.vortice-contact-section .vortice-contact-info-label strong {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
}

/* Value (Wkrótce) */
.vortice-contact-section .vortice-contact-info-value {
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: #4b5563 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* Link (www.vorticepolska.pl) */
.vortice-contact-section .vortice-contact-info-link {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--vp-color-green, #00963e) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-block;
}

.vortice-contact-section .vortice-contact-info-link:hover {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

/* Address */
.vortice-contact-section .vortice-contact-info-address {
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #4b5563 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* ---- Right Column: Form Card ---- */
.vortice-contact-form-wrapper {
    background: #ffffff !important;
    border-radius: 1.25rem !important;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 6px 16px -4px rgba(0, 0, 0, 0.08) !important;
    padding: 32px 28px 28px !important;
    position: relative;
    border: 1px solid #e2e8f0 !important;
}

.vortice-contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00963e, #31be67);
    border-radius: 0 0 3px 3px;
}

/* ---- CF7 Reset ---- */
.vortice-contact-form-wrapper .wpcf7 {
    width: 100%;
    margin: 0 !important;
}

.vortice-contact-form-wrapper .wpcf7-form {
    margin: 0 !important;
    padding: 0 !important;
}

.vortice-contact-form-wrapper .wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}

.vortice-contact-form-wrapper .wpcf7-form br {
    display: none !important;
}

/* ---- Row ---- */
.vortice-contact-form-wrapper .wpcf7-form .row {
    display: flex !important;
    flex-wrap: wrap;
    margin: 0 -6px !important;
    gap: 0 !important;
}

.vortice-contact-form-wrapper .wpcf7-form .row:last-child {
    margin-bottom: 0 !important;
}

/* ---- Columns ---- */
.vortice-contact-form-wrapper .wpcf7-form .col-lg-4,
.vortice-contact-form-wrapper .wpcf7-form .col-lg-6,
.vortice-contact-form-wrapper .wpcf7-form .col-lg-12,
.vortice-contact-form-wrapper .wpcf7-form .col-sm-12 {
    padding: 0 6px !important;
    margin-bottom: 12px !important;
}

.vortice-contact-form-wrapper .wpcf7-form .col-lg-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}

.vortice-contact-form-wrapper .wpcf7-form .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.vortice-contact-form-wrapper .wpcf7-form .col-lg-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* ---- Labels ---- */
.vortice-contact-form-wrapper .wpcf7-form .input-field {
    width: 100%;
}

.vortice-contact-form-wrapper .wpcf7-form .input-field label {
    display: block;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1 !important;
}

/* ---- Input Fields ---- */
.vortice-contact-form-wrapper .wpcf7-form input[type="text"],
.vortice-contact-form-wrapper .wpcf7-form input[type="email"],
.vortice-contact-form-wrapper .wpcf7-form input[type="tel"],
.vortice-contact-form-wrapper .wpcf7-form textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    transition: all 0.25s ease;
    line-height: 1.4 !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.vortice-contact-form-wrapper .wpcf7-form input[type="text"]:hover,
.vortice-contact-form-wrapper .wpcf7-form input[type="email"]:hover,
.vortice-contact-form-wrapper .wpcf7-form input[type="tel"]:hover,
.vortice-contact-form-wrapper .wpcf7-form textarea:hover {
    border-color: #94a3b8 !important;
    background: #fff !important;
}

.vortice-contact-form-wrapper .wpcf7-form input[type="text"]:focus,
.vortice-contact-form-wrapper .wpcf7-form input[type="email"]:focus,
.vortice-contact-form-wrapper .wpcf7-form input[type="tel"]:focus,
.vortice-contact-form-wrapper .wpcf7-form textarea:focus {
    outline: none !important;
    border-color: #00963e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0, 150, 62, 0.1) !important;
}

.vortice-contact-form-wrapper .wpcf7-form textarea {
    min-height: 90px !important;
    max-height: 140px;
    resize: vertical;
}

/* ---- Placeholder ---- */
.vortice-contact-form-wrapper .wpcf7-form ::placeholder {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 300 !important;
}

/* ---- Acceptance ---- */
.vortice-contact-form-wrapper .wpcf7-form .aceptacion {
    margin: 2px 0 6px !important;
    width: 100%;
}

.vortice-contact-form-wrapper .wpcf7-form .aceptacion .wpcf7-acceptance {
    display: block;
}

.vortice-contact-form-wrapper .wpcf7-form .aceptacion .wpcf7-acceptance label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.vortice-contact-form-wrapper .wpcf7-form .aceptacion input[type="checkbox"] {
    margin: 2px 0 0 !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    accent-color: #00963e;
    flex-shrink: 0;
    cursor: pointer;
}

/* ---- CAPTCHA ---- */
.vortice-contact-form-wrapper .wpcf7-form .captcha {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    margin: 0 !important;
}

.vortice-contact-form-wrapper .wpcf7-form .captcha > * {
    max-width: 100%;
}

/* ---- Submit ---- */
.vortice-contact-form-wrapper .wpcf7-form .enviar {
    text-align: center;
    width: 100%;
    margin-top: 4px !important;
    padding: 0 !important;
}

.vortice-contact-form-wrapper .wpcf7-form .enviar input[type="submit"] {
    background: linear-gradient(135deg, #00963e 0%, #009b4c 50%, #31be67 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 9999px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 150, 62, 0.3), 0 4px 6px -4px rgba(0, 150, 62, 0.3) !important;
    line-height: 1 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vortice-contact-form-wrapper .wpcf7-form .enviar input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 150, 62, 0.35) !important;
    background: linear-gradient(135deg, #008a38 0%, #00963e 50%, #2ba85c 100%) !important;
}

.vortice-contact-form-wrapper .wpcf7-form .enviar input[type="submit"]:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 150, 62, 0.25) !important;
}

/* ---- Response ---- */
.vortice-contact-form-wrapper .wpcf7-response-output {
    margin: 12px 0 0 !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    text-align: center;
    border-width: 1.5px !important;
    font-weight: 400 !important;
}

.vortice-contact-form-wrapper .wpcf7-response-output.wpcf7-validation-errors {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
}

.vortice-contact-form-wrapper .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
}

.vortice-contact-form-wrapper .wpcf7-spinner {
    margin: 10px auto 0;
    display: block;
}

/* ---- Validation ---- */
.vortice-contact-form-wrapper .wpcf7-not-valid-tip {
    font-size: 11px !important;
    color: #ef4444 !important;
    margin-top: 3px !important;
    font-weight: 400 !important;
}

.vortice-contact-form-wrapper .wpcf7-form input.wpcf7-not-valid,
.vortice-contact-form-wrapper .wpcf7-form textarea.wpcf7-not-valid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}

/* ---- Kill CF7 spacing ---- */
.vortice-contact-form-wrapper .wpcf7-form > p,
.vortice-contact-form-wrapper .wpcf7-form > div > p {
    margin: 0 !important;
    padding: 0 !important;
}

.vortice-contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .vortice-contact-form-wrapper .wpcf7-form .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 767px) {
    .vortice-contact-section {
        padding: 56px 16px !important;
    }

    .vortice-contact-header {
        margin-bottom: 32px !important;
    }

    .vortice-contact-title {
        font-size: 36px !important;
    }

    .vortice-contact-desc {
        font-size: 16px !important;
    }

    .vortice-contact-grid {
        gap: 24px;
    }

    .vortice-contact-info-card {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    .vortice-contact-info-item {
        flex: 1 1 100%;
        padding: 16px 0;
    }

    .vortice-contact-info-item:first-child {
        padding-top: 0;
    }

    .vortice-contact-form-wrapper {
        padding: 28px 22px 24px !important;
        border-radius: 1rem !important;
    }

    .vortice-contact-form-wrapper .wpcf7-form .col-lg-4,
    .vortice-contact-form-wrapper .wpcf7-form .col-lg-6,
    .vortice-contact-form-wrapper .wpcf7-form .col-lg-12,
    .vortice-contact-form-wrapper .wpcf7-form .col-sm-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }

    .vortice-contact-form-wrapper .wpcf7-form .enviar input[type="submit"] {
        width: 100%;
        padding: 16px 24px !important;
    }
}

@media (max-width: 480px) {
    .vortice-contact-section {
        padding: 40px 12px !important;
    }

    .vortice-contact-title {
        font-size: 30px !important;
    }

    .vortice-contact-form-wrapper {
        padding: 24px 16px 20px !important;
    }
}

/* ---- Social Media Section (below address) ---- */
.vortice-contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vortice-contact-social-title {
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #4b5563 !important;
    margin: 0 auto 1rem auto !important;
    padding: 0 !important;
    text-align: center;
    white-space: nowrap;
    line-height: 1.3 !important;
}

.vortice-contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.vortice-contact-social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    border: 2px solid var(--vp-color-green, #00963e) !important;
    border-radius: 4px !important;
    color: var(--vp-color-green, #00963e) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    position: relative !important;
}

.vortice-contact-social-link:hover {
    background: var(--vp-color-green, #00963e) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

.vortice-contact-social-link i {
    font-size: 24px !important;
    line-height: 1 !important;
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
