:root {
    --support-bg: #061017;
    --support-bg-deep: #02080c;
    --support-panel: rgba(10, 22, 29, 0.74);
    --support-panel-light: rgba(255, 255, 255, 0.045);

    --support-text: #edfaff;
    --support-muted: rgba(218, 239, 247, 0.66);
    --support-soft: rgba(218, 239, 247, 0.42);

    --support-accent: #a8e8ff;
    --support-accent-strong: #65d1f5;
    --support-line: rgba(187, 230, 244, 0.14);
    --support-line-light: rgba(187, 230, 244, 0.22);
}

/* ================================
   SERVICII
================================ */

.services-section {
    position: absolute;
    inset: 0;
    z-index: 12;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow-x: clip;
    overflow-y: hidden;
    padding: 68px 6vw 60px;
    color: var(--support-text);
    background:
        linear-gradient(
            115deg,
            var(--support-bg-deep) 0%,
            var(--support-bg) 52%,
            #07141b 100%
        );
    isolation: isolate;
}

.support-scene > .services-section {
    position: absolute;
    inset: 0;
}

.support-scene::before,
.support-scene::after,
.services-scene::before,
.services-scene::after {
    display: none;
}

.services-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.services-light {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.55;
}

.services-light-one {
    top: -260px;
    left: -220px;
    width: 620px;
    height: 620px;
    background:
        radial-gradient(
            circle,
            rgba(86, 203, 238, 0.14),
            transparent 67%
        );
}

.services-light-two {
    right: -240px;
    bottom: -300px;
    width: 720px;
    height: 720px;
    background:
        radial-gradient(
            circle,
            rgba(168, 232, 255, 0.1),
            transparent 68%
        );
}

.services-grid {
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 72px 72px;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 18%,
            #000 75%,
            transparent
        );
}

.services-container {
    width: min(1380px, 100%);
    min-height: calc(100vh - 128px);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(300px, 0.75fr)
        minmax(480px, 1.25fr);
    gap: clamp(45px, 6vw, 90px);
    align-items: center;
}

.services-container > * {
    min-width: 0;
}

/* ================================
   BAL OLDAL
================================ */

.services-intro {
    position: sticky;
    top: 50px;
}

