* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
    line-height: 1;
    outline: none;
}
footer,
header,
section {
    display: block;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #282828;
    background-image: url(img/lines.svg);
    background-repeat: repeat;
    background-size: contain;
    width: 100%;
    -webkit-text-size-adjust: none;
    font-family: "Tektur", sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #333;
    -webkit-text-size-adjust: none;
    -webkit-animation: fade-in 1s linear;
    -moz-animation: fade-in 1s linear;
    -o-animation: fade-in 1s linear;
    animation: fade-in 1s linear;
    position: relative;
}
@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-moz-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-o-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
section {
    padding: 55px 0;
    overflow: hidden;
}
body::before {
    content: "";
    background-image: url(img/body.png);
    background-blend-mode: multiply;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0px;
    opacity: 0.2;
    z-index: -1;
}
a {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #fff;
}
img {
    max-width: 100%;
    height: auto;
}
h1,
h2 {
    font-weight: 500;
    position: relative;
    color: #333;
}
h1 {
    margin-bottom: 30px;
    font-size: 28px;
}
h2 {
    font-size: 26px;
    margin-bottom: 35px;
}
.wrapper {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    cursor: default;
    background-color: #f1cf64;
}
.inner {
    padding-left: 30px;
    padding-right: 30px;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
.grid {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.aic {
    align-items: center;
}
.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.cols-6 {
    grid-template-columns: repeat(6, 1fr);
}
.btn {
    display: inline-block;
    padding: 15px 55px;
    background-color: #ecaf21;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1.3px;
    border: 4px solid transparent;
    font-weight: 500;
    cursor: pointer;
    font-size: 18px;
}
.btn,
.btn-wrapper {
    clip-path: polygon(0px calc(100% - 12px),
        4px calc(100% - 12px),
        4px calc(100% - 8px),
        8px calc(100% - 4px),
        12px calc(100% - 4px),
        12px 100%,
        calc(100% - 12px) 100%,
        calc(100% - 12px) calc(100% - 4px),
        calc(100% - 8px) calc(100% - 4px),
        calc(100% - 4px) calc(100% - 8px),
        calc(100% - 4px) calc(100% - 12px),
        100% calc(100% - 12px),
        100% 12px,
        calc(100% - 4px) 12px,
        calc(100% - 4px) 8px,
        calc(100% - 8px) 4px,
        calc(100% - 12px) 4px,
        calc(100% - 12px) 0px,
        12px 0px,
        12px 4px,
        8px 4px,
        4px 8px,
        4px 12px,
        0px 12px);
    position: relative;
}
.btn-wrapper {
    width: fit-content;
    height: fit-content;
    margin: 50px auto 0;
}
.btn-wrapper .btn {
    display: block;
    clip-path: polygon(4px 12px,
        8px 12px,
        8px 8px,
        12px 8px,
        12px 4px,
        calc(100% - 12px) 4px,
        calc(100% - 12px) 8px,
        calc(100% - 8px) 8px,
        calc(100% - 8px) 12px,
        calc(100% - 4px) 12px,
        calc(100% - 4px) calc(100% - 12px),
        calc(100% - 8px) calc(100% - 12px),
        calc(100% - 8px) calc(100% - 8px),
        calc(100% - 12px) calc(100% - 8px),
        calc(100% - 12px) calc(100% - 4px),
        12px calc(100% - 4px),
        12px calc(100% - 8px),
        8px calc(100% - 8px),
        8px calc(100% - 12px),
        4px calc(100% - 12px));
}
.btn::after,
.btn-wrapper::after {
    content: "";
    position: absolute;
    clip-path: polygon(0px calc(100% - 12px),
        4px calc(100% - 12px),
        4px calc(100% - 8px),
        8px calc(100% - 4px),
        12px calc(100% - 4px),
        12px 100%,
        calc(100% - 12px) 100%,
        calc(100% - 12px) calc(100% - 4px),
        calc(100% - 8px) calc(100% - 4px),
        calc(100% - 4px) calc(100% - 8px),
        calc(100% - 4px) calc(100% - 12px),
        100% calc(100% - 12px),
        100% 12px,
        calc(100% - 4px) 12px,
        calc(100% - 4px) 8px,
        calc(100% - 8px) 4px,
        calc(100% - 12px) 4px,
        calc(100% - 12px) 0px,
        12px 0px,
        12px 4px,
        8px 4px,
        4px 8px,
        4px 12px,
        0px 12px,
        0px 50%,
        4px 50%,
        4px 12px,
        8px 12px,
        8px 8px,
        12px 8px,
        12px 4px,
        calc(100% - 12px) 4px,
        calc(100% - 12px) 8px,
        calc(100% - 8px) 8px,
        calc(100% - 8px) 12px,
        calc(100% - 4px) 12px,
        calc(100% - 4px) calc(100% - 12px),
        calc(100% - 8px) calc(100% - 12px),
        calc(100% - 8px) calc(100% - 8px),
        calc(100% - 12px) calc(100% - 8px),
        calc(100% - 12px) calc(100% - 4px),
        12px calc(100% - 4px),
        12px calc(100% - 8px),
        8px calc(100% - 8px),
        8px calc(100% - 12px),
        4px calc(100% - 12px),
        4px 50%,
        0px 50%);
    top: -2px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    display: block;
    pointer-events: none;
}
.btn::after {
    margin: -4px;
}
.btn:hover {
    opacity: 0.6;
}
.psr {
    position: relative;
}
/* Header */
.header {
    width: 100%;
    padding: 30px 0;
    z-index: 1;
}
.header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 80px;
}
.logo {
    color: #eec644;
    text-shadow: 0px 4px 0px #000;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
}
/* Menu */
.menu {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}
.footer .menu {
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.menu a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.menu svg {
    width: 24px;
    height: 24px;
}
/* Middle */
section img {
    width: auto;
    max-height: 500px;
}
@media (max-width: 1440px) {
    section img {
        max-height: 410px;
        width: auto;
    }
}
.bgb {
    padding: 50px 20px;
    position: relative;
    border: 1px solid #dfb63a;
    background: rgba(255, 255, 255, 0.15);
    clip-path: polygon(
        30px 0%, 
        calc(100% - 30px) 0%, 
        100% 30px, 
        100% calc(100% - 30px), 
        calc(100% - 30px) 100%, 
        30px 100%, 
        0% calc(100% - 30px), 
        0% 30px
    );
}
.bgb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Обводка 1px для углов */
    background: 
        /* Углы */
        linear-gradient(135deg, #dfb63a 31px, transparent 31px) top left,
        linear-gradient(-135deg, #dfb63a 31px, transparent 31px) top right,
        linear-gradient(-45deg, #dfb63a 31px, transparent 31px) bottom right,
        linear-gradient(45deg, #dfb63a 31px, transparent 31px) bottom left;
    
    background-repeat: no-repeat;
    background-size: 31px 31px;
    z-index: 1;
    pointer-events: none;
}
.fw {
    font-size: 55px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0px 4px 0px #000;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000;
}
section p,
.nlab {
    line-height: 1.5;
    margin-bottom: 15px;
}
section p:last-child {
    margin-bottom: 0;
}
.nlab {
    cursor: pointer;
    font-size: 20px;
}
.sc1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}
.sc1 .flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
}
.crcl::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: rgba(202, 158, 28, 0.15);
    opacity: 1;
    z-index: -2;
    pointer-events: none;
}
.crcl::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: rgba(202, 158, 28, 0.2);
    opacity: 1;
    z-index: -2;
    pointer-events: none;
}
.sc1>.inner {
    flex: 1;
}
.note {
    width: 100%;
    background-color: #ecaf21;
    color: #fff;
    padding: 10px 0;
    font-size: 35px;
    font-weight: 500;
    text-shadow: 0px 4px 0px #000;
}
.sc1 .note {
    background-color: #e27b21;
}
.sc31 .grid {
	background-image: url(img/cert.png);
	background-position: 10px 10px;
	background-repeat: no-repeat;
	background-size: auto 96%;
}
.sc5 svg {
    height: 60px;
    width: auto;
    border-radius: 10px;
}
.sc5 .center {
    margin-top: 50px;
}
.btns-group {
    display: flex;
    gap: 0;
    max-width: 90%;
    margin: 0 auto;
}
.btns-group label {
    margin-bottom: 0;
}
.btns-group a:hover {
    color: inherit;
}
.country {
    color: #755c0b;
}
.days {
    background-color: #bb9311;
    font-size: 14px;
    color: #fff;
    padding: 7px 15px;
    clip-path: polygon(10px 0%,
        calc(100% - 10px) 0%,
        100% 10px,
        100% calc(100% - 10px),
        calc(100% - 10px) 100%,
        10px 100%,
        0% calc(100% - 10px),
        0% 10px);
}
.countries div {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Footer */
.footer {
    border-top: 2px solid #000;
    background: #ecaf21;
    font-size: 14px;
    font-weight: 300;
}
.footer .inner {
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1.5;
}
.footer,
.footer a {
    color: #000;
}
/* Popup */
.popup-button {
    background: #333;
    line-height: 34px;
    color: #fff;
    padding: 0 20px;
    border-radius: 3px;
    display: block;
    cursor: pointer;
}
.popup-inner .grid {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}
.popup-button:hover {
    background: #444;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: 250ms all;
}
.popup-inner {
    width: 95%;
    max-width: 600px;
    box-sizing: border-box;
    padding: 20px;
    background: #f1cf64;
    border: 3px solid #000;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 150%;
    transition: 250ms all;
    max-height: 90%;
    overflow-y: auto;
    clip-path: polygon(15px 0%,
        calc(100% - 15px) 0%,
        100% 15px,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        15px 100%,
        0% calc(100% - 15px),
        0% 15px);
}
.popup-title svg {
    height: 20px;
    width: auto;
    margin-right: 3px;
    position: relative;
    top: 3px;
    fill: #666;
}
.popup-title h4 {
    font-size: 30px;
    color: #000;
    margin-bottom: 5px;
    font-weight: 700;
}
.popup-title .subtitle {
    margin-bottom: 25px;
    font-size: 12px;
    line-height: 1.3;
    color: #555;
}
.popup-content ul li {
    margin-bottom: 10px;
}
.popup-content ul li:last-child {
    margin-bottom: 0;
}
.popup-content ul li input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    line-height: 34px;
    padding: 0 15px;
    font-size: 14px;
    box-sizing: border-box;
}
.popup-content ul li button {
    width: 100%;
    line-height: 34px;
    background: #666;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    border: none;
    font-size: 14px;
}
.popup-content ul li button:hover {
    background: #444;
}
.transparent-label {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: pointer;
}
.popup-container>input {
    display: none;
}
.popup-container>input:checked+.popup {
    opacity: 1;
    visibility: visible;
}
.popup-container>input:checked+.popup .popup-inner {
    position: relative;
    top: 50%;
}
.popup-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    display: block;
    padding: 0 7px;
    font-size: 22px;
    color: #777;
}
.popup-close-btn:hover {
    color: #dd3d53;
}
/* Form */
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 16px;
}
button {
    font-family: "Tektur", sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}
