* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Unbounded', sans-serif;
    src: url('../fonts/Unbounded-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
html {
    scroll-behavior: smooth;
    /* FIX: removed duplicate from body */
}

body {
    background: rgb(11 12 13);
    overflow-x: hidden;
    letter-spacing: 0.5px;
    font-family: 'Unbounded', sans-serif;
     font-size: clamp(14px, 2vw, 18px);
    line-height: 1.4;
    font-weight: 400;
    min-height: 100vh;
}

.hidden {
    display: none;
}

h1,
h2,
h3 {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: min(95%, 700px);
    background: #141518;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transform: translateY(30px);
    transition: .3s;
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    margin: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
    font-size: clamp(20px, 2.5vw, 28px);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #2a2b2d;
    cursor: pointer;
}

.modal-form-wrapper img,
.partner-form-wrapper img
 {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 8px;
}

.modal-form-wrapper img {
    padding-top: 32px;
}

.modal-form-wrapper .form-subtitle {
    color: #a9afb5;
    margin-bottom: 25px;
}

.modal .partner-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal textarea {
    min-height: 120px;
}

.modal input,
.modal textarea,
.modal select {
    background: rgb(40, 42, 45) !important;
    color: #fff;
}

body.modal-open {
    overflow: hidden;
}

/* ── Container & Layout ── */
.container {
    max-width: 1240px;
    margin: auto;
}

h2 {
    padding-top: 3rem;
}

/* ── Header ── */
header,
p{
    font-family: "TT Firs", sans-serif;
}

.header-container {
    height: 70px;
    padding: 0 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    

}

.partner-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    padding-right: 30px;
}

.hero-card img {
    max-width: 100%;
    height: auto;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar .menu {
    display: flex;
    gap: 32px;
     
}

.menu li {
    list-style: none;
}

.menu li a {
    display: inline-block;
    text-decoration: none;
    color: rgb(235 235 236);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: -0.12px;
    transition: color 0.5s ease, transform 0.5s ease;
}

.menu li a:hover {
    color: rgb(169 175 181);
    transform: scale(0.9);
}

.header-btns {
    display: flex;
    gap: 15px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: auto;
    border: none;
    border-radius: 8px;
    background: #1f2021;
    color: #fff;
    cursor: pointer;
    font-size: clamp(16px, 2vw, 22px);
}

/* ── Mobile Menu ── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -20px);
    width: min(90%, 400px);
    background: #141518;
    border-radius: 24px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 80px);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-menu {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #2a2b2d;
    color: #fff;
    cursor: pointer;
}

.mobile-nav {
    list-style: none;
    text-align: center;
    border-top: 1px solid #2b2c2c;
    border-bottom: 1px solid #2b2c2c;
}

.mobile-nav li {
    margin: 25px 0;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 600;
}

.mobile-socials {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    font-family: "TT Firs", sans-serif;
    align-items: center;
    justify-content: center;
}

.btn-social {
    flex: 1;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #2a2b2d;
    border-radius: 10px;
}

/* ── Buttons ── */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 10px;
    border: none;
    border-radius: 8px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    text-decoration: none;
    cursor: pointer;
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.12px;
    transition: background-color .3s ease, transform .3s ease, opacity .3s ease, box-shadow 0.3s ease;
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .35), 0 2px 8px rgba(187, 235, 0, .18);
    transform: translateY(-2px);
}

.button:active {
    transform: scale(.95);
}

.button:disabled {
    opacity: .5;
    pointer-events: none;
}

.login-btn {
    background: rgb(31 32 33);
    color: #fff;
}

.login-btn:hover {
    background: #3a424b;
    transform: translateY(-2px);
    box-shadow: rgb(230 232 220 / 25%) 0px 8px 24px, rgba(0, 0, 0, 0.3) 0px 16px 40px;
}

.register-btn {
    background: #b4e20c;
    color: #050505;
}

.register-btn:hover {
    background: #c8ef3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(187, 235, 0, .25), 0 16px 40px rgba(0, 0, 0, .3);
}

.language-btn {
    background: rgb(31 32 33);
    color: #fff;
    display: flex;
}

.language-btn:hover {
    background: #3a5566;
}

/* ── Hero ── */
.hero-section {
    min-height: 818px;
    margin: auto;
    background-image: url(./images/sombrero.webp), url(./images/background.webp);
    background-repeat: no-repeat;
    background-position: right top 70%, center;
    background-size: 100% auto, cover;
    height: auto;
}

