@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    font-family: Inter,Arial,sans-serif;
    color: #10141b;
    background: #f3f6f9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    min-width: 320px
}

button, input, select, textarea {
    font: inherit
}

/* Full-width navigation, independent of the site's normal layout */
.project-nav {
    height: 84px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(24px,5vw,84px);
    background: #f3f6f9;
    border-bottom: 1px solid #e2e8f0
}

.project-logo {
    font-weight: 800;
    font-style: italic;
    font-size: 45px;
    letter-spacing: -7px;
    line-height: 1;
    color: #245dff;
    text-decoration: none;
    flex-shrink: 0
}

.project-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px,2.5vw,44px)
}

    .project-links a {
        color: #242b38;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: color .2s
    }

        .project-links a:hover, .project-links a[aria-current="page"] {
            color: #245dff
        }

.project-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 11px 21px;
    color: #202b3b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s,border-color .2s
}

    .project-home:hover {
        background: #e3ebf9;
        border-color: #245dff
    }

/* Wizard layout: stage + navigation stay together and centered */
.wizard {
    min-height: calc(100svh - 84px);
    padding: 32px 24px 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.stage {
    width: 100%;
    max-width: 1250px;
    height: clamp(440px,51svh,555px);
    min-height: 0;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto
}

.step {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(38px,5vh,64px);
    padding-top: 4px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(105%);
    transition: transform .46s cubic-bezier(.22,1,.36,1),opacity .35s,visibility .46s
}

    .step.active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0)
    }

    .step.before {
        visibility: hidden;
        transform: translateX(-105%)
    }

    .step.after {
        transform: translateX(105%)
    }

    .step.exiting {
        visibility: visible;
        opacity: 0;
        transform: translateX(-105%)
    }

    .step.exiting-back {
        visibility: visible;
        opacity: 0;
        transform: translateX(105%)
    }

    .step header {
        text-align: center
    }

h1 {
    font-size: clamp(32px,3vw,46px);
    letter-spacing: -1.6px;
    line-height: 1.16;
    margin: 0;
    font-weight: 800
}

.step header p, .success p {
    color: #697586;
    margin: 15px 0 0;
    font-size: clamp(15px,1.15vw,18px)
}

/* Main option cards: larger on desktop, still responsive */
.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(24px,3.7vw,55px);
    width: min(100%,1160px);
    margin-top: 0
}

.choice {
    appearance: none;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 22px;
    box-shadow: 0 3px 1px #0002;
    padding: clamp(18px,1.9vw,26px);
    cursor: pointer;
    min-height: clamp(255px,19vw,315px);
    transition: transform .2s,border-color .2s,box-shadow .2s
}

    .choice:hover {
        transform: translateY(-4px)
    }

    .choice:focus-visible, .features button:focus-visible, .next:focus-visible, .back:focus-visible {
        outline: 3px solid #245dff;
        outline-offset: 4px
    }

    .choice.selected {
        border-color: #245dff;
        box-shadow: 0 5px 20px #245dff2b
    }

.tile {
    background: #d7e4ff;
    border-radius: 20px;
    min-height: clamp(205px,15vw,255px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: clamp(16px,1.25vw,19px);
    text-align: center;
    padding: 12px
}

.circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 26px
}

.blue {
    color: #245dff
}

.orange {
    color: #ff9a4b
}

.purple {
    color: #6e36ff
}

.coins {
    color: #42b776;
    background: #e5f4ed;
    padding: 12px;
    border-radius: 35px
}

.features {
    width: min(445px,100%);
    padding: 30px 34px;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 3px 2px #0002;
    display: grid;
    gap: 16px;
    margin-top: -4px
}

    .features button {
        border: 2px solid transparent;
        border-radius: 50px;
        background: #e6edf3;
        padding: 9px 15px 9px 8px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        font-size: 17px;
        cursor: pointer
    }

        .features button span {
            flex: 0 0 38px;
            border-radius: 50%;
            background: white;
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            color: #245dff;
            font-size: 22px
        }

        .features button.selected {
            border-color: #245dff;
            background: #d7e4ff
        }

.hint {
    color: #788493;
    font-size: 13px;
    margin: -48px 0 0
}

