* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #d5c485;
}

::-webkit-scrollbar-thumb {
    background: #f4bf02;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f4bf02;
}

ul,
ol {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: black;
}

header {
    width: 100%;
    background-color: #f4bf02;
    border-bottom: 1px solid white;
    height: 100px;
    position: fixed;
    z-index: 99;
}

.active {
    background-color: black !important;
    color: #f4bf02 !important;
}
.not-active {
    background-color: #f4bf02 !important;
    color: black !important;
}

header nav {
    width: 1168px;
    margin: 0 auto;
}
header nav .header-navigation {
    position: relative;
    display: flex;
    align-items: center;
    height: 100px;
}

.header-nav-link {
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 2px solid rgba(255,255,255,0.65);
    border-radius: 24px;
    padding: 8px 18px 8px 14px;
    transition: background-color 0.2s;
}
.header-nav-link::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.header-nav-link:hover {
    background-color: rgba(255,255,255,0.18);
}

header nav .header-navigation .language {
    position: relative;
    border: 1px solid #ffffff;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 500;
    font-size: 23px;
    padding: 8px 20px;
    background-color: #f4bf02;
    margin-left: auto;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}

header nav .header-navigation .language .languages-list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background-color: #f4bf02;
    border: 1px solid #ffffff;
    border-radius: 12px;
    overflow: hidden;
    min-width: 100%;
    z-index: 100;
    margin-top: 0;
}

header nav .header-navigation .language .languages-list li a {
    display: block;
    padding: 10px 22px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}

header nav .header-navigation .language .languages-list li a:hover {
    background-color: rgba(0,0,0,0.12);
}

.open-languges {
    /* height no longer needed — list is absolutely positioned */
}

header nav .header-navigation .language div .language-pointer {
    transform: rotate(-90deg);
    display: inline-block;
    transition: 0.3s;
}

.language-pointer-rotate {
    transform: rotate(90deg) !important;
}

.languages-list-open {
    display: block !important;
}

main {
    width: 100%;
    padding-top: 100px;
}

.map {
    padding-top: 30px;
    background-color: #f5f4f2;
    width: 100%;
}