.hero-card {
    padding: 132px 25px 200px 45px;
    color: #fff;
    font-family: "TT Firs", sans-serif;}

.hero-card h1 {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 800;
    line-height: 0.9;
}

/* ── Offer Card ── */
.offer-card {
    width: 31.4%;
    margin-top: 36px;
    padding: 12px;
    background: #2f3125;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.offer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #101419;
    border-radius: 16px;
    padding: 9px;
}

.offer-label {
    font-size: clamp(16px, 2.2vw, 20px);
    font-weight: 600;
    color: #fff;
}

.offer-label::before {
    content: "★";
    color: #bbeb00;
    margin-right: 8px;
}

.offer-percent {
    display: flex;
    align-items: center;
    gap: 4px;
}

.digit {
    position: relative;
    padding: 9px; 

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "TT Firs", sans-serif;
   
    color: #f5f5f5;

    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.12);
    font-size: 30px;
    font-weight: 600;
    background:
        linear-gradient(
            to bottom,
             #141519 0%,
            #1b1d21 48%,
            #282a2e 49%,
            #3b3c3f 100%
        );

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.03),
        inset 0 -10px 18px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.08);
}

.digit::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255,255,255,.03);
    transform: translateY(-50%);
}

.digit::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 5px;
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.08),
        inset 0 -6px 10px rgba(0,0,0,.35);
    pointer-events: none;
}

.percent {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    color: #b8c0cc;
}

.btn {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: #bbeb00;
    color: #0b0c0d;
}

.btn-primary:hover {
    background: #cfff1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(187, 235, 0, .25), 0 16px 40px rgba(0, 0, 0, .3);
}

.btn-secondary {
    background: #47483f;
    color: #fff;
}

.btn-secondary:hover {
    background: #55574d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(187, 235, 0, .25), 0 16px 40px rgba(0, 0, 0, .3);
}

/* ── Partners Section ── */
.partners {
    max-width: 1500px;
    margin: auto;
    background: rgb(11 12 13);
    border-radius: 55px;
    position: relative;
    transform: translateY(-82px);
}
.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1.3rem;
    padding-left: 25px;
    padding-right: 15px;
}

.partners .partners-title{
    font-size: clamp(28px, 4.5vw, 48px);
    padding-top: 0.5rem !important;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.92px;
    line-height: 0.85;
    padding-bottom: 2.4rem;
    padding-top: 2.2rem !important;
   
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    gap: 20px;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid #2b2c2c;
}

.grid-items {
    background: rgb(26 27 30 );
    border-radius: 20px;
    padding: 31px 31px 38px 31px;
    width: 100%;
    min-height: 228px;
}

.partners-grid .grid-items .grid-title {
    color: #b4e20c;
    font-size: clamp(18px, 3vw, 28px);
    margin-top: 4px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1;
    
}
.partners-grid .grid-items .grid-subtitle {
    color: #fff;
    font-size: clamp(18px, 3vw, 27px);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: -0.8px;
    line-height: 1.2;
    padding-bottom: 0px;
    padding-top: 0px !important;
    width: 50%;
}
.grid-items h3 {
    color: #fff;
    font-size: clamp(14px, 2vw, 22px);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: -0.92px;
}

.partners-grid .grid-items p {
    color: rgb(159 165 172);
    letter-spacing: -0.12px;
    line-height: 1.5rem;
    font-size: clamp(14px, 1.1vw, 1rem);
    margin-top: 6px;
}

.grid-items svg {
    width:73px;
    height: 73px;
}

/* ── Conditions ── */
.conditions-container {
    max-width: 1400px;
    margin: auto;
    padding-bottom: 5rem;
    padding-top: 1.8rem;
    padding-left: 24px;
    padding-right: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-bottom: 1px solid #2b2c2c;
}
.title-texts{
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.92px;
    line-height: 0.85;
}
.conditions-title{
    font-size: clamp(22px, 3.5vw, 38px) !important;
    padding-left: 3rem ;
    padding-top:3.7rem;
    padding-bottom: 0.9rem;
}
hr {
    border: 0.5px solid #2b2c2c;
}

.conditions-item {
    display: flex;
    flex-direction: column;
    gap:4px;
    padding: 9px 24px;
    height: auto;
}

.revshare-title {
    font-size: clamp(24px, 3.5vw, 40px) !important;
    padding-top: 0;
}

