@font-face {
    font-family: "BlackJack";
    src: url("fonts/BlackJack.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Antiqua";
    src: url("fonts/GlassAntiqua-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.ac_btn {
    color: #fff;
    background: #cc8e49;
    font-weight: 600;
    font-size: 20px;
    padding: 2px;
    text-align: center;
    border-radius: 10px;
    margin-top: 5px;
    transition: all 0.3s;
}
.ac_btn.green {
    background: #0E4726;
    cursor: pointer;
}
.ac_btn.active {
    cursor: pointer;
}
.ac_btn.active:hover {
    background: #871223;
}
.ac_btn.disabled {
    background: #B3B3B3;
    cursor: no-drop;
}
.ac_cont .stars_bg {
    position: relative;
    z-index: 2;
    background-image: url(../img/ac_stars_bg.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    margin-top: -400px;
}
.ac_cont .ac_top_bg {
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.ac_cont .ac_top_bg img {
    width: 100%;
    margin-top: -130px;
}
.ac_cont .ac_bottom_bg {
    margin-top: -300px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    /* Маска для плавного исчезновения к низу */
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to top, black 70%, transparent 100%);
}

.ac_cont .ac_font1 {
    font-weight: 700;
    font-size: 56px;
    color: #CC8E49;
    text-align: center;
}

.ac_cont .ac_font2 {
    padding-top: 30px;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    color: #000000;
}
.ac_font3 {
    padding-top: 30px;
    display: flex;
    align-items: center;
    font-family: "Antiqua";
    font-weight: 400;
    font-size: 50px;
    color: #000000;
}
.ac_font4 {
    font-family: "BlackJack";
    font-weight: 400;
    font-size: 50px;
    color: #871223;
}
.advent_cont {
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}
.advent_cont .item {
    text-align: center;
    width: 14.5%;
    border-radius: 10px;
    padding: 5px;
    border: 3px solid #CC8E49;
    background: #fff;
}

.advent_cont .item:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.advent_cont .item img {
    height: 80px;
}
.advent_cont .item .name {
    color: #000;
    font-family: "BlackJack", sans-serif;
    font-size: 30px;
}
.tour_video_icon {
    display: none;
}
@media screen and (max-width: 1052px) {
    .advent_cont .item {
        width: 22.3%;
    }
    .ac_cont .stars_bg {
        margin-top: -150px;
        background:none;
    }
    .advent_cont .item img {
        width: 60px;
    }
    .ac_cont .ac_bottom_bg {
        margin-top: -100px;
    }
    .ac_cont .ac_top_bg img {
        margin-top: 0px;
    }
}
@media screen and (max-width: 840px) {
    .advent_cont .item {
        width: 31.1%;
    }
    .advent_cont {
        gap: 10px;
    }
    .advent_cont .item img {
        height: 50px;
    }
    .advent_cont .item .name {
        font-size: 18px;
    }
    .ac_btn {
        font-size: 15px;
    }
    .ac_cont .ac_font1 {
        font-size: 35px;
    }
    .ac_cont .ac_font2 {
        font-size: 18px;
        padding-top: 15px;
    }
    .ac_cont .stars_bg {
        margin-top: -80px;
    }
}
@media screen and (max-width: 390px) {
    .advent_cont .item .name {
        font-size: 16px;
    }
    .advent_cont {
        gap: 5px;
    }
}


/* ---------- Фон 2026 (us.amsaantours.com): ночное небо, авиапочта, марки ---------- */
.ac26 {
    background: #F6EFE3;
    overflow: hidden;
}
.ac26_hero {
    position: relative;
    background: url(../img/ac26_snow.png) center top / cover no-repeat, linear-gradient(180deg, #16233F 0%, #24365E 100%);
    padding: 140px 0 145px;
}
.ac26_stripe {
    height: 14px;
    background: url(../img/ac26_stripe.svg) left center / auto 14px repeat-x;
    position: relative;
    z-index: 3;
}
.ac26_hero > .ac26_stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.ac26_stripe_bottom {
    margin-top: 76px;
}
.ac26_deco {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 1;
    pointer-events: none;
}
.ac26_postmark {
    position: absolute;
    left: 55px;
    top: -20px;
    width: 329px;
}
.ac26_santa {
    position: absolute;
    right: 150px;
    top: 31px;
    width: 160px;
    transform: rotate(-7deg);
}
.ac26_tree {
    position: absolute;
    right: 45px;
    top: 35px;
    width: 145px;
    transform: rotate(5.25deg);
}
.ac26_titles {
    position: relative;
    z-index: 2;
}
.ac26 .ac_font1 {
    line-height: 1.3;
}
.ac26 .ac_font2 {
    color: #fff;
    line-height: 1.4;
    padding-top: 12px;
}
.ac26_snowdrift {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 70px;
    z-index: 1;
}
.ac26_cells {
    position: relative;
    z-index: 2;
    margin-top: -97px;
}
.ac26 .advent_cont {
    padding-top: 0;
}
@media screen and (max-width: 1052px) {
    .ac26_hero {
        padding: 110px 0 110px;
    }
    .ac26_postmark {
        left: 10px;
        top: -10px;
        width: 200px;
    }
    .ac26_santa {
        right: 95px;
        top: 25px;
        width: 100px;
    }
    .ac26_tree {
        right: 20px;
        top: 28px;
        width: 90px;
    }
    .ac26 .ac_font1 {
        font-size: 46px;
    }
    .ac26 .ac_font2 {
        font-size: 28px;
    }
    .ac26_snowdrift {
        height: 50px;
    }
    .ac26_cells {
        margin-top: -70px;
    }
    .ac26_stripe_bottom {
        margin-top: 50px;
    }
}
@media screen and (max-width: 840px) {
    .ac26_hero {
        padding: 85px 0 80px;
    }
    .ac26_postmark {
        left: 0;
        top: -5px;
        width: 120px;
    }
    .ac26_santa {
        right: 62px;
        top: 18px;
        width: 62px;
    }
    .ac26_tree {
        right: 12px;
        top: 20px;
        width: 56px;
    }
    .ac26 .ac_font1 {
        font-size: 35px;
    }
    .ac26 .ac_font2 {
        font-size: 18px;
        padding-top: 8px;
    }
    .ac26_snowdrift {
        height: 30px;
        bottom: -5px;
    }
    .ac26_cells {
        margin-top: -55px;
    }
    .ac26_stripe_bottom {
        margin-top: 40px;
    }
}
@media screen and (max-width: 420px) {
    .ac26 .ac_font2 {
        font-size: 15px;
    }
}

/* Форма «Need help with your discount?» и попап «Thank you» (макет Figma: help banner, попап «дякуємо» вариант 2) */
.ac26_help_wrap {
    position: relative;
    z-index: 2;
    margin-top: 48px;
}
.ac26_help {
    display: flex;
    max-width: 1198px;
    margin: 0 auto;
    padding-left: 14px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(20, 28, 56, 0.10);
    font-family: 'Montserrat', sans-serif;
}
.ac26_video {
    position: relative;
    flex: 0 0 57%;
    margin: 14px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #16233F;
    cursor: pointer;
    min-height: 420px;
}
.ac26_video img,
.ac26_video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}
.ac26_play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}
.ac26_play:after {
    content: "";
    position: absolute;
    left: 29px;
    top: 22px;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #1E2B55;
}
.ac26_video:hover .ac26_play,
.ac26_video:focus-visible .ac26_play {
    transform: scale(1.08);
}
.ac26_form {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px 56px 40px 48px;
}
.ac26_form_title {
    color: #1E2B55;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}
.ac26_form_sub {
    color: #4A5068;
    font-size: 18px;
    line-height: 27px;
    margin-top: 8px;
}
.ac26_field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}
.ac26_label {
    color: #1E2B55;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}
.ac26_label i {
    color: #C8102E;
    font-style: normal;
}
.ac26_input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #D6D0C2;
    border-radius: 12px;
    background: #fff;
    color: #1E2B55;
    font: 400 16px 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.ac26_input::placeholder {
    color: #6E7388;
}
.ac26_input:focus {
    border-color: #0F4927;
}
.ac26_input.bad {
    border-color: #C8102E;
}
.ac26_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
}
.ac26_chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 13px 18px 13px 16px;
    border: 1px solid #D6D0C2;
    border-radius: 999px;
    background: #fff;
    color: #1E2B55;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.ac26_chip input[type="radio"] {
    position: static;
    left: auto;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 20px;
    border: 1.5px solid #8A8EA0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.ac26_chip.on {
    background: #E2EEE4;
    border-color: #0F4927;
    font-weight: 600;
}
.ac26_chip.on input[type="radio"] {
    border: 2px solid #0F4927;
    box-shadow: inset 0 0 0 3px #fff;
    background: #0F4927;
}
.ac26_chip input:focus-visible {
    outline: 2px solid #0F4927;
    outline-offset: 2px;
}
.ac26_form_foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ac26_error {
    color: #C8102E;
    font-size: 14px;
}
.ac26_submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: #0F4927;
    color: #fff;
    font: 700 16px 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}
