/* Page: contact-us */

/* --- СЕКЦІЯ --- */
.contact-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}
.contact-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}
/* --- ЛІВА КОЛОНКА --- */
.contact-info-col {
    flex: 1;
    max-width: 450px;
}
.contact-subtitle {
    color: var(--brand-orange);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}
.contact-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 20px 0;
}
.contact-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}
/* Контактні методи (Телефон, Email) */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}
.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.c-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--brand-orange); /* Помаранчевий квадрат */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    border-radius: 2px; /* Легке заокруглення */
}
.c-details {
    display: flex;
    flex-direction: column;
}
.c-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--maine-black);
    margin-bottom: 4px;
}
.c-link {
    font-size: 16px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}
.c-link:hover {
    color: var(--brand-orange);
}
/* Соцмережі */
.social-icons-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.social-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--brand-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.3s;
}
.social-circle:hover {
    transform: translateY(-3px);
}
.social-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    max-width: 300px;
}
/* --- ПРАВА КОЛОНКА (ФОРМА) --- */
.contact-form-col {
    flex: 1;
    position: relative;
}
.form-wrapper-outer {
    position: relative;
    padding-top: 30px; /* Місце для виступу фону */
}
/* Помаранчевий фон позаду */
.form-orange-bg {
    position: absolute;
    top: 0;
    right: -50px; /* Виступає вправо */
    width: 100%;
    height: 90%;
    background-color: var(--brand-orange);
    z-index: 1;
}
/* Біла коробка форми */
.form-box-inner {
    position: relative;
    background: #fff;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 2; /* Поверх помаранчевого */
    margin-right: 30px; /* Відступ від правого краю помаранчевого */
}
/* Стилі полів */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-row {
    display: flex;
    gap: 25px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    background: #fff;
    border-radius: 0; /* Гострі кути як на скріні */
    transition: border-color 0.3s;
}
.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
}
/* Кнопка */
.submit-btn {
    background-color: #ffad5c; /* Світліший помаранчевий */
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s;
}
.submit-btn:hover {
    background-color: var(--brand-orange);
}
/* Fake reCAPTCHA (Візуалізація) */
.recaptcha-placeholder {
    margin-bottom: 10px;
}
.recaptcha-box {
    border: 1px solid #d3d3d3;
    background: #f9f9f9;
    width: 300px;
    height: 74px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 3px;
    box-shadow: 0 0 4px 1px rgba(0,0,0,0.08);
}
.recaptcha-check {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #fff;
    margin-right: 12px;
}
.recaptcha-text {
    font-size: 14px;
    font-family: Roboto, sans-serif;
    color: #000;
    flex: 1;
}
.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #555;
}
.recaptcha-logo i {
    font-size: 24px;
    color: #4285f4;
    margin-bottom: 2px;
}
/* --- СТИЛІЗАЦІЯ CONTACT FORM 7 --- */