.conditions-item img {
    width: 86%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.conditions-item p {
    color: #fff;
    letter-spacing: -0.12px;
    line-height: 1.3rem;
    font-size: clamp(13px, 1.1vw, 1rem);
    margin-top: 5px;
}

.cpa-img {
    background-color: rgb(31, 33, 35);
    display: flex;
    justify-content: center;
    padding: 62px 40px;
    align-items: center;
    border-radius: 22px;
    margin: 26px 0 15px 0;
    width: 100%;
}

.cpa-img div:not(.line) {
    border-radius: 12px;
    padding: 3px;
}

.cpa-img h3 {
    margin-top: 0;
    color: #b4e20c;
}

.conditions-item .flow svg {
    width: 24px;
}

.number {
    font-size: clamp(16px, 2.2vw, 24px) !important;
    font-weight: 700;
}

.flow {
    background: rgba(187, 235, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 18px;
    width: 40%;
    justify-content: center;
}

.days {
    background: #bbeb00;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 0 !important;
    width: 24%;
    font-weight: 600;
}

.days p {
    color: #000;
    margin-top: 0;
    text-transform: capitalize;
    font-weight: 600;
}

.line {
    background: linear-gradient(to left, rgba(187, 235, 0, 0.59), rgba(187, 235, 0, 0));
    width: 58px;
    height: 2px;
}

.revshare {
    border: 3px solid transparent;
    border-radius: 28px;
    background:
        linear-gradient(#1b1c1f, #1b1c1f) padding-box,
        linear-gradient(to bottom right, rgba(187, 235, 0, 0), rgba(187, 235, 0, 0.59), rgba(187, 235, 0, 0)) border-box;
}

/* ── Advantages ── */
.advantages {
    max-width: 1400px;
    margin:0 auto;
    border-bottom: 1px solid #2b2c2c;
    padding-bottom: 4rem;
    padding-left: 25px;
    padding-right: 13px;
}
.advantages h2{
    padding-top: 5rem ;
    padding-bottom: 2.7rem;
    padding-left:0;
}
.advantages-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 12px;
    margin-bottom: 12px;
    min-height: 380px;
}

.advantages-row.reverse {
    grid-template-columns: 1.4fr 1fr;
}

.adv-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 30px;
    border-radius: 32px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, .12), transparent 60%),
        #1a1b1f;
    color: #fff;
}

.adv-card h3 {
    font-size: clamp(20px, 2.8vw, 32px);
    margin-bottom: 12px;
}

.adv-card p {
    color: rgb(159 165 172);
    max-width: 317px;
    line-height: 1.5;
}

.cub .grid-img {
    max-width: 59% !important;
    left: 46% !important;
}

.adv-card .grid-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    max-width: 100%;
    pointer-events: none;
}

.map {
    background-image: url(./images/card3.webp);
    background-size: cover;
    background-position: center;
}

.countries {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 63px;
    position: relative;
    z-index: 2;
}

.countries .country-span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 600;
}

/* ── FAQ ── */
.faq-section {
    padding: 5rem 0 5.8rem 0;
    border-bottom: 1px solid #2b2c2c;
}

.faq-container {
    max-width: 1347px;
    margin: auto;
    display: flex;
    justify-content: space-between;}

.faq-title {
    width: 45%;
}

.faq-list {
    width: 49%;
    padding-top: 5px;
}

.faq-title h2 {
    
    color: #fff;
    font-size: clamp(24px, 3.5vw, 42px);
    line-height: 1.05;
    font-weight: 700;
    padding-top: 0;
}

.faq-item {
    border-bottom: 1px solid #2a2b2e;
    padding: 20px 0 20px 0;
}

.faq-item.active {
    border-bottom: 1px solid rgba(187, 235, 0, .5);
}

.faq-question {
    
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    text-align: left;
    color: #fff;
}

.faq-number {
    font-family: "Unbounded", sans-serif !important;
    color: rgba(255, 255, 255, .45);
    letter-spacing: -0.68px;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 700;
}

.faq-item.active .faq-number {
    color: #bbeb00;
}

.faq-question span:nth-child(2) {
    flex: 1;
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 600;
    line-height: 1.1;
}

