/* Guided Consultation Zone A: full-viewport hero, mirrors Smile Quiz visual layout pattern. */

body.page-template-page-guided-consultation,
body.page-template-page-guided-consultation-php,
body.page-template-page-book-your-consultation-harrogate,
body.page-template-page-book-your-consultation-harrogate-php {
    background: var(--idc-color-navy);
}

body.page-template-page-guided-consultation #page,
body.page-template-page-guided-consultation .site-content,
body.page-template-page-guided-consultation-php #page,
body.page-template-page-guided-consultation-php .site-content,
body.page-template-page-book-your-consultation-harrogate #page,
body.page-template-page-book-your-consultation-harrogate .site-content,
body.page-template-page-book-your-consultation-harrogate-php #page,
body.page-template-page-book-your-consultation-harrogate-php .site-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.igc-hero,
.igc-hero * {
    box-sizing: border-box;
}

.igc-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - var(--idc-header-height-mobile));
    min-height: calc(100svh - var(--idc-header-height-mobile));
    padding: clamp(28px, 5vh, 48px) clamp(18px, 5vw, 32px);
    overflow: hidden;
    color: var(--idc-color-white);
    font-family: var(--idc-font-header);
}

.admin-bar .igc-hero {
    min-height: calc(100vh - var(--idc-header-height-mobile) - 46px);
    min-height: calc(100svh - var(--idc-header-height-mobile) - 46px);
}

.igc-hero__media,
.igc-hero__overlay {
    position: absolute;
    inset: 0;
}

.igc-hero__media {
    z-index: 0;
    background-image: url("../images/hero-banner-mobile.webp");
    background-position: center top;
    background-size: cover;
    transform: scale(1.025);
}

.igc-hero__overlay {
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(17, 39, 57, 0.84) 0%,
        rgba(17, 39, 57, 0.76) 48%,
        rgba(17, 39, 57, 0.9) 100%
    );
}

.igc-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.igc-hero__panel {
    width: 100%;
    padding: 24px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background: #f7f5f0;
    box-shadow: 0 18px 48px rgba(7, 20, 30, 0.22);
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
    .igc-hero__panel {
        background: rgba(250, 249, 246, 0.95);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}

.igc-hero__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: clamp(2.5rem, 6vh, 5rem) 1rem;
    text-align: center;
    color: var(--idc-color-navy);
    font-family: var(--idc-font-header);
}