main .about {
    width: 100%;
    color: #0f0f0f;
    margin: 0 auto;
    padding-top: 57px;
    padding-bottom: 137px;
    background: linear-gradient(180deg, #f2bd00 0%, #ffca10 31.49%, #fff1c1 100%);
}

main .about .about-first {
    width: 1168px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.about-second {
    text-align: center;
    color: #f5f4f2;
    font-size: 1px;
    background-color: #f5f4f2 !important;
    display: flex;
    padding-bottom: 30px;
}

main .about .about-first .about-text {
    display: flex;
    flex-direction: column;
}

main .about .about-first .about-text .first-title {
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    width: 425px;
    opacity: 0.99;
}

main .about .about-first .about-text .registration-ref {
    background-color: #222222;
    border-radius: 20px;
    padding: 20px 30px;
    width: fit-content;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    border: 2px solid #222222;
    text-transform: uppercase;
    color: #ffffff;
    transition: 0.3s;
}

main .about .about-first .about-text .registration-ref:hover {
    background-color: transparent;
    color: black;
}
main .about .about-first .about-image {
    display: flex;
    flex-direction: row;
    width: 520px;
    gap: 20px;
}
main .about .about-first .about-image img {
    width: 250px;
    border-radius: 20px;
}
main .registration-section {
    background-color: #f5f4f2;
    width: 100%;
    padding: 60px 0;
}

.form-container {
    margin: 0 auto;
    width: fit-content;
    padding-left: 40px;
    padding-right: 40px;
}

.form-container .register-now {
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    margin-top: 0;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 12px;
    text-align: center;
}

.form-container .instant-registration {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #0f0f0f;
    text-align: center;
    margin-top: 20px;
}

.form-container .choose-registration-form {
    width: 100%;
    display: grid;
    grid-template-columns: 16.66666666666667% 16.66666666666667% 16.66666666666667% 16.66666666666667% 16.66666666666667% 16.66666666666667%;
    margin-top: 20px;
}

.form-container .choose-registration-form button {
    width: 100%;
    background-color: #facb26;
    padding: 10px;
    text-align: center;
    font-weight: 900;
    font-size: 90%;
    border: none;
    border-left: 1px solid black;
}

.form-container .choose-registration-form button:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    background-color: black;
    color: #facb26;
    border: none;

}

.form-container .choose-registration-form button:last-child {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border: none;
    border-left: 1px solid black;
}

.section-title {
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    margin-top: 0;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.register-form-label {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 8px;
    margin-top: 30px;
    color: #0f0f0f;
}

form {
    display: none;
}

#taxi-form {
    display: block;
}

.taxi-form {
    animation: showForm 1 0.5s linear;
    width: fit-content;
    margin: 0 auto;
}

@keyframes showForm {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.taxi-form h1 {
    text-align: center;
    padding-top: 30px;
    font-size: 30px;
}

.taxi-form input {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    border: 2px solid #fff;
    color: #161616;
    background: #ffffff;
    box-shadow: 4px 4px 8px #f5f5f5;
    border-radius: 20px;
    outline-color: #f4bf02;
}

.select-color {
    width: 98%;
    outline: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    height: 100%;
    background-color: transparent;
    display: inline-block;
    border-radius: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.select-color-con {
    display: flex;
    align-items: center;
    height: 66px;
    width: 100%;
    border: 2px solid #fff;
    color: #161616;
    background: #ffffff;
    box-shadow: 4px 4px 8px #f5f5f5;
    border-radius: 20px;
}

.reg-form-agree {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

.reg-form-agree span {
    color: #f4bf02;
}

.consent-link {
    color: #f4bf02;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

/* Consent block — full-width clickable card with toggle */
.consent-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 14px;
    padding: 14px 18px;
    transition: border-color 0.2s, background-color 0.2s;
    user-select: none;
}

.consent-checkbox-label:hover {
    border-color: #bbb;
    background-color: #efefef;
}

/* Hide the native checkbox — replaced visually by the toggle */
.consent-checkbox {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    opacity: 0;
    width: 0 !important;
    height: 0;
    pointer-events: none;
}

/* Toggle track drawn via pseudo-element on the label */
.consent-checkbox-label::after {
    content: '';
    flex-shrink: 0;
    display: block;
    width: 48px;
    height: 28px;
    border-radius: 14px;
    background-color: #ccc;
    position: relative;
    transition: background-color 0.25s;
    /* thumb — white circle on the left */
    box-shadow: inset -22px 0 0 3px #fff;
}

/* Checked state */
.consent-checkbox-label:has(.consent-checkbox:checked) {
    border-color: #f4bf02;
    background-color: #fffbea;
}

.consent-checkbox-label:has(.consent-checkbox:checked)::after {
    background-color: #f4bf02;
    /* thumb moves to the right */
    box-shadow: inset 22px 0 0 3px #fff;
}

.consent-checkbox-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    color: #444444;
    flex: 1;
}

.taxi-form .registration-submit {
    background-color: #222222;
    border-radius: 20px;
    padding: 20px 30px;
    width: fit-content;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    border: 2px solid #222222;
    text-transform: uppercase;
    display: flex;
    color: #ffffff;
    transition: 0.3s;
    margin: 0 auto;
    margin-top: 30px;
    cursor: pointer;
}

.taxi-form .registration-submit:hover {
    background-color: transparent;
    color: #222222;
}

.congratulation-container {
    width: 100%;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.congratulation {
    background-color: green;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    width: 400px;
    height: 300px;
    padding: 20px;
}

.congratulation-container p {
    font-size: 32px;
    color: white;
}

.congratulation-container button {
    padding: 20px 30px;
    color: white;
    background-color: black;
    text-align: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid white;
}

.g-recaptcha {
    margin-top: 20px;
}

.site-footer {
    background-color: #222222;
    color: #ffffff;
    padding: 50px 40px 0;
}

.site-footer-inner {
    max-width: 1168px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444444;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
}

.footer-logo {
    width: 80px;
    filter: brightness(0) invert(1);
}

.footer-disclaimer {
    font-size: 13px;
    color: #aaaaaa;
    line-height: 1.6;
}

.site-footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    line-height: 1.7;
}

.site-footer-info a {
    color: #f4bf02;
    text-decoration: none;
}

.site-footer-info a:hover {
    text-decoration: underline;
}

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer-links a {
    color: #f4bf02;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f4bf02;
    padding-bottom: 2px;
    transition: 0.2s;
}

.site-footer-links a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.site-footer-bottom {
    max-width: 1168px;
    margin: 0 auto;
    padding: 18px 0;
    font-size: 13px;
    color: #888888;
    text-align: center;
}

@media (max-width: 1200px) {
    header nav {
        width: 680px;
    }

    main .about {
    }

    main .about .about-first {
        flex-direction: column;
        gap: 30px;
        width: 680px;
    }

    main .about .about-first .about-text {
        align-items: center;
    }

    main .about .about-first .about-text .first-title {
        width: 300px;
        text-align: center;
    }
}

@media (max-width: 700px) {
    header nav {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    header nav .header-navigation .language {
        font-size: 19px;
    }

    main .about .about-first {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
    main .about-text {
        align-items: center;
    }
    main .about .about-first .about-image {
        width: 300px;
        justify-content: center;
    }
    main .about .about-first .about-image img {
        width: 40%;
    }

    .form-container .choose-registration-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }

    .form-container .choose-registration-form button {
        width: 100%;
        background-color: #facb26;
        padding: 10px;
        text-align: center;
        font-weight: 900;
        font-size: 100%;
        border: none;
        border-bottom: 1px solid black;
        color: black;
    }

    .form-container .choose-registration-form button:first-child {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0px;
        border-right: none;
        border-bottom: 1px solid black;
        background-color: black;
        color: #facb26;
    }

    .form-container .choose-registration-form button:last-child {
        border-top-right-radius: 0px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border-left: none;

    }

    .form-container {
        margin: 0 auto;
        width: 400px;
    }

    main .registration-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 520px) {
    header {
        height: 60px;
    }
    header nav .header-navigation {
        width: 100%;
        height: 60px;
    }

    header nav .header-navigation .language {
        font-size: 17px;
        padding: 6px 14px;
    }

    .header-nav-link {
        font-size: 15px;
    }

    main {
        padding-top: 60px;
    }

    .map {
        padding-top: 0px;
    }

    main .about {
        padding-bottom: 50px;
        padding-top: 30px;
    }

    main .about .about-first .about-text .first-title {
        width: 100%;
    }

    main .about .about-first .about-text .logo {
        width: 100%;
    }

    main .about .about-first .about-text .registration-ref {
        width: 100%;
        font-size: 18px;
        padding: 18px 10px;
        text-align: center;
    }

    main .about .about-first .about-text .reg-form-agree {
        width: 100%;
    }
    main .about .about-first .about-image {
        width: 100%;
    }
    .form-container {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }

    main .registration-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    header nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    main .about {
        padding-left: 20px;
        padding-right: 20px;
    }

    .congratulation {
        width: 80%;
        height: 60%;
        padding: 20px;
    }

    .congratulation-container p {
        font-size: 28px;
    }

    .site-footer {
        padding: 40px 20px 0;
    }

    .site-footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .site-footer-brand {
        max-width: 100%;
    }
}

/* ── Desktop enhancements (1025px+) ── */
@media (min-width: 1025px) {

    main .registration-section {
        background: linear-gradient(160deg, #f5f4f2 0%, #fff8e0 100%);
        padding: 80px 40px;
    }

    .form-container {
        width: 700px;
        background: #ffffff;
        border-radius: 28px;
        box-shadow: 0 16px 60px rgba(0, 0, 0, 0.10);
        padding: 50px 60px 60px;
    }

    .form-container .register-now {
        font-size: 38px;
    }

    .form-container .instant-registration {
        font-size: 18px;
        font-weight: 500;
        color: #777777;
        margin-top: 10px;
    }

    /* Tab buttons */
    .form-container .choose-registration-form {
        margin-top: 30px;
        border-radius: 14px;
        overflow: hidden;
        border: 2px solid #222222;
        grid-template-columns: repeat(6, 1fr);
    }

    .form-container .choose-registration-form button {
        padding: 17px 6px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.03em;
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
        font-family: "Segoe UI", Arial, sans-serif;
        border-left: 1.5px solid #222222;
        border-radius: 0;
    }

    .form-container .choose-registration-form button:first-child {
        border-left: none;
        border-radius: 0;
    }

    .form-container .choose-registration-form button:last-child {
        border-radius: 0;
    }

    .form-container .choose-registration-form button:hover:not(.active) {
        background-color: #e8a800;
        color: #000000;
    }

    /* Form */
    .taxi-form {
        width: 100%;
    }

    .taxi-form h1 {
        font-size: 26px;
        padding-top: 38px;
        padding-bottom: 4px;
        font-weight: 700;
        color: #111111;
    }

    /* Labels */
    .register-form-label {
        font-size: 15px;
        font-weight: 700;
        color: #999999;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        margin-top: 24px;
        margin-bottom: 6px;
    }

    /* Text inputs */
    .taxi-form input:not([type="submit"]):not([type="checkbox"]) {
        background: #f7f7f7;
        border: 2px solid #eeeeee;
        border-radius: 14px;
        padding: 18px 22px;
        font-size: 18px;
        font-family: "Segoe UI", Arial, sans-serif;
        box-shadow: none;
        transition: border-color 0.2s, background 0.2s;
    }

    .taxi-form input:not([type="submit"]):not([type="checkbox"]):focus {
        border-color: #f4bf02;
        background: #ffffff;
        outline: none;
        box-shadow: 0 0 0 4px rgba(244, 191, 2, 0.12);
    }

    /* Select */
    .select-color-con {
        background: #f7f7f7;
        border: 2px solid #eeeeee;
        border-radius: 14px;
        height: 64px;
        box-shadow: none;
        transition: border-color 0.2s;
    }

    .select-color-con:focus-within {
        border-color: #f4bf02;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(244, 191, 2, 0.12);
    }

    .select-color {
        font-size: 18px;
    }

    /* Submit button */
    .taxi-form .registration-submit {
        width: 100%;
        justify-content: center;
        font-size: 18px;
        letter-spacing: 0.08em;
        padding: 22px 30px;
        margin-top: 12px;
        border-radius: 14px;
    }

    /* Consent */
    .consent-checkbox-label {
        margin-top: 28px;
        margin-bottom: 16px;
    }
}