.faq-icon {
    font-size: clamp(16px, 2.2vw, 24px);
    transition: .3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.question {
    font-family: "Unbounded", sans-serif !important;
    font-size: clamp(22px, 3vw, 24px) !important;
    font-weight: 400 !important;
   
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    color: rgb(159 165 172);
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.5;
    padding: 28px 0 0 0;
}

/* ── Contact Form ── */
.partner-section {
    max-width: 1440px;
    padding-left: 17px;
    padding-right: 17px;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
   
}

.partner-container {
    display: flex;
    align-items: center;
}

.partner-form-wrapper {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 40px;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1), border-color .45s cubic-bezier(.22, 1, .36, 1);
}

.partner-form-wrapper:hover {
    border-color: #cfff1a;
    box-shadow:
        0 0 0 1px rgba(207, 255, 26, .15),
        0 15px 35px rgba(187, 235, 0, .18),
        0 35px 70px rgba(187, 235, 0, .22),
        0 70px 120px rgba(187, 235, 0, .12);
    transform: translateY(-5px);
}

.partner-form-wrapper .form-subtitle {
    padding-bottom: 20px;
}

.partner-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.select-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.select-group select {
    width: 100%;
    height: 56px;
    background: #f3f4f6;
    color: #757575;
    border: none;
    border-radius: 12px;
    padding: 0 18px;
    font-size: clamp(13px, 1.4vw, 16px);
    cursor: pointer;
}

.form-row input,
.select-group select,
textarea {
    transition: .3s;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
    width: 100%;
    border: 1px solid transparent;
    outline: none;
    background: #f3f4f6;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: clamp(13px, 1.4vw, 16px);
    transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease, transform .35s ease;
}

.partner-form input:hover,
.partner-form select:hover,
.partner-form textarea:hover {
    background: #fff;
    border-color: rgba(187, 235, 0, .45);
    box-shadow: 0 0 0 1px rgba(187, 235, 0, .08), 0 8px 18px rgba(187, 235, 0, .10), 0 18px 35px rgba(187, 235, 0, .08);
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
    background: #fff;
    border-color: #bbeb00;
    box-shadow: 0 0 0 4px rgba(187, 235, 0, .12), 0 10px 30px rgba(187, 235, 0, .18);
}

.partner-form textarea {
    resize: none;
    min-height: 120px;
}

.partner-form button:not(.toggle-password) {
    width: 100%;
    max-width: 320px;
    border: none;
    cursor: pointer;
    background: rgb(187 235 0);
    color: #111;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 700;
    transition: .3s ease;
}

.partner-form button:not(.toggle-password):hover {
    background: #c8ef3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(187, 235, 0, .25), 0 16px 40px rgba(0, 0, 0, .3);
}

/* ── Password Toggle ── */
input::-ms-reveal,
input::-ms-clear,
input::-webkit-credentials-auto-fill-button {
    display: none !important;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    padding: 10px;
}

.toggle-password:hover {
    color: #333;
}

/* ── Footer ── */
.footer-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    background: rgb(26 27 30);
    border-radius: 32px 32px 0 0;
    padding:25px 85px 28px;
    overflow: hidden;
}

.footer-bg-title {
    text-align: center;
   
}
.footer-title{
    font-family: "Unbounded", sans-serif;
    font-size: clamp(40px, 6.5vw, 108px);
    letter-spacing: -1.8px;
    text-transform: uppercase;
    color: #88888a;
    padding-top: 0;
    padding-bottom: 56px;
    font-weight: 600;
}