.details {
    width: min(880px,100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 32px;
    margin-top: 2px
}

    .details input, .details textarea, .booking input, .booking select {
        width: 100%;
        border: 1px solid #c5d2e3;
        background: #e6edf3;
        padding: 18px 22px;
        outline: none;
        border-radius: 2px;
        font-size: 17px
    }

        .details input:focus, .details textarea:focus, .booking input:focus, .booking select:focus {
            border-color: #245dff
        }

    .details .wide {
        grid-column: 1/-1
    }

.booking {
    width: min(440px,100%);
    display: grid;
    gap: 13px;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 4px #0001
}

    .booking small {
        color: #697586;
        line-height: 1.5
    }

/* Navigation: the Next button is centered independently of Back */
.wizard-footer {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 23px;
    margin: 20px auto 0
}

    .wizard-footer .nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        position: relative;
        align-items: center
    }

.back {
    position: absolute;
    right: calc(50% + 125px);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: #637084;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    padding: 15px;
    white-space: nowrap
}

    .back.hidden {
        visibility: hidden
    }

.next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #245dff;
    color: #fff;
    border: 0;
    border-radius: 50px;
    min-width: 195px;
    padding: 18px 28px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 5px 10px #245dff36;
    cursor: pointer
}

    .next:hover {
        background: #174ae4
    }

.dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 14px;
    width: 100%
}

.dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 12px;
    transition: width .25s,background .25s
}

    .dot.done {
        background: #245dff
    }

    .dot.current {
        width: 29px;
        background: #245dff
    }

.error {
    margin: -10px 0 0;
    color: #b42318;
    font-size: 13px;
    min-height: 18px;
    text-align: center
}

.success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 22px
}

.success-icon {
    width: 118px;
    height: 118px;
    border: 17px solid #d7e4ff;
    background: #245dff;
    color: #fff;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 48px;
    margin-bottom: 24px
}

.success .appointment {
    margin: 28px 0 30px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 40px;
    font-weight: 700;
    box-shadow: 0 3px 8px #0001
}

.success .signoff {
    margin-top: 22px;
    font-size: 14px
}

@media (max-width:760px) {
    .project-nav {
        height: 70px;
        padding: 0 20px
    }

    .project-logo {
        font-size: 39px
    }

    .project-links {
        gap: 15px
    }

        .project-links a {
            font-size: 13px
        }

    .project-home {
        display: none
    }

    .wizard {
        min-height: calc(100svh - 70px);
        padding: 28px 16px 36px;
        justify-content: flex-start
    }

    .stage {
        height: clamp(535px,75svh,700px)
    }

    .step {
        gap: 30px;
        padding-top: 5px
    }

    h1 {
        font-size: clamp(28px,6vw,36px)
    }

    .step header p {
        font-size: 14px
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 14px;
        width: min(460px,100%)
    }

    .choice {
        min-height: 108px;
        padding: 10px;
        border-radius: 17px
    }

    .tile {
        min-height: 86px;
        flex-direction: row;
        gap: 18px;
        font-size: 16px;
        justify-content: center;
        padding: 12px
    }

    .circle {
        width: 43px;
        height: 43px;
        font-size: 22px;
        flex-shrink: 0
    }

    .features {
        padding: 20px;
        width: min(420px,100%)
    }

        .features button {
            font-size: 15px
        }

    .details {
        grid-template-columns: 1fr;
        gap: 12px
    }

        .details .wide {
            grid-column: auto
        }

        .details input, .details textarea {
            padding: 13px;
            font-size: 15px
        }

    .wizard-footer {
        gap: 19px;
        margin-top: 12px
    }

    .back {
        right: calc(50% + 112px);
        padding: 10px;
        font-size: 14px
    }

    .next {
        min-width: 180px;
        padding: 16px 22px
    }

    .success {
        margin-top: 35px
    }
}

@media(max-width:420px) {
    .project-links {
        gap: 10px
    }

        .project-links a {
            font-size: 12px
        }

    .back {
        right: calc(50% + 97px);
        padding: 7px
    }

    .next {
        min-width: 155px
    }
}

@media(max-height:680px) and (min-width:761px) {
    .wizard {
        padding-top: 20px
    }

    .stage {
        height: 420px
    }

    .step {
        gap: 30px
    }

    .wizard-footer {
        gap: 16px
    }
}

@media(prefers-reduced-motion:reduce) {
    .step, .dot, .choice {
        transition: none !important
    }
}

/* Keep the design consistent even if site.css sets global anchors or nav styles. */
.project-nav a, .project-nav a:visited {
    text-decoration: none;
}