/* Контейнер форми */
.custom-cf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}
/* Рядок з двома колонками */
.form-row-flex {
    display: flex;
    gap: 25px; /* Відстань між колонками */
    width: 100%;
    justify-content: space-between;
}
/* Половина ширини для поля */
.form-col-half {
    width: 50%;
    flex: 1; /* Розтягується рівномірно */
}
/* На мобільних робимо в одну колонку */
@media (max-width: 767px) {
    .form-row-flex {
        flex-direction: column;
        gap: 20px;
    }
    .form-col-half {
        width: 100%;
    }
}
/* Стилізація лейблів */
.custom-cf7-form label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}
/* Стилізація полів вводу */
.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 0; /* Гострі кути */
    background: #fff;
    font-size: 14px;
    color: #333;
    box-sizing: border-box; /* Щоб відступи не ламали ширину */
    outline: none;
    transition: border-color 0.3s;
}
/* Активне поле (фокус) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #f37021; /* Помаранчевий бордюр */
}
/* Кнопка */
.wpcf7-submit {
    background-color: #ffad5c;
    color: white;
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
    margin-top: 10px;
    transition: 0.3s;
}
.wpcf7-submit:hover {
    background-color: #f37021;
}
/* Виправлення багу, коли CF7 додає зайві відступи */
.custom-cf7-form p {
    margin: 0;
    padding: 0;
}
/* Обгортка форми */
.cf7-custom-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Рядки та колонки */
.cf7-row {
    display: flex;
    gap: 25px;
    width: 100%;
}
.cf7-col {
    flex: 1; /* Рівні колонки */
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
/* На мобільному робимо в одну колонку */
@media (max-width: 767px) {
    .cf7-row {
        flex-direction: column;
        gap: 20px;
    }
}
/* Лейбли (Заголовки полів) */
.cf7-col label {
    font-size: 16px;
    font-weight: 600; /* Жирніший, як на скріні */
    color: #333;
    margin-bottom: 0;
}
/* Поля вводу (Input & Textarea) */
.wpcf7-form-control-wrap {
    width: 100%;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd; /* Світло-сіра рамка */
    font-size: 14px;
    color: #333;
    background: #fff;
    border-radius: 0; /* Гострі кути */
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Важливо для відступів */
}
/* Активний стан поля */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--brand-orange);
}
/* Кнопка "Contact Us" */
.wpcf7-submit {
    background-color: #ffad5c; /* Світло-помаранчевий */
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    border-radius: 2px;
    text-transform: capitalize;
}
.wpcf7-submit:hover {
    background-color: var(--brand-orange); /* Темніший при наведенні */
    transform: translateY(-2px);
}
/* Відступи для повідомлень про помилки/успіх */
.wpcf7-response-output {
    font-size: 14px;
    border-radius: 4px;
    padding: 10px !important;
    margin: 20px 0 0 0 !important;
}
/* Капча */
.cf7-recaptcha-wrap {
    margin-bottom: 15px;
}
/* --- МОБІЛЬНА АДАПТАЦІЯ --- */
@media (max-width: 991px) {
    .contact-grid {
        flex-direction: column;
        gap: 60px;
    }

    .form-orange-bg {
        width: 100%;
        right: 0;
        top: 20px;
        height: 100%;
    }

    .form-box-inner {
        margin-right: 0;
        padding: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

.quiz-wrapper {
    padding: 10px 0;
}
.quiz-progress-bar {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #f37021);
    border-radius: 10px;
    width: 25%;
    transition: width 0.4s ease;
}
.quiz-step-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.quiz-step {
    display: none;
}
.quiz-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}
.quiz-question {
    font-size: 20px;
    font-weight: 700;
    color: #002e5d;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.quiz-hint {
    font-size: 13px;
    color: #999;
    margin: 0 0 16px 0;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.quiz-option:hover {
    border-color: #f37021;
    background: #fff8f4;
}
.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    accent-color: #f37021;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}
.quiz-option:has(input:checked) {
    border-color: #f37021;
    background: #fff8f4;
}
.quiz-inputs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.quiz-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.quiz-input-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.quiz-input-group .req {
    color: #f37021;
}
.quiz-input-group input {
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-primary, sans-serif);
    width: 100%;
    box-sizing: border-box;
}
.quiz-input-group input:focus {
    border-color: #f37021;
}
.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.quiz-btn-next,
.quiz-btn-submit {
    background: linear-gradient(90deg, #ff8c00, #f37021);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-left: auto;
    transition: opacity 0.2s;
    font-family: var(--font-primary, sans-serif);
}
.quiz-btn-next:hover,
.quiz-btn-submit:hover {
    opacity: 0.88;
}
.quiz-btn-back {
    background: none;
    border: 2px solid #ddd;
    color: #777;
    padding: 13px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: var(--font-primary, sans-serif);
}
.quiz-btn-back:hover {
    border-color: #f37021;
    color: #f37021;
}
.quiz-success {
    text-align: center;
    padding: 40px 20px;
}
.quiz-success-icon {
    font-size: 64px;
    color: #f37021;
    margin-bottom: 20px;
}
.quiz-success h3 {
    font-size: 28px;
    font-weight: 700;
    color: #002e5d;
    margin: 0 0 12px 0;
}
.quiz-success p {
    font-size: 16px;
    color: #666;
    margin: 0;
}