.footer-logo {
    margin-top: 5px;
}
.footer-content-mobile{
    display: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.1rem;
   
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand img {
    width: 120px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    padding: 11.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #25272d;
    color: #fff;
    text-decoration: none;
}

.footer-socials a img {
    object-fit: cover;
    width: 24px;
    height: auto;
}

.footer-actions {
    display: flex;
    gap: 12px;
}

.partner-btn {
    background: #fff;
    color: #111;
    text-decoration: none;
    padding: 9px;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s ease;
}

.partner-btn:hover {
    background: #c8ef3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(187, 235, 0, .25), 0 16px 40px rgba(0, 0, 0, .3);
}

.footer hr {
    border: none;
    border-top: 1px solid #2a2d33;
}

.footer-first-hr {
    margin: 1.9rem 0;
}

.footer-second-hr {
    margin: 3.6rem 0 1.1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

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

.footer-links a {
    color: #b3b7c0;
    text-decoration: none;
    font-family: "TT Firs", sans-serif;
    font-size: 0.95rem !important;
    font-weight: 600;
    letter-spacing: -0.9px;

}

.footer-links a:hover {
    color: #fff;
}

.agreement {
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    color: #8b8f98;
    font-size: 0.95rem !important; 
    font-family: "TT Firs", sans-serif;

}
.footer svg{
    width: 18px;
    height: 18px;
}
/* ── Agreement Page ── */
.agreement-section {
    color: rgb(121 129 139);
    line-height: 1.8;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.agreement-title {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 3rem;
    font-size: clamp(18px, 3vw, 32px);
    color: #fff;
}

.back-btn {
    text-decoration: none;
    color: #fff;
    background-color: #1f2021;
    padding: 0 14px 7px 14px;
    border-radius: 8px;
}

.decimal {
    list-style-type: decimal;
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 30px;
    font-size: clamp(14px, 2vw, 22px);
    
}

.decimal a {
    text-decoration: none;
    color: rgb(121 129 139);
    font-family: "TT Firs", sans-serif;
}

.accordion-item {
    background: #1b1c1f;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.8s ease;
}

.accordion-header {
    width: 100%;
    border: none;
    background: none;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 18px;
    cursor: pointer;
    font-size: clamp(14px, 1.6vw, 20px);
    font-weight: 600;
    font-family: "Unbounded", sans-serif;
}

.accordion-icon {
    transition: .3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    color: #b7bcc6;
}

.accordion-content p:not(.not-border) {
    padding: 22px;
    line-height: 1.7;
    border-bottom: 0.5px solid #25272d;
}
.not-border{
    padding: 0 22px;
}
.accordion-content p:not(.not-border):last-of-type {
    border-bottom: none;
}


.last-text {
    border-bottom: none !important;
}

.accordion-content hr {
    margin: 1rem;
}

.accordion-content ul {
    margin: 0 22px 22px 22px;
    padding: 10px 40px 20px 40px;
    border-bottom: 0.5px solid #25272d;
        font-family: "TT Firs", sans-serif;

}

.accordion-content a {
    text-decoration: none;
    color: #c8ef3f;
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ── Glow Card ── */
.glow-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: all 0.3s ease;
}

.glow-card::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -120%;
    width: 60%;
    height: 180%;
    background: linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, .18) 48%,
            rgba(49, 59, 10, 0.45) 50%,
            rgba(255, 255, 255, .18) 52%,
            rgba(255, 255, 255, 0) 70%,
            transparent 100%);
    filter: blur(76px);
    transform: rotate(1deg);
    opacity: 0;
    pointer-events: none;
}

.glow-card:hover::before {
    opacity: 1;
    animation: lightSweep 5s ease-in-out;
}

.glow-card:hover {
    border-color: rgba(187, 235, 0, .35);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, .05),
        0 0 0 1px rgba(187, 235, 0, .12),
        0 18px 40px rgba(187, 235, 0, .10),
        0 40px 90px rgba(0, 0, 0, .55);
    transform: translateY(-6px);
}

@keyframes lightSweep {
    0% {
        left: -120%;
    }

    50% {
        left: 160%;
    }

    100% {
        left: -120%;
    }
}

/* ── Responsive ── */

@media (min-width: 1024px) {
    .button.register-btn {
        padding: 0px 20px;
    }
    .partners .partners-title{
    width: 100% ;
}
}

@media (min-width: 1440px) {
    .header-container {
        height: 96px;
    }
  
    
}


@media (min-width: 1800px) {
    .container {
        max-width: 1440px;
    }

    .footer-container {
        max-width: 1920px;
    }
    .partners .partners-title{
    width: 60%;
    }
}

@media (min-width: 2560px) {
    body {
        font-size: 18px;
    }
}

@media (max-width: 1280px) {
    .cpa-img {
        padding: 74px 10px;
        min-height: 240px;
    }
     .faq-section{
        padding: 5rem 1rem 5.8rem 1rem;
    }
}

@media (max-width: 1240px) {

    .grid-items {
        padding: 30px 35px 25px;
    }

    .navbar .menu {
        gap: 28px;
    }

    .header-container {
        padding: 0 18px;
    }
   
}