.ac26_submit:hover {
    background: #871223;
}
.ac26_submit:disabled {
    opacity: 0.6;
    cursor: wait;
}
.ac26_policy {
    color: #6E7388;
    font-size: 14px;
    line-height: 20px;
}
.ac26_policy a {
    color: #1E2B55;
    text-decoration: underline;
}
.ac26_thanks {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 28, 56, 0.6);
}
.ac26_thanks[hidden] {
    display: none;
}
.ac26_thanks_box {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 12px 40px rgba(20, 28, 56, 0.25);
}
.ac26_thanks_top {
    position: relative;
    height: 190px;
    background: url(../img/ac26_snow.png) center top / cover no-repeat, linear-gradient(180deg, #16233F 0%, #24365E 100%);
}
.ac26_thanks_top .ac26_stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.ac26_thanks_santa {
    position: absolute;
    left: 70px;
    top: 34px;
    width: 92px;
    transform: rotate(-7deg);
}
.ac26_thanks_tree {
    position: absolute;
    left: 150px;
    top: 38px;
    width: 84px;
    transform: rotate(5deg);
}
.ac26_thanks_postmark {
    position: absolute;
    left: 240px;
    top: 40px;
    width: 170px;
}
.ac26_thanks_drift {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 40px;
}
.ac26_thanks_close {
    position: absolute;
    right: 16px;
    top: 26px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1E2B55;
    font-size: 22px;
    line-height: 32px;
    cursor: pointer;
}
.ac26_thanks_body {
    padding: 24px 40px 36px;
    text-align: center;
}
.ac26_thanks_title {
    color: #1E2B55;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}
.ac26_thanks_sub {
    color: #6E7388;
    font-size: 16px;
    line-height: 24px;
    margin: 6px 0 28px;
}
@media screen and (max-width: 1052px) {
    .ac26_video {
        flex-basis: 50%;
    }
    .ac26_form {
        padding: 36px 32px 32px 32px;
    }
    .ac26_form_title {
        font-size: 28px;
        line-height: 36px;
    }
}
@media screen and (max-width: 840px) {
    .ac26_help_wrap {
        margin-top: 32px;
    }
    .ac26_help {
        flex-direction: column;
        padding: 12px;
        border-radius: 20px;
    }
    .ac26_video {
        flex: none;
        margin: 0;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
    .ac26_form {
        padding: 24px 4px 8px;
        gap: 20px;
    }
    .ac26_form_title {
        font-size: 24px;
        line-height: 32px;
    }
    .ac26_form_sub {
        font-size: 16px;
        line-height: 24px;
    }
    .ac26_chips {
        flex-direction: column;
    }
    .ac26_chip {
        width: 100%;
    }
}
@media screen and (max-width: 420px) {
    .ac26_thanks_top {
        height: 160px;
    }
    .ac26_thanks_santa {
        left: 20px;
        width: 76px;
    }
    .ac26_thanks_tree {
        left: 88px;
        width: 70px;
    }
    .ac26_thanks_postmark {
        left: 165px;
        width: 130px;
    }
    .ac26_thanks_body {
        padding: 20px 20px 28px;
    }
    .ac26_thanks_title {
        font-size: 20px;
        line-height: 28px;
    }
}