input[type="text"],
input[type="email"],
input[type="date"],
.dropdown-select {
    width: 100%;
    padding: 8px 8px 8px 0;
    border: none;
    border-bottom: 1px solid #000;
    background-color: #f1cf64;
    font-family: "Tektur", sans-serif;
    font-size: 15px;
    font-weight: 500;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    font-weight: 600;
    cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
}
.checkbox-group label {
    margin-bottom: 0;
}
.checkbox-group input[type="checkbox"],
.checkbox-group label {
    cursor: pointer;
}
.country-select {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pay-button {
    margin-top: 20px;
}
.pay-link.btn {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 35px;
}
.message {
	padding: 10px;
	margin: 10px 0;
	border-radius: 4px;
	text-align: center;
	line-height: 1.3;
	font-weight: 500;
	clip-path: polygon(15px 0%, calc(100% - 15px) 0%, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0% calc(100% - 15px), 0% 15px);
}
.success {
	background-color: #f4db8a;
	color: #000;
	border: 1px solid #f0cd5c;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* Custom dropdown styles */
.custom-dropdown {
    position: relative;
    width: 100%;
}
.dropdown-select {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f1cf64;
    border: 1px solid #f6e3a2;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    font-size: 15px;
}
.dropdown-option {
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f6e3a2;
}
.dropdown-option:hover {
    background-color: #f6e3a2;
}
.dropdown-option:last-child {
    border-bottom: none;
}
.flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
}
.selected-flag {
    width: 20px;
    height: 15px;
}
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus:-moz-placeholder,
textarea:focus:-moz-placeholder {
    color: transparent;
}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    color: transparent;
}
input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {
    color: transparent;
}
/* Result page */
.result .header {
    position: relative;
    padding: 40px 0 0;
    z-index: 1;
}
.result .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    gap: 30px;
}
.result .header .inner {
    display: block;
}
.result .sc1 {
    margin-top: auto;
    min-height: auto;
    display: block;
    padding: 0;
}
.result section img {
    width: 280px;
}
.result-mes {
    margin-top: 30px;
    font-weight: 500;
    font-size: 25px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.result-mes svg {
    width: 40px;
    height: 40px;
}
.result .footer {
    margin-top: auto;
}
.failed-mes {
    margin-bottom: 30px;
}
@media (max-width: 812px) {
    .header {
        position: relative;
        padding: 20px 0 0;
    }
    .header .inner,
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .header .inner {
         gap: 15px;       
    }
    .menu {
        gap: 5px;
    }
    .cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    section {
        padding: 30px 0;
    }
    .sc1 > .inner {
        padding-bottom: 30px;
    }
    .inner {
      padding-left: 20px;
      padding-right: 20px;
    }
    .logo {
        font-size: 45px;
        margin: 0 auto;
    }
    .fw {
        font-size: 40px;
    }
    .sc1 {
        padding-top: 40px;
        display: block;
    }
    .note {
        font-size: 25px;
    }
    .note .inner {
        line-height: 1.3;
    }
    .cols-6 {
        grid-template-columns: repeat(4, 1fr);        
    }
    section img {
        max-height: 350px;
    }
}
@media (max-width: 667px) {
    .btns-group {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .btns-group .btn-wrapper {
        width: 232px;
        text-align: center;
    }
    .btns-group .btn-wrapper:last-child {
        margin-top: 20px;
    }
}
@media (max-width: 480px) {
    .cols-2,
    .cols-3,
    .cols-1-2-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .cols-6 {
        grid-template-columns: repeat(2, 1fr);        
    }
    .header,
    .right,
    .footer {
        text-align: center;
    }
    .inner {
      padding-left: 15px;
      padding-right: 15px;
    }
    .logo {
        font-size: 40px;
    }
    .or1 {
        order: 1;
    }
    .or2 {
        order: 2;
    }
    .fw {
        font-size: 35px;
        text-align: center;
        line-height: 1.2;
    }
}
@media (max-width: 390px) {
    .result-mes {
        flex-direction: column;
    }
}