.fo-oldal.kapcsolat-nezet .kezdolap-tartalom {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-42px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.55s ease, visibility 0s linear 0.45s;
}

.kapcsolat-tartalom {
    position: absolute;
    inset: 0 0 0 var(--oldalsav-szelesseg);
    z-index: 4;
    min-width: 0;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
    color: #f6f5f3;
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at 5% 100%, rgba(135, 0, 57, 0.55), transparent 31%),
        radial-gradient(circle at 92% 8%, rgba(255, 47, 104, 0.09), transparent 27%),
        linear-gradient(120deg, #090719 0%, #050516 53%, #030312 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateX(72px) scale(1.02);
    pointer-events: none;
    overflow-y: hidden;
    transition: opacity 0.75s cubic-bezier(.2, .75, .2, 1), transform 0.85s cubic-bezier(.2, .75, .2, 1), visibility 0s linear 0.75s;
}

.kapcsolat-tartalom::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 75px 75px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

.fo-oldal.kapcsolat-nezet {
    background:
        radial-gradient(circle at 5% 100%, rgba(135, 0, 57, 0.55), transparent 31%),
        radial-gradient(circle at 92% 8%, rgba(255, 47, 104, 0.09), transparent 27%),
        linear-gradient(120deg, #090719 0%, #050516 53%, #030312 100%);
}

.fo-oldal.kapcsolat-nezet .kapcsolat-tartalom {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    overflow-y: auto;
    transition: opacity 0.85s cubic-bezier(.2, .75, .2, 1), transform 0.95s cubic-bezier(.2, .75, .2, 1), visibility 0s;
}

.kapcsolat-bal {
    min-width: 0;
    padding: 90px clamp(45px, 6vw, 110px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.kapcsolat-cim {
    font-family: "Anton", sans-serif;
    font-size: clamp(90px, 12vw, 205px);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(85px);
}

.kapcsolat-bevezeto {
    max-width: 700px;
    margin-top: 65px;
    color: #cfccd5;
    font-size: clamp(18px, 1.55vw, 26px);
    line-height: 1.65;
    letter-spacing: 0;
    opacity: 0;
    transform: translateY(35px);
}

.kapcsolati-urlap {
    max-width: 900px;
    margin-top: 85px;
    opacity: 0;
    transform: translateY(45px);
}

.urlap-racs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 34px;
}

.urlap-mezo {
    position: relative;
}

.urlap-mezo.teljes {
    grid-column: 1 / -1;
}

.urlap-mezo label {
    display: block;
    margin-bottom: 12px;
    color: #f1f0f3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.urlap-mezo input,
.urlap-mezo textarea {
    width: 100%;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 0;
    outline: none;
    font-size: 17px;
    transition: border-color 0.25s ease, padding-left 0.25s ease;
}

.urlap-mezo input {
    height: 54px;
}

.urlap-mezo textarea {
    min-height: 145px;
    padding-top: 16px;
    resize: vertical;
}

.urlap-mezo input::placeholder,
.urlap-mezo textarea::placeholder {
    color: #797583;
}

.urlap-mezo input:focus,
.urlap-mezo textarea:focus {
    padding-left: 8px;
    border-color: #ff2f68;
}

.spam-mezo {
    position: absolute !important;
    left: -99999px !important;
    visibility: hidden !important;
}

.urlap-alja {
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.adatvedelem {
    max-width: 500px;
    color: #777381;
    font-size: 12px;
    line-height: 1.6;
}

.kuldes-gomb {
    min-width: 180px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #090817;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.kuldes-gomb:hover {
    color: #ffffff;
    background: #ff2f68;
    transform: scale(0.94);
}

.kuldes-gomb:disabled {
    cursor: wait;
    opacity: 0.65;
}

.urlap-valasz {
    margin-top: 24px;
    padding: 16px 18px;
    display: none;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.urlap-valasz.lathato {
    display: block;
    animation: kapcsolatValaszBejon 0.35s ease both;
}

.urlap-valasz.siker {
    color: #dfffea;
    background: rgba(21, 145, 78, 0.18);
    border: 1px solid rgba(91, 255, 158, 0.25);
}

.urlap-valasz.hiba {
    color: #ffe1ea;
    background: rgba(255, 47, 104, 0.15);
    border: 1px solid rgba(255, 47, 104, 0.28);
}

.kapcsolat-jobb {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 45px clamp(34px, 4vw, 68px) 65px;
}

.jobb-felso {
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(-20px);
}

.vissza-gomb {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    color: #090817;
    background: #f4f3f1;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.vissza-gomb:hover {
    transform: scale(0.94);
}

.jobb-informaciok {
    margin-top: 135px;
    opacity: 0;
    transform: translateY(35px);
}

.info-blokk + .info-blokk {
    margin-top: 68px;
}

.info-blokk h2 {
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.info-blokk p,
.info-blokk a,
.online-jelzes {
    color: #b5b1bd;
    font-size: 16px;
    line-height: 1.8;
}

.info-blokk a {
    text-decoration: underline;
    transition: color 0.2s ease;
}

.info-blokk a:hover {
    color: #ffffff;
}

.online-jelzes {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.online-pont {
    position: relative;
    width: 10px;
    height: 10px;
    background: #ff2f68;
    border-radius: 50%;
}

.online-pont::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(255, 47, 104, 0.55);
    border-radius: 50%;
    animation: kapcsolatOnlinePulzus 1.5s ease infinite;
}

.jobb-also {
    margin-top: auto;
    padding-top: 80px;
}

.jobb-also p {
    color: #777381;
    font-size: 14px;
    line-height: 1.7;
}

.chat-indito {
    position: fixed;
    right: 27px;
    bottom: 27px;
    z-index: 1000;
    width: 64px;
    height: 64px;
    display: none;
    align-items: center;
    justify-content: center;
    background: #ff2f68;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(255, 47, 104, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: kapcsolatChatPulzus 2.6s ease infinite;
}

.fo-oldal.kapcsolat-nezet ~ .chat-indito {
    display: flex;
}

.chat-indito:hover {
    transform: scale(0.9);
}

.chat-ikon,
.chat-ikon::after {
    display: block;
    background: #ffffff;
}

.chat-ikon {
    width: 27px;
    height: 18px;
    border-radius: 8px;
    position: relative;
}

.chat-ikon::after {
    content: "";
    position: absolute;
    right: 4px;
    bottom: -5px;
    width: 9px;
    height: 9px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.chat-ablak {
    position: fixed;
    right: 27px;
    bottom: 105px;
    z-index: 1001;
    width: min(390px, calc(100vw - 54px));
    max-height: min(690px, calc(100vh - 132px));
    display: flex;
    flex-direction: column;
    color: #f6f5f3;
    background: rgba(9, 8, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(22px) scale(0.97);
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.chat-ablak.nyitva {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.chat-fejlec {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff2f68;
    border-radius: 50%;
    font-family: "Anton", sans-serif;
    font-size: 13px;
}

.chat-fejlec-szoveg {
    min-width: 0;
    flex: 1;
}

.chat-fejlec-szoveg strong {
    display: block;
    font-size: 14px;
}

.chat-fejlec-szoveg span {
    display: block;
    margin-top: 3px;
    color: #9d99a8;
    font-size: 12px;
}

.chat-bezaras {
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
}

.chat-bezaras:hover {
    background: rgba(255, 255, 255, 0.08);
}

.chat-uzenetek {
    min-height: 230px;
    max-height: 330px;
    padding: 18px;
    overflow-y: auto;
}

.chat-uzenet {
    max-width: 82%;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.55;
    animation: kapcsolatUzenetBejon 0.24s ease both;
}

.chat-uzenet.support {
    color: #dddbe3;
    background: rgba(255, 255, 255, 0.07);
}

.chat-uzenet.felhasznalo {
    margin-left: auto;
    color: #ffffff;
    background: #ff2f68;
}

.chat-idopont {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
}

.chat-gepel {
    display: none;
    gap: 5px;
    padding: 0 0 8px 4px;
}

.chat-gepel.lathato {
    display: flex;
}

.chat-gepel span {
    width: 7px;
    height: 7px;
    background: #ff2f68;
    border-radius: 50%;
    animation: kapcsolatGepeles 0.9s ease infinite;
}

.chat-gepel span:nth-child(2) {
    animation-delay: 0.12s;
}

.chat-gepel span:nth-child(3) {
    animation-delay: 0.24s;
}

.chat-adatok {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 18px 12px;
}

.chat-adatok input,
.chat-urlap textarea {
    width: 100%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.chat-adatok input {
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
}

.chat-urlap {
    display: flex;
    gap: 10px;
    padding: 0 18px 18px;
}

.chat-urlap textarea {
    min-height: 44px;
    max-height: 110px;
    padding: 12px;
    resize: none;
    font-size: 13px;
    line-height: 1.45;
}

.chat-kuldes {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: #ffffff;
    background: #ff2f68;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.chat-kuldes:disabled {
    opacity: 0.6;
    cursor: wait;
}

.fo-oldal.kapcsolat-nezet .kapcsolat-cim {
    animation: kapcsolatCimBejon 1s cubic-bezier(.2, .75, .2, 1) 0.08s forwards;
}

.fo-oldal.kapcsolat-nezet .kapcsolat-bevezeto,
.fo-oldal.kapcsolat-nezet .jobb-informaciok {
    animation: kapcsolatTartalomBejon 0.8s ease 0.3s forwards;
}

.fo-oldal.kapcsolat-nezet .kapcsolati-urlap {
    animation: kapcsolatTartalomBejon 0.85s ease 0.45s forwards;
}

.fo-oldal.kapcsolat-nezet .jobb-felso {
    animation: kapcsolatTartalomBejon 0.75s ease 0.42s forwards;
}

@keyframes kapcsolatCimBejon {
    from { opacity: 0; transform: translateY(85px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes kapcsolatTartalomBejon {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes kapcsolatValaszBejon {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes kapcsolatOnlinePulzus {
    from { opacity: 0.8; transform: scale(0.6); }
    to { opacity: 0; transform: scale(1.7); }
}

@keyframes kapcsolatChatPulzus {
    0%, 100% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(255, 47, 104, 0.08); }
    50% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 0 13px rgba(255, 47, 104, 0.03); }
}

@keyframes kapcsolatUzenetBejon {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes kapcsolatGepeles {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

@media (max-width: 1050px) {
    .kapcsolat-tartalom {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    }

    .kapcsolat-bal {
        padding-left: 55px;
        padding-right: 55px;
    }
}

@media (max-width: 850px) {
    .kapcsolat-tartalom {
        display: block;
    }

    .kapcsolat-bal {
        padding: 105px 38px 75px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .kapcsolat-jobb {
        min-height: auto;
        padding: 45px 38px 80px;
    }

    .jobb-informaciok {
        margin-top: 85px;
    }
}

@media (max-width: 650px) {
    .kapcsolat-tartalom {
        inset: 0;
        padding-top: 70px;
    }

    .kapcsolat-bal {
        padding: 55px 21px 70px;
    }

    .kapcsolat-cim {
        font-size: clamp(76px, 25vw, 128px);
    }

    .kapcsolati-urlap {
        margin-top: 65px;
    }

    .urlap-racs,
    .chat-adatok {
        grid-template-columns: 1fr;
    }

    .urlap-alja {
        flex-direction: column;
        align-items: flex-start;
    }

    .kapcsolat-jobb {
        padding: 38px 21px 90px;
    }

    .chat-indito {
        right: 17px;
        bottom: 17px;
        width: 58px;
        height: 58px;
    }

    .chat-ablak {
        right: 15px;
        bottom: 88px;
        width: calc(100vw - 30px);
    }
}