.services-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    color: var(--support-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.services-kicker-line {
    width: 34px;
    height: 1px;
    background: var(--support-accent);
    box-shadow:
        0 0 16px rgba(168, 232, 255, 0.42);
}

.services-title {
    max-width: 580px;
    margin: 0;
    font-size: clamp(40px, 4.3vw, 68px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.services-title span {
    display: block;
    color: transparent;
    -webkit-text-stroke:
        1px rgba(221, 246, 255, 0.54);
}

.services-description {
    max-width: 530px;
    margin: 23px 0 0;
    color: var(--support-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ================================
   GYORS ÁTTEKINTÉS
================================ */

.services-overview {
    margin-top: 30px;
    border-top:
        1px solid var(--support-line);
}

.services-overview-item {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 2px;
    overflow: hidden;
    color: rgba(234, 248, 253, 0.68);
    border-bottom:
        1px solid var(--support-line);
    text-decoration: none;
    font-size: 11px;
    line-height: 1.35;
    transition:
        color 0.3s ease,
        padding-left 0.3s ease,
        border-color 0.3s ease;
}

.services-overview-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(168, 232, 255, 0.08),
            transparent
        );
    transform: translateX(-102%);
    transition:
        transform 0.4s ease;
}

.services-overview-item:hover {
    padding-left: 10px;
    color: var(--support-text);
    border-color: var(--support-line-light);
}

.services-overview-item:hover::before {
    transform: translateX(0);
}

.services-overview-number {
    color: var(--support-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ================================
   KAPCSOLAT
================================ */

.services-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
}

.services-contact-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--support-text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.services-contact-link:hover {
    color: var(--support-accent);
    transform: translateY(-2px);
}

.services-contact-link small {
    display: block;
    margin-bottom: 2px;
    color: var(--support-soft);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-contact-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border:
        1px solid var(--support-line-light);
    border-radius: 50%;
    background:
        rgba(255, 255, 255, 0.025);
}

.services-contact-icon svg {
    width: 13px;
    height: 13px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ================================
   JOBB OLDALI SZOLGÁLTATÁSOK
================================ */

.services-content {
    min-width: 0;
    width: 100%;
    border-top:
        1px solid var(--support-line-light);
    overflow-anchor: none;
}

.service-block {
    position: relative;
    scroll-margin-top: 70px;
    border-bottom:
        1px solid var(--support-line-light);
    overflow-anchor: none;
    transition:
        background 0.35s ease,
        border-color 0.35s ease;
}

.service-block::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 2px;
    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--support-accent),
            transparent
        );
    opacity: 0;
    transform: scaleY(0.3);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.service-block.is-open {
    background:
        linear-gradient(
            90deg,
            rgba(168, 232, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );
    border-color:
        rgba(168, 232, 255, 0.26);
}

.service-block.is-open::before {
    opacity: 1;
    transform: scaleY(1);
}

/* ================================
   SZOLGÁLTATÁS FEJLÉC
================================ */

.service-heading {
    width: 100%;
    padding: 18px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: inherit;
    border: 0;
    outline: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.service-heading-left {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 2vw, 24px);
}

.service-index {
    flex: 0 0 auto;
    padding-top: 3px;
    color: var(--support-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-heading-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-heading-text small {
    color: var(--support-soft);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-heading-text strong {
    color: var(--support-text);
    font-size: clamp(16px, 1.45vw, 22px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.02em;
    transition:
        color 0.3s ease;
}

.service-heading:hover
.service-heading-text strong {
    color: var(--support-accent);
}

/* ================================
   PLUSZ / MÍNUSZ
================================ */

.service-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border:
        1px solid var(--support-line-light);
    border-radius: 50%;
    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.service-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: var(--support-accent);
    transform:
        translate(-50%, -50%);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.service-toggle span:last-child {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.service-block.is-open
.service-toggle {
    border-color:
        rgba(168, 232, 255, 0.42);
    background:
        rgba(168, 232, 255, 0.08);
    transform: rotate(180deg);
}

.service-block.is-open
.service-toggle span:last-child {
    opacity: 0;
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

/* ================================
   LENYÍLÓ TARTALOM
================================ */

.service-body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows
        0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}

.service-block.is-open
.service-body {
    grid-template-rows: 1fr;
    opacity: 1;
}

.service-body-inner {
    min-height: 0;
    overflow: hidden;
    padding:
        0
        clamp(8px, 2.5vw, 38px)
        0
        clamp(38px, 4vw, 62px);
}

.service-block.is-open
.service-body-inner {
    padding-bottom: 22px;
}

.service-body-inner p {
    max-width: 720px;
    margin: 0;
    color: var(--support-muted);
    font-size: 12px;
    line-height: 1.55;
}

.service-list-title {
    margin-top: 15px;
    color: var(--support-text);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.service-list {
    display: grid;
    gap: 0;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
}

.service-list li {
    position: relative;
    padding: 7px 8px 7px 20px;
    color:
        rgba(229, 244, 249, 0.76);
    border-top:
        1px solid rgba(187, 230, 244, 0.09);
    font-size: 11px;
    line-height: 1.4;
}

.service-list li:last-child {
    border-bottom:
        1px solid rgba(187, 230, 244, 0.09);
}

.service-list li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 2px;
    width: 6px;
    height: 1px;
    background: var(--support-accent);
    box-shadow:
        0 0 8px rgba(168, 232, 255, 0.4);
}

.service-list-detailed li {
    display: grid;
    grid-template-columns:
        minmax(140px, 0.45fr)
        1fr;
    gap: 15px;
}

.service-list-detailed strong {
    color: var(--support-text);
    font-weight: 500;
}

.service-list-detailed span {
    color: var(--support-muted);
}

.service-separator {
    width: 100%;
    height: 1px;
    margin: 17px 0;
    background:
        linear-gradient(
            90deg,
            var(--support-line-light),
            transparent
        );
}

/* ================================
   GÖRGETÉSI ANIMÁCIÓ
================================ */

.reveal-element {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity
        0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform
        0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.support-scene.active .services-section .reveal-element {
    opacity: 1;
    transform: translateY(0);
}

.services-content
.reveal-element:nth-child(2) {
    transition-delay: 0.06s;
}

.services-content
.reveal-element:nth-child(3) {
    transition-delay: 0.12s;
}

.services-content
.reveal-element:nth-child(4) {
    transition-delay: 0.18s;
}

/* ================================
   ALACSONYABB KÉPERNYŐ
================================ */

@media (max-height: 850px) and (min-width: 1101px) {
    .services-section {
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .services-container {
        min-height: calc(100vh - 85px);
    }

    .services-title {
        font-size:
            clamp(38px, 4vw, 60px);
    }

    .services-description {
        margin-top: 18px;
        font-size: 13px;
        line-height: 1.55;
    }

    .services-overview {
        margin-top: 23px;
    }

    .services-overview-item {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .services-contact {
        margin-top: 20px;
    }

    .service-heading {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .service-heading-text strong {
        font-size:
            clamp(15px, 1.3vw, 20px);
    }

    .service-body-inner p {
        font-size: 11px;
        line-height: 1.45;
    }

    .service-list-title {
        margin-top: 12px;
    }

    .service-list {
        margin-top: 7px;
    }

    .service-list li {
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 10px;
    }

    .service-list li::before {
        top: 11px;
    }

    .service-block.is-open
    .service-body-inner {
        padding-bottom: 16px;
    }
}

@media (max-width: 1280px) and (min-width: 1101px) {
    .services-section {
        padding: 108px clamp(28px, 4vw, 54px) 82px;
    }

    .services-container {
        grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
        gap: clamp(32px, 4vw, 54px);
    }

    .services-title {
        font-size: clamp(38px, 4vw, 58px);
    }

    .services-description {
        font-size: 13px;
    }

    .service-heading-text strong {
        font-size: clamp(15px, 1.25vw, 20px);
    }
}

@media (max-height: 760px) and (min-width: 1101px) {
    .services-section {
        padding-top: 88px;
        padding-bottom: 64px;
    }

    .services-container {
        align-items: start;
    }

    .services-intro {
        top: 0;
    }
}

/* ================================
   TABLET
================================ */

@media (max-width: 1100px) {
    .services-section {
        padding: 80px 6vw;
    }

    .services-container {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 58px;
        align-items: start;
    }

    .services-intro {
        position: relative;
        top: auto;
    }

    .services-description {
        max-width: 720px;
    }

    .services-overview {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 0 30px;
    }

    .service-heading {
        padding: 20px 2px;
    }
}

/* ================================
   MOBIL
================================ */

@media (max-width: 700px) {
    .services-section {
        padding: 56px 16px 68px;
    }

    .service-block {
        scroll-margin-top: 72px;
    }

    .services-container {
        gap: 34px;
    }

    .services-title {
        font-size:
            clamp(34px, 10vw, 48px);
        line-height: 1.03;
        letter-spacing: -0.035em;
    }

    .services-description {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.7;
    }

    .services-overview {
        grid-template-columns: 1fr;
        margin-top: 26px;
        border-top: 0;
        gap: 10px;
    }

    .services-overview-item {
        min-height: 54px;
        padding: 12px 14px;
        border: 1px solid var(--support-line);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.03);
        font-size: 12px;
    }

    .services-contact {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-contact-link {
        min-height: 54px;
        padding: 10px 12px;
        border: 1px solid var(--support-line);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.025);
    }

    .service-heading {
        padding: 17px 0;
        gap: 12px;
    }

    .service-heading-left {
        gap: 12px;
    }

    .service-index {
        font-size: 8px;
    }

    .service-heading-text strong {
        font-size: 17px;
        line-height: 1.24;
    }

    .service-heading-text small {
        font-size: 7px;
        line-height: 1.35;
        letter-spacing: 0.1em;
    }

    .service-toggle {
        width: 28px;
        height: 28px;
    }

    .service-body-inner {
        padding-left: 24px;
        padding-right: 0;
    }

    .service-block.is-open
    .service-body-inner {
        padding-bottom: 22px;
    }

    .service-body-inner p {
        font-size: 12px;
        line-height: 1.65;
    }

    .service-list li {
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 11px;
        line-height: 1.45;
    }

    .service-list-detailed li {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

@media (max-width: 430px) {
    .services-section {
        padding-inline: 14px;
    }

    .services-kicker {
        font-size: 9px;
        letter-spacing: 0.14em;
    }

    .service-heading-left {
        gap: 10px;
    }

    .service-index {
        min-width: 20px;
    }

    .service-heading-text strong {
        font-size: 16px;
    }
}

/* ================================
   CSÖKKENTETT ANIMÁCIÓ
================================ */

@media (prefers-reduced-motion: reduce) {
    .reveal-element {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .service-body,
    .service-toggle,
    .service-toggle span,
    .services-overview-item {
        transition: none;
    }
}

@media (max-height: 820px) and (min-width: 1101px) {
    .services-section {
        overflow: hidden;
        padding:
            clamp(58px, 9vh, 78px)
            clamp(36px, 5vw, 76px)
            clamp(46px, 7vh, 60px);
    }

    .services-container {
        min-height: calc(100vh - clamp(104px, 16vh, 138px));
        gap: clamp(28px, 4vw, 58px);
        grid-template-columns: minmax(270px, 0.72fr) minmax(430px, 1.28fr);
    }

    .services-kicker {
        margin-bottom: 12px;
        font-size: 9px;
    }

    .services-title {
        font-size: clamp(34px, 7vh, 58px);
    }

    .services-description {
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.45;
    }

    .services-overview {
        margin-top: 17px;
    }

    .services-overview-item {
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 10px;
    }

    .services-contact {
        margin-top: 15px;
        gap: 8px 16px;
    }

    .services-contact-link {
        font-size: 10px;
    }

    .service-heading {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .service-heading-text strong {
        font-size: clamp(14px, 2.6vh, 19px);
    }

    .service-toggle {
        width: 26px;
        height: 26px;
    }

    .service-body-inner p {
        font-size: 10px;
        line-height: 1.38;
    }

    .service-list-title {
        margin-top: 9px;
        font-size: 8px;
    }

    .service-list {
        margin-top: 5px;
    }

    .service-list li {
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 9px;
        line-height: 1.3;
    }

    .service-list li::before {
        top: 10px;
    }

    .service-block.is-open .service-body-inner {
        padding-bottom: 12px;
    }
}

@media (max-height: 680px) and (min-width: 1101px) {
    .services-section {
        padding-top: 52px;
        padding-bottom: 42px;
    }

    .services-container {
        grid-template-columns: minmax(250px, 0.66fr) minmax(410px, 1.34fr);
        gap: 26px;
    }

    .services-title {
        font-size: clamp(30px, 7vh, 48px);
    }

    .services-description,
    .services-overview-item:nth-child(n+5),
    .services-contact {
        display: none;
    }

    .service-heading {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .service-heading-text small {
        font-size: 7px;
    }

    .service-heading-text strong {
        font-size: clamp(13px, 2.7vh, 17px);
    }
}
