:root {
    font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
    color:#102c48;
    background:#f4f7fb;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
}

.wrap {
    max-width:1120px;
    margin:auto;
    padding:24px;
}

header,.brand,.langs,.step,.cal-head {
    display:flex;
    align-items:center;
}

header {
    justify-content:space-between;
    gap:16px;
    padding:4px 0 24px;
}

.brand {
    gap:12px;
}

.mark {
    height:60px;
    width:60px;
    display:grid;
    place-items:center;
    border:2px solid #168b12;
    color:#082b53;
    border-radius:16px;
    font-size:25px;
    font-weight:900;
    background:white;
}

.brand strong {
    display:block;
    font-size:22px;
}

.brand small {
    display:block;
    color:#73879b;
    margin-top:3px;
}

.langs {
    gap:6px;
}

.langs button,.cal-head button {
    background:white;
    border:1px solid #dce5ef;
    border-radius:9px;
    padding:10px 12px;
    color:#082b53;
    font-weight:800;
    cursor:pointer;
}

.langs button.active {
    background:#082b53;
    color:white;
}

.hero {
    background:linear-gradient(115deg,#082b53,#135b87 72%,#168b12);
    border-radius:22px;
    padding:38px;
    color:white;
}

.eyebrow {
    font-size:12px;
    letter-spacing:2px;
    font-weight:800;
    color:#b5e9bc;
}

.hero h1 {
    font-size:clamp(27px,4vw,42px);
    margin:13px 0;
    max-width:750px;
}

.hero p {
    color:#e2eef8;
    max-width:660px;
    line-height:1.6;
}

.demo {
    display:inline-block;
    margin-top:12px;
    border:1px solid #ffffff55;
    background:#ffffff1b;
    border-radius:30px;
    padding:9px 13px;
    font-size:11px;
    font-weight:800;
}

main {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:18px;
    margin-top:20px;
}

.panel {
    background:white;
    border:1px solid #e4ebf2;
    border-radius:19px;
    padding:25px;
    box-shadow:0 6px 20px #193d5c08;
}

.step {
    gap:12px;
    margin-bottom:22px;
}

.step>span {
    background:#e8f5e7;
    color:#168b12;
    border-radius:12px;
    min-width:42px;
    height:42px;
    display:grid;
    place-items:center;
    font-weight:900;
}

.step h2 {
    font-size:21px;
    margin:0 0 4px;
}

.step p {
    margin:0;
    font-size:13px;
    color:#75889a;
    line-height:1.5;
}

.second {
    margin-top:28px;
}

.cal-head {
    justify-content:space-between;
    margin-bottom:13px;
}

.cal-head h3 {
    margin:0;
    text-transform:capitalize;
}

.cal-head button {
    font-size:24px;
    padding:4px 13px;
}

.cal-head button:disabled {
    opacity:.35;
    cursor:not-allowed;
}

.week,.calendar {
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:6px;
}

.week {
    margin-bottom:8px;
}

.week span {
    text-align:center;
    font-size:11px;
    font-weight:800;
    color:#8495a7;
}

.day {
    border:1px solid transparent;
    background:#f2f6fa;
    border-radius:10px;
    aspect-ratio:1;
    cursor:pointer;
    font-weight:700;
    color:#183c59;
}

.day:disabled {
    opacity:.28;
    cursor:not-allowed;
}

.day.selected {
    background:#168b12;
    color:white;
}

.day:not(:disabled):hover {
    border-color:#168b12;
}

.empty {
    aspect-ratio:1;
}

.slots {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:9px;
}

.slot {
    background:#f3f8f4;
    border:1px solid #d5e8d8;
    color:#17631a;
    padding:12px 7px;
    border-radius:10px;
    font-weight:800;
    cursor:pointer;
}

.slot.selected {
    background:#168b12;
    color:white;
}

.slot:disabled {
    opacity:.35;
    cursor:not-allowed;
}

.muted {
    font-size:12px;
    color:#8191a2;
    line-height:1.6;
}

.fields {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

label {
    display:block;
    font-size:13px;
    font-weight:700;
    color:#3f5469;
    margin-bottom:16px;
}

label span {
    display:block;
    margin-bottom:7px;
}

input,textarea {
    font:inherit;
    width:100%;
    border:1px solid #d9e2ed;
    border-radius:10px;
    padding:12px;
    color:#193750;
    background:white;
}

input:focus,textarea:focus {
    outline:2px solid #168b1260;
    border-color:#168b12;
}

.fields label:last-child {
    grid-column:1/-1;
}

.summary {
    border:1px solid #cce9d0;
    background:#edf7ef;
    border-radius:12px;
    padding:16px;
    margin:5px 0 18px;
}

.summary p {
    margin:7px 0 0;
    font-size:13px;
}

.consent {
    display:flex;
    gap:9px;
    align-items:flex-start;
    font-weight:500;
    line-height:1.5;
}

.consent input {
    width:auto;
    margin-top:3px;
}

.consent span {
    margin:0;
}

.submit {
    border:0;
    background:#168b12;
    color:white;
    font-size:15px;
    font-weight:800;
    border-radius:11px;
    padding:16px;
    width:100%;
    cursor:pointer;
}

.submit:hover {
    background:#10730e;
}

.status {
    font-size:13px;
    line-height:1.6;
    color:#17631a;
}

.status.error {
    color:#ad3535;
}

footer {
    padding:25px 0;
    color:#7e8da0;
    font-size:12px;
    text-align:center;
}

@media(max-width:820px) {
    main {
        grid-template-columns:1fr;
    }

}

@media(max-width:550px) {
    .wrap {
        padding:12px;
    }

    header {
        flex-wrap:wrap;
        justify-content:center;
    }

    .brand strong {
        font-size:19px;
    }

    .hero {
        padding:27px 22px;
    }

    .panel {
        padding:17px;
    }

    .fields {
        grid-template-columns:1fr;
    }

    .fields label:last-child {
        grid-column:auto;
    }

    .slots {
        grid-template-columns:repeat(3,1fr);
    }

}

@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        animation:none!important;
        transition:none!important;
    }

}

.brand-logo {
    width:76px;
    height:76px;
    object-fit:contain;
    display:block;
    background:white;
    border-radius:12px;
}

@media(max-width:550px) {
    .brand-logo {
        width:64px;
        height:64px;
    }

}