.project-nav .project-logo, .project-nav .project-logo:visited {
    color: #245dff;
}

.project-nav .project-home, .project-nav .project-home:visited {
    color: #202b3b;
}

.project-nav .project-links a, .project-nav .project-links a:visited {
    color: #242b38;
}

@media (max-height:850px) and (min-width:761px) {
    .wizard {
        justify-content: flex-start;
    }

    .stage {
        height: 490px;
    }
}

/* Improved desktop proportions and generous spacing between steps and controls */
@media(min-width:1100px) {
    .cards {
        width: min(100%,1120px);
        gap: clamp(28px,3.5vw,54px)
    }

    .choice {
        min-height: clamp(265px,18.5vw,315px)
    }

    .tile {
        min-height: clamp(215px,15vw,255px)
    }

    .wizard-footer {
        margin-top: 24px
    }
}

/* JaximTech footer — full-width, reference proportions */
.site-footer {
    width: 100%;
    background: #0b1024;
    color: #f5f7ff;
    padding: clamp(84px, 8vw, 120px) clamp(24px, 7.4vw, 110px) clamp(88px, 7vw, 115px);
}

.footer-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.24);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding-top: 48px;
    min-height: 112px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    text-decoration: none;
}

    .footer-logo img {
        display: block;
        width: clamp(145px, 11vw, 190px);
        height: auto;
    }

.footer-copyright {
    justify-self: center;
    white-space: nowrap;
    font-size: clamp(16px, 1.18vw, 20px);
    font-weight: 400;
}

.footer-socials {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: clamp(24px, 2.2vw, 42px);
}

    .footer-socials a {
        color: #fff;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        transition: transform .2s, opacity .2s;
    }

        .footer-socials a:hover {
            transform: translateY(-3px);
            opacity: .75;
        }

        .footer-socials a:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 5px;
            border-radius: 5px;
        }

    .footer-socials svg {
        width: 38px;
        height: 38px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

        .footer-socials svg .solid {
            fill: currentColor;
            stroke: none;
        }

        .footer-socials svg.facebook-icon {
            stroke: none;
        }

        .footer-socials svg .cutout {
            fill: #0b1024;
        }

@media (max-width: 700px) {
    .site-footer {
        padding: 65px 24px 75px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 28px;
        padding-top: 36px;
    }

    .footer-logo, .footer-copyright, .footer-socials {
        justify-self: center;
    }

        .footer-logo img {
            width: 165px;
        }

    .footer-socials {
        gap: 28px;
    }

        .footer-socials svg {
            width: 32px;
            height: 32px;
        }
}


/* START PROJECT - MINIMAL NAVIGATION */

.project-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 clamp(24px, 5vw, 84px);
    background: transparent;
    border: none;
    z-index: 100;
}

.project-logo {
    display: inline-block;
    font-size: 45px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -7px;
    line-height: 1;
    color: #245dff;
    text-decoration: none;
}

.project-links,
.project-home {
    display: none;
}

.wizard {
    min-height: 100svh;
}

@media (max-width: 760px) {
    .project-nav {
        height: 70px;
        padding: 0 24px;
    }

    .project-logo {
        font-size: 39px;
    }

    .wizard {
        min-height: 100svh;
    }
}


/* ============================================
   FIX STEP 2 - HIDDEN INSTRUCTION TEXT
   ============================================ */

/* Give the features step enough space */
.stage.stage--features {
    height: 660px;
}

/* Position the contents with controlled spacing */
.step[data-step="1"] {
    gap: 0;
    padding-top: 4px;
}

    /* Space between heading and feature selection */
    .step[data-step="1"] .features {
        margin-top: 48px;
    }

    /* Instruction below the selection box */
    .step[data-step="1"] .hint {
        display: block;
        margin: 20px 0 0;
        padding: 0;
        font-size: 15px;
        line-height: 1.5;
        font-weight: 400;
        color: #697586;
        text-align: center;
        opacity: 1;
        visibility: visible;
        flex-shrink: 0;
    }

/* Mobile */
@media (max-width: 760px) {
    .stage.stage--features {
        height: 660px;
    }

    .step[data-step="1"] .features {
        margin-top: 30px;
    }

    .step[data-step="1"] .hint {
        margin-top: 16px;
        font-size: 14px;
    }
}
