/* =========================================================
   AI READINESS CHECK — STYLE.CSS
   ========================================================= */



button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

#ai-readiness-check {
    width: 100%;
    min-height: 100vh;
}


/* =========================================================
   COMMON
   ========================================================= */

.quiz-screen {
    width: 100%;
    min-height: 100vh;
}

.start-container,
.questions-container,
.review-container,
.result-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   START SCREEN
   ========================================================= */

.start-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 0;
}

.start-container {
    max-width: 1100px;
}

.start-container h1 {
    max-width: 850px;
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .95;
    font-weight: 400;
    letter-spacing: -4px;
}

.start-container h1 em {
    font-style: italic;
}

.intro-text {
    max-width: 760px;
    margin: 0 0 55px;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

.start-card {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 35px 0;
}

.start-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.form-field label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.form-field input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #777;
    background: transparent;
    outline: none;
    padding: 14px 0;
    font-size: 20px;
}

.form-field input:focus {
    border-bottom-color: #000;
}

.start-bottom {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.start-bottom button,
#lock-score {
    border: 0;
    background: #171717;
    color: #fff;
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 700;
    transition: .2s ease;
}

.start-bottom button:hover,
#lock-score:hover {
    transform: translateY(-2px);
}

.start-bottom span {
    font-size: 13px;
    color: #666;
}


/* =========================================================
   QUIZ HEADER
   ========================================================= */

.quiz-screen {
    padding: 35px 0 80px;
}

.quiz-header {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #171717;
    display: block;
}

#exit-quiz {
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================================================
   QUESTION
   ========================================================= */

.quiz-question {
    max-width: 850px;
    margin: 0 auto;
}

.question-number {
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #777;
}

.quiz-question h2 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -2px;
}

.quiz-question > p {
    margin: 0 0 40px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}


/* =========================================================
   OPTIONS
   ========================================================= */

.question-options {
    border-top: 1px solid #c8c4ba;
}

.quiz-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 18px 10px;
    border-bottom: 1px solid #c8c4ba;
    cursor: pointer;
    transition: background .2s ease;
}

.quiz-option:hover {
    background: rgba(0, 0, 0, .035);
}

.quiz-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-circle,
.checkbox-square {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 1px solid #555;
    background: transparent;
    display: inline-block;
    position: relative;
}

.radio-circle {
    border-radius: 50%;
}

.quiz-option input:checked + .radio-circle::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #171717;
}

.quiz-option input:checked + .checkbox-square::after {
    content: "✓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
    font-size: 15px;
    font-weight: 700;
}

.option-text {
    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   QUESTION NAVIGATION
   ========================================================= */

.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
}

.back-button,
.next-button {
    border: 0;
    background: transparent;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
}

.back-button {
    color: #666;
}

.next-button {
    margin-left: auto;
    background: #171717;
    color: #fff;
    padding: 15px 25px;
}


/* =========================================================
   REVIEW SCREEN
   ========================================================= */

.review-container {
    max-width: 900px;
    padding-top: 40px;
}

.review-top-line {
    width: 100%;
    height: 1px;
    background: #171717;
    margin-bottom: 35px;
}

.review-kicker {
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.review-container h2 {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -3px;
}

.review-container > p {
    margin: 0 0 45px;
    color: #666;
}

.review-list {
    border-top: 1px solid #222;
}

.review-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #c8c4ba;
}

.review-number {
    font-size: 12px;
    font-weight: 700;
    color: #777;
}

.review-question {
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.3;
}

.review-answer {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.edit-answer {
    align-self: start;
    border: 0;
    background: transparent;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 700;
}

.review-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.review-actions span {
    color: #666;
    font-size: 13px;
}


/* =========================================================
   RESULT SCREEN
   ========================================================= */

.result-container {
    max-width: 1000px;
}

.score-section {
    text-align: center;
    margin-bottom: 70px;
}

.score-gauge {
    position: relative;
    width: 320px;
    height: 160px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.gauge-background {
    position: absolute;
    width: 320px;
    height: 320px;
    left: 0;
    top: 0;
    border-radius: 50%;
    border: 30px solid #d8d3c8;
    border-bottom-color: transparent;
    border-left-color: #d8d3c8;
    transform: rotate(-45deg);
}

.gauge-inner {
    position: absolute;
    width: 245px;
    height: 245px;
    left: 37.5px;
    top: 37.5px;
    border-radius: 50%;
    background: #f5f1e8;
}

.gauge-needle {
    position: absolute;
    width: 3px;
    height: 105px;
    background: #171717;
    left: 50%;
    bottom: 0;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(-65deg);
    transition: transform 1s ease;
}

.gauge-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #171717;
    border-radius: 50%;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
}

.score-number {
    margin-top: -5px;
}

.score-number strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 70px;
    font-weight: 400;
}

.score-number span {
    font-size: 20px;
    color: #777;
}

.score-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    border: 1px solid #171717;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================================================
   RESULT CONTENT
   ========================================================= */

.result-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
}

.report-box,
.call-box {
    padding: 35px;
    border: 1px solid #bdb8ad;
}

.report-box h2,
.call-box h3 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.report-box h2 {
    font-size: 34px;
}

.call-box h3 {
    font-size: 32px;
    line-height: 1.1;
}

.report-box p,
.call-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.contact-form-wrapper {
    margin-top: 30px;
}

.book-call {
    display: inline-block;
    margin-top: 10px;
    color: #171717;
    font-weight: 700;
    text-decoration: underline;
}
a{
    text-decoration: none;
}

/* =========================================================
   CF7 SUPPORT
   ========================================================= */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #aaa;
    background: transparent;
    margin-bottom: 12px;
}

.wpcf7-form input[type="submit"] {
    border: 0;
    background: #171717;
    color: #fff;
    padding: 15px 25px;
    cursor: pointer;
}


/* =========================================================
   ERROR
   ========================================================= */

.quiz-error {
    display: none;
    margin-top: 15px;
    font-size: 13px;
    color: #9b1c1c;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .start-screen {
        padding: 45px 0;
    }

    .start-container,
    .questions-container,
    .review-container,
    .result-container {
        width: min(100% - 30px, 1100px);
    }

    .start-container h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .intro-text {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .start-fields {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .start-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .quiz-header {
        width: calc(100% - 30px);
        margin-bottom: 50px;
    }

    .quiz-question h2 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .quiz-option {
        min-height: 65px;
        gap: 13px;
    }

    .option-text {
        font-size: 14px;
    }

    .review-item {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .edit-answer {
        grid-column: 2;
        justify-self: start;
    }

    .review-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .result-content {
        grid-template-columns: 1fr;
    }

    .score-gauge {
        transform: scale(.85);
        margin-bottom: -5px;
    }

    .report-box,
    .call-box {
        padding: 25px;
    }
}