/* Page: our-team */

.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:#333;margin:0 0 20px 0}
.contact-desc{font-size:16px;color:#555;margin-bottom:40px;line-height:1.6}
.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 rgb(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)}
.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 rgb(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}
.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:#fff;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}
.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}
.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)}
.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}}

/* --- СЕКЦІЯ --- */
.team-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: left;
}
/* --- ЗАГОЛОВОК --- */
.team-header {
    margin-bottom: 20px;
    text-align: center;
}
.team-subtitle {
    color: var(--brand-orange);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}
.team-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}
/* --- ОПИС КОМАНДИ --- */
.team-description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    text-align: center;
}
.team-description p {
    font-size: 16px;
    line-height: 1.75;
    color: #666;
    margin: 0 0 16px 0;
}
.team-description p:last-child {
    margin-bottom: 0;
}
.team-description strong {
    color: #333;
    font-weight: 600;
}
.team-name a,
.team-name a:visited,
.team-name a:hover,
.team-name a:active {
    color: var(--maine-black);
    text-decoration: none;
}
/* --- СІТКА (GRID) --- */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.team-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.team-row--five .team-card {
    flex: 0 0 calc(20% - 24px);
    max-width: calc(20% - 24px);
}
/* --- КАРТКА УЧАСНИКА --- */
.team-card {
    flex: 1;
    text-align: center;
}
/* Фото */
.team-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}
.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}
/* Інформація */
.team-role {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.team-name {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 600;
    color: var(--maine-black);
    margin: 0 0 15px 0;
}
/* Іконка пошти */
.team-email-icon {
    display: inline-flex;
    color: #999;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 4px;
    width: 40px;
    height: 30px;
    align-items: center;
    justify-content: center;
}
.team-email-icon:hover {
    color: var(--brand-orange);
    border-color: var(--brand-orange);
}
/* --- АНІМАЦІЯ ПОЯВИ --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
/* --- МОБІЛЬНА АДАПТАЦІЯ --- */
@media (max-width: 991px) {
    .team-row {
        flex-direction: column;
        gap: 50px;
    }
    .team-row--five .team-card {
        flex: 1;
        max-width: 100%;
    }
    .team-img-wrapper {
        height: 350px;
    }
}

.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;
}