@media (max-width: 1096px) {
    .navbar {
        display: none;
    }

    .language-btn {
        display: none;
    }

    .mobile-lang-btn {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-header-logo {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .hero-section {
        min-height: 1000px;
        margin: 0 auto;
    }
   
    .partners {
        padding: 15px;
        transform: translateY(-179px);
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }

    .header-container {
        padding: 0 40px;
    }

    .offer-card {
        width: 40%;
    }

    .faq-container {
        flex-direction: column;
        gap: 0;
        padding-left: 0;
    }

    .faq-list {
        width: 100%;
    }

    .faq-title {
        width: 100%;
    }

    .faq-title h2 {
        font-size: clamp(24px, 3.5vw, 40px);
    }

    .faq-number {
        display: none;
    }

    .faq-question span:nth-child(2) {
        font-size: clamp(14px, 2vw, 22px);
    }

    .partner-section {
        justify-content: center;
    }

    .footer-container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .partner-container {
        flex-direction: column;
    }

    .partner-form-wrapper {
        width: 100%;
        padding: 25px;
    }

    .partner-form-wrapper h2 {
        font-size: clamp(22px, 3vw, 48px);
    }

    .form-row {
        flex-direction: column;
    }

    .partner-form button {
        max-width: none;
    }

    .cpa-img {
        padding: 34px 10px;
        min-height: 160px;
    }
    .partners-grid .grid-items .grid-subtitle{
        width: 100%;
    }
}

@media (max-width: 900px) {

 

    .adv-card {
        min-height: 287px;
        padding: 24px;
    }

    .adv-card h3 {
        font-size: clamp(17px, 2.4vw, 26px);
    }

    .adv-card img {
        max-width: 75%;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
   .advantages-row,
    .advantages-row.reverse {
        grid-template-columns: 1fr;
    }
    .hero-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        padding: 52px 25px;
    }

    .hero-section {
        min-height: 688px;
    }

    .hero-badge {
        font-size: clamp(18px, 2.8vw, 30px);
    }

    .hero-card h1 {
        font-size: clamp(16px, 2.4vw, 26px);
    }

    .offer-card {
        width: 100%;
    }

    .offer-top {
        padding: 11px;
    }

    .partners {
        transform: translateY(-161px);
        padding: 20px 15px 0 15px;
        border-radius: 32px;
    }
    .partners-container,
    .conditions-container,
    .conditions-title,
    .advantages,
    .partner-section{
        padding-left: 0;
        padding-right: 0;
    }
    .advantages h2,
    .conditions-title{
        padding-left: 0;
        padding-right: 0;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
    .conditions-container{
        padding-top: 0;
    }
    .partners .partners-title {
        font-size: clamp(22px, 5vw, 32px);
        padding-top: 0 !important;
        padding-bottom: 1rem;
        width: 100%;
    }

    .conditions-container {
        grid-template-columns: 1fr;
        padding-bottom: 3rem;
    }

    .conditions-item {
        padding: 15px;
    }

    .cpa-img {
        justify-content: space-between;
        padding: 12px 8px;
        gap: 6px;
        min-height: 135px;
    }

    .cpa-img div:not(.line) {
        border-radius: 12px;
        padding: 32px 12px;
    }

    .flow {
        flex: 1;
        min-width: 0;
        gap: 0;
        flex-direction: column;
    }

    .days {
        padding: 18px 0 !important;
        flex-shrink: 0;
    }

    .line {
        width: 20px;
        flex-shrink: 0;
    }

    .cpa-img svg {
        width: 18px;
        height: 18px;
    }

    .grid-title {
        font-size: clamp(11px, 1.2vw, 14px);
    }

    .number {
        font-size: clamp(13px, 1.6vw, 18px) !important;
    }

    .footer-container {
        padding: 25px;
    }

    .footer-title {
        padding-bottom: 10px;
    }

    .footer-top {
        margin-top: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        display: none;
    }
    .footer-content-mobile{
        display:flex;
        flex-direction: column;
        gap: 40px;
        
    }
    .footer-content-mobile .top-block{
        display: flex;
        gap: 70px;
        padding-bottom: 25px;
        border-bottom:1px solid #2a2d33 ;
    }
    .footer-actions {
        width: 100%;
        justify-content: center;
    }

    .partner-container {
        gap: 0;
    }

    .accordion-content p:not(.not-border) {
        padding: 22px;
    }

    .accordion-content .not-border {
        padding: 22px 22px 0 22px;
    }
}

@media (max-width: 480px) {
    .partners {
        transform: translateY(-188px);
        padding: 15px 12px 0 12px;
        border-radius: 24px;
    }

    .header-container {
        padding: 0 5px;
    }

    .hero-card {
        width: 95%;
    }

    .header-btns {
        gap: 5px;
    }
     .footer-content-mobile .top-block{
       gap: 40px;
     }
}