.igc-hero__placeholder-title {
    margin: 0;
    color: var(--idc-color-bronze);
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.igc-hero__placeholder-dev-note {
    display: inline-block;
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(17, 39, 57, 0.07);
    border: 1px dashed rgba(17, 39, 57, 0.3);
    border-radius: 6px;
    color: rgba(17, 39, 57, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .igc-hero__panel {
        padding: 36px 32px;
    }
}

@media (min-width: 1024px) {
    .igc-hero__media {
        background-image: url("../images/hero-banner.webp");
        background-position: center center;
    }
}

/* Guided Consultation Questionnaire Styles */

.gc-questionnaire {
    width: 100%;
    height: 100%;
}

/* Progress area — matches Smile Quiz status/progress pattern */

.gc__progress-status {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.gc__progress-eyebrow {
    margin: 0;
    color: var(--idc-color-bronze);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.gc__progress {
    width: 100%;
    height: 4px;
    margin-bottom: clamp(22px, 4vh, 34px);
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 39, 57, 0.13);
}

.gc__progress-value {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--idc-color-bronze);
    transition: width 240ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .gc__progress-value {
        transition: none;
    }
}

.gc__content {
    width: 100%;
}

.gc__step-heading {
    margin: 0 0 1.5rem 0;
    color: var(--idc-color-navy);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-family: var(--idc-font-header);
}

.gc__instruction {
    margin: 0 0 1.5rem 0;
    color: rgba(17, 39, 57, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* Single Select (Radio-like) Buttons */

.gc__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.gc__option-button {
    display: block;
    width: 100%;
    padding: 16px 18px;
    border: 2px solid rgba(17, 39, 57, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--idc-color-navy);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.gc__option-button:hover,
.gc__option-button:focus-visible,
.gc__option-button:active {
    border-color: var(--idc-color-bronze);
    background: var(--idc-color-white);
    color: var(--idc-color-navy);
}

.gc__option-button.is-selected {
    border-color: var(--idc-color-bronze);
    background: rgba(212, 165, 116, 0.1);
    color: var(--idc-color-navy);
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

.gc__option-button.is-selected:hover {
    background: rgba(212, 165, 116, 0.18);
    color: var(--idc-color-navy);
}

@media (prefers-reduced-motion: reduce) {
    .gc__option-button {
        transition: none;
    }
}

@media (min-width: 640px) {
    .gc__options {
        gap: 14px;
    }

    .gc__option-button {
        padding: 18px 20px;
        font-size: 1.05rem;
    }
}

/* Multi-Select Checkboxes */

.gc__checkboxes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 1.5rem;
}

.gc__checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid rgba(17, 39, 57, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.gc__checkbox-label:active,
.gc__checkbox-label:hover {
    background: var(--idc-color-white);
    border-color: var(--idc-color-bronze);
    color: var(--idc-color-navy);
}

.gc__checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.gc__checkbox-input:checked + .gc__checkbox-checkmark {
    background: var(--idc-color-bronze);
    border-color: var(--idc-color-bronze);
}

.gc__checkbox-input:checked + .gc__checkbox-checkmark::after {
    content: '✓';
    display: block;
    color: var(--idc-color-white);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
}

.gc__checkbox-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(17, 39, 57, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.25s ease;
}

.gc__checkbox-text {
    color: var(--idc-color-navy);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.gc__checkbox-input:focus + .gc__checkbox-checkmark {
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .gc__checkbox-label {
        transition: none;
    }
}

/* Text Inputs */

.gc__text-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(17, 39, 57, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--idc-color-navy);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.25s ease;
    margin-bottom: 1.5rem;
}

.gc__text-input:focus {
    outline: none;
    border-color: var(--idc-color-bronze);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

.gc__text-input::placeholder {
    color: rgba(17, 39, 57, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    .gc__text-input {
        transition: none;
    }
}

/* Buttons */

.gc__button {
    display: inline-block;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    font-family: var(--idc-font-header);
}

.gc__button:active {
    transform: scale(0.98);
}

.gc__button--primary {
    background: var(--idc-color-bronze);
    color: var(--idc-color-white);
    margin-top: 1rem;
}

.gc__button--primary:hover {
    background: var(--idc-color-bronze-dark, #b8944a);
}

.gc__button--secondary {
    background: rgba(17, 39, 57, 0.1);
    color: var(--idc-color-navy);
    border: 2px solid rgba(17, 39, 57, 0.25);
    margin-top: 1rem;
}

.gc__button--secondary:hover {
    background: rgba(17, 39, 57, 0.15);
    border-color: rgba(17, 39, 57, 0.35);
}

.gc__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    .gc__button {
        transition: none;
    }

    .gc__button:active {
        transform: none;
    }
}

@media (min-width: 640px) {
    .gc__button {
        width: auto;
        padding: 16px 32px;
    }
}

/* Step navigation actions row — matches Smile Quiz pattern */

.gc__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: clamp(20px, 3.5vh, 30px);
}

.gc__actions--next-only {
    justify-content: flex-end;
}

.gc__actions--back-only {
    justify-content: flex-start;
    margin-top: clamp(14px, 2.5vh, 22px);
}

.gc__next {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 56px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: var(--idc-color-bronze);
    color: var(--idc-color-navy);
    font-family: var(--idc-font-header);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 240ms ease;
}

.gc__next:hover {
    background: var(--idc-color-bronze-dark, #b8944a);
    color: var(--idc-color-navy);
}

.gc__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 8px;
    border: 0;
    background: transparent;
    color: rgba(17, 39, 57, 0.72);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.gc__back:hover {
    color: var(--idc-color-navy);
}

.gc__next:focus-visible,
.gc__back:focus-visible {
    outline: 3px solid var(--idc-color-bronze);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .gc__next {
        transition: none;
    }
}

/* Status Messages */

.gc__status {
    margin-bottom: 1.5rem;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.25s ease;
}

.gc__status:not(:empty) {
    opacity: 1;
    max-height: 100px;
}

.gc__status--error {
    background: rgba(220, 38, 38, 0.1);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.gc__status--loading {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.gc__status--success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .gc__status {
        transition: none;
    }
}

/* Final recommendation and choice screen */

.gc__final-intro {
    margin: 0 0 1.5rem;
    color: rgba(17, 39, 57, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */

@media (min-width: 640px) {
    .gc__step-heading {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
        margin-bottom: 2rem;
    }

    .gc__checkboxes {
        gap: 16px;
    }

    .gc__checkbox-label {
        padding: 16px 18px;
    }
}


