/* === Alap Beallitasok === */
html {
    scroll-behavior: smooth;
    background: #000000;
    --accent-green: #68a605;
    --accent-green-soft: rgba(128, 200, 8, 0.24);
    --accent-green-glow: rgba(128, 200, 8, 0.42);
}

body {
    position: relative;
    margin: 0;
    background: #000000;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}

body.is-loading {
    overflow: hidden;
}

a {
    color: inherit;
}

h1,
h2,
h3,
.nav-menu a,
.nav-toggle {
    font-family: "Montserrat", sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === Betöltő Képernyő === */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(104, 166, 5, 0.08), transparent 34%),
        #000000;
    opacity: 1;
    visibility: visible;
    transition: opacity 520ms ease, visibility 520ms ease;
}

.page-loader[hidden] {
    display: none !important;
}

.page-loader.is-hiding {
    opacity: 0;
    visibility: hidden;
}

.page-loader-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(9rem, 14vw, 12rem);
    aspect-ratio: 1 / 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.35rem;
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: loader-pulse 1.55s ease-in-out infinite;
}

.page-loader-mark img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes loader-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 26px 60px rgba(0, 0, 0, 0.34),
            0 0 0 0 rgba(104, 166, 5, 0.08);
    }

    50% {
        transform: scale(1.055);
        box-shadow:
            0 30px 72px rgba(0, 0, 0, 0.42),
            0 0 0 12px rgba(104, 166, 5, 0.05);
    }
}

/* === Nyitó Animációk === */
@keyframes intro-fade-up {
    0% {
        opacity: 0;
        transform: translateY(2rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes intro-fade-down {
    0% {
        opacity: 0;
        transform: translateY(-1.5rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes intro-soft-scale {
    0% {
        opacity: 0;
        transform: translateY(2.25rem) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* === Navbar === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border: none;
}

.navbar {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2.5rem;
    flex-wrap: nowrap;
    padding: 0.4rem 2rem 1rem;
    background: transparent;
    border: none;
}

.logo {
    position: absolute;
    top: 0;
    left: 3.6rem;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.75rem 0.85rem 0.95rem;
    text-decoration: none;
    color: inherit;
    background: #ffffffd3;
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.logo img {
    display: block;
    height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-toggle {
    display: none;
    margin-top: 0.85rem;
    margin-left: auto;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.42);
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 4px;
}

.nav-toggle-icon {
    position: relative;
    display: inline-flex;
    width: 1.4rem;
    height: 1.1rem;
}

.nav-toggle-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transform-origin: center;
    transition: transform 280ms ease, opacity 220ms ease, top 280ms ease;
}

.nav-toggle-icon span:nth-child(1) {
    top: 0;
}

.nav-toggle-icon span:nth-child(2) {
    top: calc(50% - 1px);
}

.nav-toggle-icon span:nth-child(3) {
    top: calc(100% - 2px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
    top: calc(50% - 1px);
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.1rem, 1.8vw, 2.2rem);
    list-style: none;
    margin: 0 0 0 auto;
    padding: 1.35rem 0 0;
    max-width: 100%;
}

.nav-menu a {
    position: relative;
    display: inline-block;
    padding-bottom: 0.35rem;
    text-decoration: none;
    color: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    box-shadow: 0 0 12px var(--accent-green-glow);
    transform: scaleX(0.18);
    transform-origin: center;
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--accent-green);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

body:not(.page-ready) .site-header,
body:not(.page-ready) .logo,
body:not(.page-ready) .hero-section .section-content > * {
    opacity: 0;
}

body.page-ready .logo {
    animation: intro-fade-down 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.page-ready .site-header {
    animation: intro-fade-down 760ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

body.page-ready .nav-menu li:nth-child(1) {
    animation: intro-fade-down 620ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

body.page-ready .nav-menu li:nth-child(2) {
    animation: intro-fade-down 620ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

body.page-ready .nav-menu li:nth-child(3) {
    animation: intro-fade-down 620ms cubic-bezier(0.22, 1, 0.36, 1) 240ms both;
}

body.page-ready .nav-menu li:nth-child(4) {
    animation: intro-fade-down 620ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
}

body.page-ready .nav-menu li:nth-child(5) {
    animation: intro-fade-down 620ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both;
}

/* === Altalanos Szekciok === */
.page-section {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 8rem 1rem 2rem;
    border: none;
}

#szolgaltatasok,
#rolunk,
#referencia,
#kapcsolat,
.site-footer,
.legal-section,
.legal-hero {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
}

/* === Home / Hero === */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 8rem;
    background:
        linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.45)),
        url("pic/kémény\ \(46\)gép.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow:
        inset 0 140px 160px rgba(0, 0, 0, 0.72),
        inset 0 -90px 110px rgba(0, 0, 0, 0.6),
        inset 140px 0 150px rgba(0, 0, 0, 0.68),
        inset -140px 0 150px rgba(0, 0, 0, 0.68),
        inset 0 0 220px rgba(0, 0, 0, 0.46);
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16rem;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 34%,
        rgba(0, 0, 0, 0.86) 72%,
        #000000 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero-section .section-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 10rem);
    gap: 1rem;
}

body.page-ready .hero-section .section-content > p:first-of-type {
    animation: intro-fade-up 820ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

body.page-ready .hero-section h1 {
    animation: intro-soft-scale 980ms cubic-bezier(0.2, 1, 0.32, 1) 320ms both;
}

body.page-ready .hero-section .section-content > p:last-of-type {
    animation: intro-fade-up 860ms cubic-bezier(0.22, 1, 0.36, 1) 460ms both;
}

body.page-ready .hero-section .section-content > a {
    animation: intro-fade-up 860ms cubic-bezier(0.22, 1, 0.36, 1) 620ms both;
}

.hero-section h1,
.page-section h2,
.page-section h3 {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-section a,
#cookie-accept,
.service-card-toggle,
.contact-quick-link,
.contact-form button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 12rem;
    margin-top: 0.5rem;
    padding: 0.95rem 1.6rem;
    color: #ffffff;
    background: linear-gradient(135deg, #68a605 0%, #7bb615 100%);
    border-radius: 999px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.18),
        0 12px 28px rgba(104, 166, 5, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease;
}

.hero-section a::before,
#cookie-accept::before,
.service-card-toggle::before,
.contact-quick-link::before,
.contact-form button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.16) 45%,
        transparent 75%
    );
    transform: translateX(-130%);
    transition: transform 320ms ease;
}

.hero-section a:hover,
.hero-section a:focus-visible,
#cookie-accept:hover,
#cookie-accept:focus-visible,
.service-card-toggle:hover,
.service-card-toggle:focus-visible,
.contact-quick-link:hover,
.contact-quick-link:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(104, 166, 5, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    filter: brightness(1.05);
}

.hero-section a:hover::before,
.hero-section a:focus-visible::before,
#cookie-accept:hover::before,
#cookie-accept:focus-visible::before,
.service-card-toggle:hover::before,
.service-card-toggle:focus-visible::before,
.contact-quick-link:hover::before,
.contact-quick-link:focus-visible::before,
.contact-form button:hover::before,
.contact-form button:focus-visible::before {
    transform: translateX(130%);
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.82;
    filter: saturate(0.95);
    transform: none;
}

/* === Szolgaltatasok === */
#szolgaltatasok {
    position: relative;
    z-index: 1;
    margin-top: 0;
    min-height: 100svh;
    height: 100svh;
    padding-top: clamp(4.1rem, 4.8vh, 4.8rem);
    padding-bottom: 0.85rem;
    background: #000000;
}

#szolgaltatasok .section-content {
    width: 100%;
    max-width: 1280px;
}

.section-kicker {
    margin: 0 0 0.65rem;
    color: var(--accent-green);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

#szolgaltatasok h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.05;
}

.services-intro {
    max-width: 56rem;
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
    line-height: 1.35;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.services-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.55rem;
}

.service-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 13rem;
    padding: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.15rem;
    background:
        linear-gradient(160deg, rgba(15, 22, 33, 0.92), rgba(4, 4, 4, 0.96)),
        linear-gradient(135deg, rgba(104, 166, 5, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition:
        flex-grow 420ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(104, 166, 5, 0.2), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(104, 166, 5, 0.24);
}

.service-card.is-open {
    flex-grow: 1.9;
    border-color: rgba(104, 166, 5, 0.3);
    box-shadow:
        0 30px 54px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(104, 166, 5, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-card-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0;
    grid-template-rows: auto 1fr auto;
    column-gap: 0;
    row-gap: 0.85rem;
    height: 100%;
}

.service-card.is-open .service-card-body {
    grid-template-columns: minmax(0, 1fr) 7.15rem;
    column-gap: 0.65rem;
}

.service-card h3 {
    margin: 0;
    grid-column: 1 / -1;
    font-size: clamp(0.96rem, 1.1vw, 1.16rem);
    line-height: 1.06;
}

.service-card-texts {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.service-card-lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.34;
    max-height: 5.4rem;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 320ms ease,
        opacity 220ms ease,
        transform 320ms ease;
}

.service-card.is-open .service-card-lead {
    max-height: 0;
    opacity: 0;
    transform: translateY(-0.4rem);
}

.service-card-toggle {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    align-self: end;
    justify-self: start;
    margin-top: 0;
    min-width: 8.7rem;
    padding: 0.58rem 0.82rem;
    font-size: 0.72rem;
    border: none;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease;
}

.service-card-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(0.55rem);
    transition:
        max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 240ms ease,
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-detail p {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
}

.service-card.is-open .service-card-detail {
    max-height: 6.4rem;
    opacity: 1;
    transform: translateY(0);
}

.service-card-image {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    align-self: end;
    justify-self: end;
    width: 0;
    opacity: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.9rem;
    transform: translate(1rem, 1rem);
    transition:
        width 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 240ms ease,
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease;
}

.service-card.is-open .service-card-image {
    width: 100%;
    opacity: 1;
    transform: translate(0, 0);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

/* === Rolunk === */
#rolunk {
    position: relative;
    overflow: hidden;
    background: #000000;
    min-height: 100vh;
    padding-top: clamp(5.2rem, 6.2vh, 6rem);
    padding-bottom: clamp(1.2rem, 2vh, 1.8rem);
    display: flex;
    align-items: center;
}

#rolunk::before {
    content: "";
    position: absolute;
    top: 16%;
    left: -12%;
    width: 140%;
    height: 16rem;
    background: linear-gradient(
        90deg,
        rgba(104, 166, 5, 0) 0%,
        rgba(104, 166, 5, 0.12) 18%,
        rgba(104, 166, 5, 0.3) 48%,
        rgba(104, 166, 5, 0.12) 82%,
        rgba(104, 166, 5, 0) 100%
    );
    filter: blur(48px);
    opacity: 0.95;
    transform: rotate(-8deg);
    pointer-events: none;
}

#rolunk::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 24%, rgba(104, 166, 5, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
    pointer-events: none;
}

#rolunk .section-content {
    position: relative;
    z-index: 1;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(16rem, 0.7fr);
    gap: 1.1rem;
    align-items: center;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.about-copy h2 {
    max-width: none;
    margin: 0;
    font-size: clamp(1.95rem, 2.9vw, 2.8rem);
    line-height: 1.02;
    text-wrap: balance;
}

.about-intro,
.about-text {
    max-width: 36rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.45;
}

.about-intro {
    color: #ffffff;
    font-size: 0.97rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.3rem;
}

.about-highlight {
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    background:
        linear-gradient(160deg, rgba(12, 18, 26, 0.82), rgba(4, 4, 4, 0.9)),
        linear-gradient(135deg, rgba(104, 166, 5, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-highlight strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: 0.94rem;
}

.about-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.35;
}

.about-process {
    margin-top: 0.25rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    background: rgba(8, 10, 14, 0.56);
    backdrop-filter: blur(12px);
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-process h3 {
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
}

.about-process-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-process-list li {
    position: relative;
    padding: 0.42rem 0.72rem 0.42rem 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-size: 0.82rem;
}

.about-process-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--accent-green);
    box-shadow: 0 0 12px rgba(104, 166, 5, 0.42);
    transform: translateY(-50%);
}

.about-visual {
    position: relative;
    display: grid;
    gap: 0.55rem;
    justify-items: end;
}

.about-photo-wrap {
    position: relative;
    width: min(100%, 21rem);
}

.about-photo-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 1.5rem;
    box-shadow:
        0 22px 42px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.about-note {
    max-width: 17rem;
    padding: 0.35rem 0 0;
    background: transparent;
}

.about-note-label {
    margin: 0 0 0.45rem;
    color: var(--accent-green);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-note-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    line-height: 1.4;
}

/* === Referencia === */
#referencia {
    position: relative;
    overflow: hidden;
    min-height: 100svh;
    height: 100svh;
    padding-top: clamp(4.2rem, 4.8vh, 4.8rem);
    padding-bottom: 0.65rem;
    background: #000000;
}

#referencia::before {
    content: "";
    position: absolute;
    top: 22%;
    left: -10%;
    width: 120%;
    height: 14rem;
    background: linear-gradient(
        90deg,
        rgba(104, 166, 5, 0) 0%,
        rgba(104, 166, 5, 0.12) 24%,
        rgba(104, 166, 5, 0.24) 50%,
        rgba(104, 166, 5, 0.12) 76%,
        rgba(104, 166, 5, 0) 100%
    );
    filter: blur(44px);
    opacity: 0.82;
    transform: rotate(-7deg);
    pointer-events: none;
}

#referencia::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 72%, rgba(104, 166, 5, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
    pointer-events: none;
}

#referencia .section-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 0.6rem;
    width: 100%;
    height: 100%;
    max-width: 1320px;
    padding-inline: clamp(1rem, 2vw, 1.5rem);
    box-sizing: border-box;
    overflow-x: clip;
}

.reference-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    max-width: 100%;
    min-width: 0;
}

.reference-heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.5vw, 2.35rem);
    line-height: 1.04;
}

.reference-intro {
    max-width: 43rem;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
    line-height: 1.35;
    box-sizing: border-box;
}

.reference-drag-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.52rem 0.78rem;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(10, 12, 16, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    box-sizing: border-box;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.reference-drag-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reference-drag-arrows {
    display: inline-flex;
    gap: 0.32rem;
}

.reference-drag-arrows span {
    width: 0.48rem;
    height: 0.48rem;
    border-top: 2px solid var(--accent-green);
    border-right: 2px solid var(--accent-green);
    transform: rotate(45deg);
    opacity: 0.4;
    animation: reference-drag-arrow 1.5s ease-in-out infinite;
}

.reference-drag-arrows span:nth-child(2) {
    animation-delay: 120ms;
}

.reference-drag-arrows span:nth-child(3) {
    animation-delay: 240ms;
}

@keyframes reference-drag-arrow {
    0%,
    100% {
        opacity: 0.28;
        transform: translateX(0) rotate(45deg);
    }

    50% {
        opacity: 1;
        transform: translateX(0.28rem) rotate(45deg);
    }
}

.reference-rail-shell {
    height: 100%;
    min-height: 0;
    max-width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.reference-rail {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(104, 166, 5, 0.45) rgba(255, 255, 255, 0.06);
    scroll-behavior: smooth;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.reference-rail.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.reference-rail::-webkit-scrollbar {
    height: 0.55rem;
}

.reference-rail::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.reference-rail::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(104, 166, 5, 0.76), rgba(123, 182, 21, 0.92));
    border-radius: 999px;
}

.reference-track {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    height: 100%;
    min-height: 0;
    padding-bottom: 0.55rem;
    padding-inline: 0;
    box-sizing: border-box;
}

.reference-card {
    position: relative;
    flex: 0 0 calc((100% - 2.6rem) / 5);
    height: calc(100% - 0.9rem);
    min-height: 0;
    scroll-snap-align: start;
    border: none;
    border-radius: 1.15rem;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.reference-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

.reference-card-zoom {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #68a605 0%, #7bb615 100%);
    border: none;
    border-radius: 999px;
    box-shadow:
        0 10px 24px rgba(104, 166, 5, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.reference-card-zoom:hover,
.reference-card-zoom:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 18px 30px rgba(104, 166, 5, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.05);
}

.reference-card-zoom svg {
    width: 0.92rem;
    height: 0.92rem;
}

.reference-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
}

.reference-lightbox[hidden] {
    display: none !important;
}

.reference-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(16px);
}

.reference-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(94vw, 76rem);
    height: min(90vh, 56rem);
    margin: 5vh auto;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.45rem;
    background:
        linear-gradient(160deg, rgba(12, 18, 26, 0.92), rgba(4, 4, 4, 0.96)),
        linear-gradient(135deg, rgba(104, 166, 5, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.reference-lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
}

.reference-lightbox-title {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reference-close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.58rem 0.85rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 220ms ease, background 220ms ease;
}

.reference-close-button {
    background: linear-gradient(135deg, #68a605 0%, #7bb615 100%);
    border: none;
}

.reference-close-button:hover,
.reference-close-button:focus-visible {
    transform: translateY(-2px);
}

.reference-lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    overflow: auto;
    border-radius: 1.2rem;
    background: rgba(2, 4, 7, 0.72);
}

.reference-lightbox-stage img {
    display: block;
    max-width: min(100%, 68rem);
    max-height: calc(90vh - 8rem);
    margin: auto;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

body.lightbox-open {
    overflow: hidden;
}

/* === Kapcsolat === */
#kapcsolat {
    position: relative;
    overflow: hidden;
    min-height: 100svh;
    height: 100svh;
    display: flex;
    align-items: center;
    padding-top: clamp(4.8rem, 6vh, 5.6rem);
    padding-bottom: 0.9rem;
    background: #000000;
}

#kapcsolat::before {
    content: "";
    position: absolute;
    top: 18%;
    left: -12%;
    width: 124%;
    height: 15rem;
    background: linear-gradient(
        90deg,
        rgba(104, 166, 5, 0) 0%,
        rgba(104, 166, 5, 0.11) 24%,
        rgba(104, 166, 5, 0.24) 50%,
        rgba(104, 166, 5, 0.11) 76%,
        rgba(104, 166, 5, 0) 100%
    );
    filter: blur(48px);
    opacity: 0.84;
    transform: rotate(7deg);
    pointer-events: none;
}

#kapcsolat::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 78%, rgba(104, 166, 5, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
    pointer-events: none;
}

#kapcsolat .section-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    height: 100%;
    max-width: 1240px;
}

.contact-heading {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.9rem;
    margin-bottom: 0;
}

.contact-heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.05;
}

.contact-heading-copy {
    min-width: 0;
    max-width: min(100%, 33rem);
}

.contact-intro {
    max-width: 33rem;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.42;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 1rem;
    align-items: start;
    min-height: 0;
}

.contact-panel,
.contact-form {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.contact-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.68rem;
}

.contact-panel-lead {
    margin: 0;
    max-width: 24rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.84rem;
    line-height: 1.3;
}

.contact-card-grid {
    display: grid;
    gap: 0.52rem;
}

.contact-card {
    display: grid;
    gap: 0.32rem;
    padding: 0.62rem 0.8rem;
    color: #ffffff;
    text-decoration: none;
    background: rgba(4, 7, 11, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.18rem;
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(104, 166, 5, 0.32);
    background: rgba(7, 12, 18, 0.86);
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(104, 166, 5, 0.08);
}

.contact-card-static:hover,
.contact-card-static:focus-visible {
    transform: none;
}

.contact-card-label,
.contact-form-kicker {
    color: var(--accent-green);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-card strong {
    font-size: 0.9rem;
    line-height: 1.2;
}

.contact-card-note {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.76rem;
    line-height: 1.24;
}

.contact-form {
    display: grid;
    gap: 0.34rem;
    align-content: start;
    margin-top: -6.35rem;
}

.contact-form-heading {
    display: grid;
    gap: 0.26rem;
    padding-bottom: 0;
}

.contact-form-heading h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.04;
}

.contact-form-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1.2;
}

.contact-form label {
    display: inline-block;
    margin: 0 0 0.14rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.54rem 0.78rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.92rem;
    outline: none;
    transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(104, 166, 5, 0.34);
    box-shadow: 0 0 0 4px rgba(104, 166, 5, 0.08);
}

.contact-form textarea {
    min-height: 4.35rem;
    resize: none;
}

.contact-message-wrap {
    display: grid;
    gap: 0.28rem;
}

.contact-message-meta {
    display: flex;
    justify-content: flex-end;
}

.contact-char-counter {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.03em;
}

.contact-form button {
    min-height: 2.95rem;
    min-width: 0;
    max-width: 100%;
    margin-top: 0;
    width: fit-content;
    justify-self: start;
    padding: 0.82rem 1.35rem;
    font-size: 0.84rem;
    border: none;
}

/* === Lablec === */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1rem 1rem;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
    content: none;
    pointer-events: none;
}

.site-footer-inner,
.site-footer-bottom {
    position: relative;
    z-index: 1;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(10rem, 0.7fr) minmax(12rem, 0.9fr);
    gap: 1.4rem;
    align-items: start;
    padding-bottom: 1rem;
}

.site-footer-kicker,
.site-footer-heading {
    margin: 0 0 0.55rem;
    color: var(--accent-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer-title {
    margin: 0;
    max-width: 28rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-footer-text,
.site-footer-note,
.site-footer-bottom p {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    line-height: 1.45;
}

.site-footer-nav,
.site-footer-contact {
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: color 220ms ease, transform 220ms ease;
}

.site-footer-nav a,
.site-footer-contact a {
    width: fit-content;
    font-size: 0.92rem;
    line-height: 1.3;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--accent-green);
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer-bottom p {
    margin: 0;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.95rem;
}

.site-footer-legal a {
    font-size: 0.86rem;
}

/* === Jogi Oldalak === */
.legal-page {
    min-height: 100vh;
    background: #000000;
}

.legal-header {
    background: transparent;
}

.legal-navbar {
    justify-content: flex-end;
}

.legal-back-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-top: 0.85rem;
    min-height: 2.7rem;
    padding: 0.72rem 1.05rem;
    color: #ffffff;
    background: linear-gradient(135deg, #68a605 0%, #7bb615 100%);
    border: none;
    border-radius: 999px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.18),
        0 12px 28px rgba(104, 166, 5, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease;
}

.legal-back-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.16) 45%,
        transparent 75%
    );
    transform: translateX(-130%);
    transition: transform 320ms ease;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(104, 166, 5, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    filter: brightness(1.05);
}

.legal-back-link:hover::before,
.legal-back-link:focus-visible::before {
    transform: translateX(130%);
}

.legal-main {
    position: relative;
    overflow: hidden;
    min-height: 100svh;
    background: #000000;
}

.legal-main::before {
    content: "";
    position: absolute;
    top: 10rem;
    left: -12%;
    width: 124%;
    height: 16rem;
    background: linear-gradient(
        90deg,
        rgba(104, 166, 5, 0) 0%,
        rgba(104, 166, 5, 0.12) 26%,
        rgba(104, 166, 5, 0.24) 50%,
        rgba(104, 166, 5, 0.12) 74%,
        rgba(104, 166, 5, 0) 100%
    );
    filter: blur(50px);
    opacity: 0.78;
    pointer-events: none;
}

.legal-hero,
.legal-section {
    position: relative;
    z-index: 1;
}

.legal-hero {
    padding: 8rem 1rem 0.9rem;
}

.legal-hero-content,
.legal-layout,
.legal-stack {
    max-width: 1100px;
    margin: 0 auto;
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.98;
}

.legal-intro {
    max-width: 42rem;
    margin: 0.55rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.42;
}

.legal-section {
    padding: 0 1rem 1.35rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.7fr);
    gap: 0.9rem;
}

.legal-stack {
    display: grid;
    gap: 1rem;
}

.legal-layout-equal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.legal-card {
    padding: 1.05rem 1.1rem;
    background:
        linear-gradient(rgba(10, 16, 24, 0.92), rgba(3, 5, 8, 0.92)),
        linear-gradient(135deg, rgba(104, 166, 5, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.35rem;
    backdrop-filter: blur(16px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.legal-card-secondary {
    background:
        linear-gradient(rgba(7, 12, 18, 0.94), rgba(2, 5, 8, 0.96)),
        linear-gradient(135deg, rgba(104, 166, 5, 0.08), rgba(255, 255, 255, 0.01));
}

.legal-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.16rem;
    line-height: 1.15;
}

.legal-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.45;
}

.legal-note {
    margin-top: 1rem !important;
}

.legal-details {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.legal-detail-row {
    display: grid;
    gap: 0.18rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-detail-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.legal-details dt {
    color: var(--accent-green);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-details dd {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.36;
}

.legal-details a,
.legal-card a {
    color: #ffffff;
    text-decoration: none;
}

.legal-details a:hover,
.legal-details a:focus-visible,
.legal-card a:hover,
.legal-card a:focus-visible {
    color: var(--accent-green);
}

/* === Visszajelző Banner === */
.feedback-banner {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1150;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(30rem, calc(100% - 2rem));
    padding: 1rem 1.1rem;
    color: #ffffff;
    background:
        linear-gradient(rgba(8, 16, 26, 0.92), rgba(0, 0, 0, 0.92)),
        linear-gradient(135deg, rgba(104, 166, 5, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    backdrop-filter: blur(18px);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(104, 166, 5, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

.feedback-banner[hidden] {
    display: none !important;
}

.feedback-banner.is-hiding {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
}

.feedback-banner-copy {
    display: grid;
    gap: 0.22rem;
}

.feedback-banner-copy strong {
    font-size: 1rem;
    line-height: 1.2;
}

.feedback-banner-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.45;
}

.feedback-banner-close {
    flex-shrink: 0;
    min-width: 7.2rem;
    padding: 0.82rem 1.15rem;
    color: #ffffff;
    background: linear-gradient(135deg, #68a605 0%, #7bb615 100%);
    border: none;
    border-radius: 999px;
    box-shadow:
        0 8px 20px rgba(104, 166, 5, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.feedback-banner-close:hover,
.feedback-banner-close:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 16px 28px rgba(104, 166, 5, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.05);
}

/* === Fix Vissza Gomb === */
.scroll-top-button {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1140;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.1rem;
    backdrop-filter: blur(14px);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    text-decoration: none;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease,
        opacity 220ms ease;
    opacity: 0.82;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(104, 166, 5, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    opacity: 1;
}

.scroll-top-button img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    row-gap: 0.85rem;
    width: min(60rem, calc(100% - 2rem));
    padding: 1rem 1.15rem 0.8rem;
    color: #ffffff;
    background:
        linear-gradient(rgba(8, 16, 26, 0.88), rgba(0, 0, 0, 0.88)),
        linear-gradient(135deg, rgba(104, 166, 5, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    backdrop-filter: blur(18px);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 1;
    transform: translate(-50%, 0);
    transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner.is-hiding {
    opacity: 0;
    transform: translate(-50%, 1rem);
    pointer-events: none;
}

.cookie-banner p {
    margin: 0;
    flex: 1 1 100%;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.88);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
    padding-bottom: 0.15rem;
}

.cookie-banner a {
    color: var(--accent-green);
    text-decoration: none;
}

.cookie-banner a:hover,
.cookie-banner a:focus-visible {
    color: #9ad42a;
}

#cookie-accept,
#cookie-necessary,
#cookie-reject {
    flex-shrink: 0;
    align-self: stretch;
    margin-top: 0;
    border: none;
}

#cookie-accept {
    min-width: 10.5rem;
    cursor: pointer;
}

#cookie-necessary,
#cookie-reject {
    padding: 0.95rem 1.35rem;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    cursor: pointer;
    transition:
        background 220ms ease,
        border-color 220ms ease,
        transform 220ms ease,
        color 220ms ease;
}

#cookie-reject {
    min-width: 10.5rem;
}

#cookie-necessary {
    min-width: 15.5rem;
}

#cookie-necessary:hover,
#cookie-necessary:focus-visible,
#cookie-reject:hover,
#cookie-reject:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(104, 166, 5, 0.34);
    color: #ffffff;
    transform: translateY(-2px);
}

/* === Tablet Nezet === */
@media (max-width: 900px) {
    .navbar {
        gap: 1.5rem;
        padding: 0.4rem 1.25rem 1rem;
    }

    .logo img {
        height: 104px;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 0.76rem;
        letter-spacing: 0.09em;
    }

    #szolgaltatasok {
        min-height: auto;
        height: auto;
        display: block;
        padding-top: 7rem;
        padding-bottom: 2.2rem;
    }

    #referencia {
        min-height: auto;
        height: auto;
        padding-top: 7rem;
        padding-bottom: 2.2rem;
    }

    #referencia .section-content {
        height: auto;
        padding-inline: 1rem;
    }

    .reference-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .reference-intro {
        max-width: 100%;
    }

    .reference-rail-shell {
        padding: 0;
        border-radius: 0;
    }

    .reference-card {
        flex: 0 0 min(19rem, calc((100% - 0.65rem) / 2));
        height: auto;
        min-height: 22rem;
    }

    .reference-lightbox-dialog {
        width: min(96vw, 54rem);
        height: min(88vh, 46rem);
    }

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

    .service-card,
    .service-card.is-open {
        flex: none;
        height: auto;
        min-height: 0;
    }

    .service-card-body,
    .service-card.is-open .service-card-body {
        grid-template-columns: 1fr;
        row-gap: 0.9rem;
    }

    .service-card h3 {
        grid-column: 1 / 2;
    }

    .service-card-texts,
    .service-card-toggle {
        grid-column: 1 / 2;
    }

    .service-card-detail {
        max-height: 0;
    }

    .service-card.is-open .service-card-detail {
        max-height: 12rem;
    }

    .service-card-image {
        grid-column: 1 / 2;
        grid-row: auto;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        opacity: 0;
        transform: translateY(0.75rem);
    }

    .service-card.is-open .service-card-image {
        max-height: 14rem;
        transform: translateY(0);
    }

    #rolunk::before {
        top: 22%;
        height: 13rem;
        transform: rotate(-10deg);
    }

    #rolunk {
        min-height: auto;
        display: block;
        padding-top: 7rem;
        padding-bottom: 2.2rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .about-copy h2 {
        max-width: 18ch;
    }

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

    .about-visual {
        max-width: 38rem;
        justify-items: start;
    }

    #kapcsolat {
        min-height: auto;
        height: auto;
        display: block;
        padding-top: 7rem;
        padding-bottom: 2.2rem;
    }

    #kapcsolat .section-content {
        height: auto;
    }

    .contact-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.4rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.1rem;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-legal {
        justify-content: flex-start;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-layout-equal {
        grid-template-columns: 1fr;
    }

    .contact-form {
        margin-top: 0;
    }

    .cookie-banner {
        width: min(44rem, calc(100% - 2rem));
        align-items: flex-start;
        flex-direction: column;
    }

    .feedback-banner {
        right: 1rem;
        bottom: 1rem;
        width: min(32rem, calc(100% - 2rem));
    }

    .scroll-top-button {
        right: 1rem;
        bottom: 1rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* === Mobil Nezet === */
@media (max-width: 700px) {
    body.menu-open {
        overflow: hidden;
    }

    .hero-section {
        background:
            linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.45)),
            url("pic/kémény\ \(46\).jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .navbar {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0.65rem 1rem 1rem;
    }

    .logo {
        left: 1.35rem;
        padding: 0.65rem 0.7rem 0.8rem;
        border-radius: 0 0 1rem 1rem;
    }

    .logo img {
        height: 100px;
    }

    .nav-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        margin: 0;
        padding: 0 1.2rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.75rem) scale(0.98);
        background: rgba(8, 8, 8, 0.78);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1.15rem;
        backdrop-filter: blur(18px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
        transition:
            max-height 340ms cubic-bezier(0.22, 1, 0.36, 1),
            padding 340ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 220ms ease,
            transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0ms linear 340ms;
    }

    .nav-menu.is-open {
        padding: 1rem 1.2rem 1.15rem;
        max-height: 24rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition:
            max-height 340ms cubic-bezier(0.22, 1, 0.36, 1),
            padding 340ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 240ms ease,
            transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0ms linear 0ms;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.85rem 0;
        font-size: 0.82rem;
        letter-spacing: 0.12em;
    }

    #szolgaltatasok {
        min-height: auto;
        height: auto;
        display: block;
        padding-top: 7rem;
        padding-bottom: 2rem;
    }

    #referencia {
        min-height: auto;
        height: auto;
        padding-top: 7rem;
        padding-bottom: 2rem;
    }

    #referencia .section-content {
        gap: 0.7rem;
        padding-inline: 0;
    }

    .reference-heading{

        max-width: 70%;
    }

    .reference-heading h2 {
        font-size: 1.75rem;
    }

    .reference-intro {
        font-size: 0.9rem;
        line-height: 1.4;
        max-width: 100%;
    }

    .reference-drag-cue {
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        padding: 0.58rem 0.8rem;
    }

    .reference-drag-label {
        font-size: 0.74rem;
    }

    .reference-rail-shell {
        padding: 0;
        border-radius: 0;
    }

    .reference-track {
        gap: 0.6rem;
        padding-bottom: 0.75rem;
        padding-inline: 0;
    }

    .reference-card {
        flex: 0 0 100%;
        max-width: 70%;
        width: 100%;
        height: min(22rem, 58svh);
        min-height: 0;
        border-radius: 1.05rem;
        box-sizing: border-box;
    }

    .reference-card img {
        object-fit:cover;
        object-position: center;
        background: #050709;
        
    }

    .reference-card-zoom {
        top: 0.65rem;
        right: 0.65rem;
        width: 2.25rem;
        height: 2.25rem;
    }

    .reference-lightbox-dialog {
        width: calc(100vw - 1rem);
        height: calc(100vh - 1.5rem);
        margin: 0.75rem auto;
        padding: 0.8rem;
        border-radius: 1.15rem;
    }

    .reference-lightbox-toolbar {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 0.7rem;
    }

    .reference-close-button {
        padding: 0.52rem 0.72rem;
        font-size: 0.76rem;
    }

    .services-intro {
        font-size: 0.96rem;
    }

    .service-card,
    .service-card.is-open {
        border-radius: 1.35rem;
    }

    .services-row {
        gap: 0.85rem;
    }

    .service-card-body,
    .service-card.is-open .service-card-body {
        row-gap: 0.8rem;
    }

    .service-card-detail {
        transform: translateY(0.55rem);
    }

    .service-card.is-open .service-card-detail {
        max-height: 15rem;
        transform: translateY(0);
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card-image {
        border-radius: 1rem;
    }

    .service-card.is-open .service-card-image {
        max-height: 12rem;
    }

    #kapcsolat {
        min-height: auto;
        height: auto;
        display: block;
        padding-top: 7rem;
        padding-bottom: 2rem;
    }

    .contact-heading {
        gap: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .site-footer {
        padding: 1.15rem 1rem 0.9rem;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 0.85rem;
    }

    .site-footer-title {
        font-size: 1.05rem;
    }

    .site-footer-text,
    .site-footer-note,
    .site-footer-nav a,
    .site-footer-contact a,
    .site-footer-bottom p,
    .site-footer-legal a {
        font-size: 0.84rem;
    }

    .site-footer-bottom {
        align-items: flex-start;
        gap: 0.65rem;
    }

    .legal-hero {
        padding: 7rem 1rem 1rem;
    }

    .legal-back-link {
        margin-top: 0.7rem;
        min-height: 2.85rem;
        padding: 0.72rem 1rem;
        font-size: 0.76rem;
    }

    .legal-hero h1 {
        font-size: 2.1rem;
    }

    .legal-intro,
    .legal-card p,
    .legal-details dd {
        font-size: 0.9rem;
    }

    .legal-card {
        padding: 1.05rem 1rem;
        border-radius: 1.1rem;
    }

    .contact-form {
        margin-top: 0;
    }

    .contact-heading h2 {
        font-size: 1.75rem;
    }

    .contact-intro,
    .contact-panel-lead,
    .contact-form-heading p,
    .contact-card-note {
        font-size: 0.95rem;
    }

    .contact-panel,
    .contact-form {
        padding: 0;
        border-radius: 0;
    }

    .contact-card {
        padding: 0.95rem;
        border-radius: 1rem;
    }

    .contact-card strong {
        font-size: 1.02rem;
    }

    .contact-form-heading h3 {
        font-size: 1.4rem;
    }

    #rolunk::before {
        top: 20%;
        left: -18%;
        width: 155%;
        height: 11rem;
        filter: blur(40px);
        transform: rotate(-12deg);
    }

    .about-intro,
    .about-text {
        font-size: 0.97rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-highlight,
    .about-process,
    .about-note {
        border-radius: 1.15rem;
    }

    .about-visual {
        width: 100%;
        max-width: none;
        justify-items: center;
    }

    .about-photo-wrap {
        width: min(100%, 18rem);
        margin-inline: auto;
    }

    .about-photo-wrap img {
        aspect-ratio: 1 / 1.08;
        border-radius: 1rem;
    }

    .about-note {
        max-width: 100%;
        margin-left: 0;
    }

    .cookie-banner {
        right: auto;
        bottom: 1rem;
        width: calc(100% - 1.25rem);
        padding: 0.95rem 1rem;
        border-radius: 1rem;
    }

    .feedback-banner {
        left: 50%;
        right: auto;
        bottom: 1rem;
        flex-direction: column;
        align-items: stretch;
        width: calc(100% - 1.25rem);
        padding: 0.95rem 1rem;
        border-radius: 1rem;
        transform: translateX(-50%);
    }

    .feedback-banner.is-hiding {
        transform: translate(-50%, 1rem);
    }

    .feedback-banner-close {
        width: 100%;
    }

    .scroll-top-button {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 3.6rem;
        height: 3.6rem;
        padding: 0.45rem;
        border-radius: 0.95rem;
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    #cookie-accept {
        width: 100%;
        min-width: 0;
    }

    #cookie-necessary {
        width: 100%;
        min-width: 0;
    }

    #cookie-reject {
        width: 100%;
        min-width: 0;
    }
}

/* === Nagy Kijelzok === */
@media (min-width: 1600px) {
    .navbar {
        gap: clamp(2.8rem, 3vw, 4rem);
        padding: 0.5rem clamp(2.8rem, 4vw, 5rem) 1.15rem;
    }

    .logo {
        left: clamp(4rem, 4.9vw, 5.8rem);
        padding: 0.9rem 1.05rem 1.1rem;
    }

    .logo img {
        height: 112px;
    }

    .nav-menu a {
        font-size: 0.96rem;
        letter-spacing: 0.12em;
    }

    .section-content,
    #rolunk .section-content,
    #kapcsolat .section-content,
    .legal-hero-content,
    .legal-layout,
    .legal-stack {
        max-width: min(90vw, 1920px);
    }

    #szolgaltatasok .section-content {
        max-width: min(91vw, 2060px);
    }

    #referencia .section-content {
        max-width: min(92vw, 2200px);
        padding-inline: clamp(1.4rem, 2vw, 2.2rem);
    }

    .hero-section .section-content {
        max-width: min(90vw, 2060px);
        min-height: calc(100vh - 9rem);
        gap: 1.35rem;
    }

    .hero-section .section-content > p:first-of-type {
        font-size: clamp(1.15rem, 0.48vw + 0.68rem, 1.42rem);
    }

    .hero-section .section-content > p:last-of-type {
        max-width: 68rem;
        font-size: clamp(1.08rem, 0.42vw + 0.64rem, 1.28rem);
        line-height: 1.6;
    }

    .hero-section h1 {
        max-width: 24ch;
        font-size: clamp(3.7rem, 3vw, 5.8rem);
        line-height: 1.06;
    }

    .section-kicker {
        font-size: 0.96rem;
        margin-bottom: 0.85rem;
    }

    #szolgaltatasok h2,
    .reference-heading h2,
    .contact-heading h2,
    .about-copy h2 {
        font-size: clamp(2.35rem, 2vw, 3.4rem);
    }

    .services-intro,
    .reference-intro,
    .contact-intro,
    .about-intro,
    .about-text {
        font-size: 1.04rem;
        line-height: 1.58;
    }

    .services-grid {
        gap: 0.8rem;
        margin-top: 1.15rem;
    }

    .services-row {
        gap: 0.8rem;
    }

    .service-card {
        height: 15rem;
        padding: 0.92rem;
    }

    .service-card h3 {
        font-size: 1.24rem;
    }

    .service-card-lead,
    .service-card-detail p {
        font-size: 1.06rem;
        line-height: 1.55;
    }

    .service-card.is-open .service-card-body {
        grid-template-columns: minmax(0, 1fr) 8.6rem;
        column-gap: 0.9rem;
    }

    .about-layout {
        grid-template-columns: minmax(0, 0.96fr) minmax(35rem, 1fr);
        gap: 1.9rem;
    }

    .about-highlights {
        gap: 0.88rem;
    }

    .about-highlight,
    .about-process {
        padding: 0.95rem 1rem;
    }

    .about-photo-wrap {
        width: min(100%, 33rem);
    }

    .reference-track {
        gap: 0.82rem;
        padding-bottom: 0.75rem;
    }

    .reference-card {
        flex: 0 0 calc((100% - 3.28rem) / 5);
        border-radius: 1.28rem;
    }

    .reference-card-zoom {
        width: 2.7rem;
        height: 2.7rem;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 1.5rem;
    }

    .contact-form {
        margin-top: -5rem;
    }

    .contact-card {
        padding: 0.88rem 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.82rem 1rem;
        font-size: 1rem;
    }

    .contact-form label,
    .contact-card-label,
    .contact-form-kicker {
        font-size: 0.84rem;
    }

    .contact-form-heading h3 {
        font-size: 1.45rem;
    }

    .contact-form-heading p,
    .contact-card-note,
    .contact-panel-lead,
    .contact-char-counter {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .contact-card strong {
        font-size: 1.04rem;
    }

    .contact-form button {
        padding: 0.94rem 1.55rem;
        font-size: 0.92rem;
    }

    .site-footer-inner,
    .site-footer-bottom {
        width: min(90vw, 1780px);
    }

    .site-footer-title {
        max-width: 40rem;
        font-size: 1.4rem;
    }

    .site-footer-text,
    .site-footer-note,
    .site-footer-bottom p,
    .site-footer-nav a,
    .site-footer-contact a,
    .site-footer-legal a {
        font-size: 0.98rem;
    }

    .legal-hero h1 {
        font-size: clamp(2.7rem, 2.5vw, 4.5rem);
    }

    .legal-hero p,
    .legal-section p,
    .legal-section li,
    .legal-meta,
    .legal-card p {
        font-size: 1rem;
    }
}

@media (min-width: 2000px) {
    .navbar {
        gap: clamp(3.2rem, 3.2vw, 4.4rem);
        padding-inline: clamp(3.6rem, 4.8vw, 5.8rem);
    }

    .logo {
        left: clamp(4.8rem, 5.4vw, 6.4rem);
    }

    .logo img {
        height: 124px;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .section-content,
    #rolunk .section-content,
    #kapcsolat .section-content,
    .legal-hero-content,
    .legal-layout,
    .legal-stack {
        max-width: min(91vw, 2440px);
    }

    #szolgaltatasok .section-content {
        max-width: min(92vw, 2600px);
    }

    #referencia .section-content {
        max-width: min(93vw, 2740px);
        padding-inline: clamp(1.7rem, 2.3vw, 2.5rem);
    }

    .hero-section .section-content {
        max-width: min(91vw, 2680px);
        gap: 1.55rem;
    }

    .hero-section .section-content > p:first-of-type {
        font-size: clamp(1.28rem, 0.55vw + 0.74rem, 1.62rem);
    }

    .hero-section .section-content > p:last-of-type {
        max-width: 76rem;
        font-size: clamp(1.16rem, 0.5vw + 0.72rem, 1.42rem);
    }

    .hero-section h1 {
        max-width: 27ch;
        font-size: clamp(4.35rem, 3.2vw, 6.8rem);
    }

    #szolgaltatasok h2,
    .reference-heading h2,
    .contact-heading h2,
    .about-copy h2 {
        font-size: clamp(2.8rem, 2.2vw, 3.95rem);
    }

    .services-intro,
    .reference-intro,
    .contact-intro,
    .about-intro,
    .about-text {
        font-size: 1.12rem;
    }

    .services-row,
    .services-grid,
    .reference-track {
        gap: 0.9rem;
    }

    .service-card {
        height: 16rem;
    }

    .service-card.is-open .service-card-body {
        grid-template-columns: minmax(0, 1fr) 9.25rem;
    }

    .about-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(35rem, 1.04fr);
        gap: 2.1rem;
    }

    .about-photo-wrap {
        width: min(100%, 39rem);
    }

    .reference-card {
        flex: 0 0 calc((100% - 3.6rem) / 5);
    }

    .contact-layout {
        gap: 1.7rem;
    }

    .contact-form {
        margin-top: -5.2rem;
    }

    .legal-hero h1 {
        font-size: clamp(3.1rem, 2.6vw, 5rem);
    }

    .site-footer-inner,
    .site-footer-bottom {
        width: min(91vw, 2160px);
    }
}

@media (min-width: 2560px) {
    .navbar {
        gap: clamp(3.5rem, 3.6vw, 4.8rem);
        padding-inline: clamp(4rem, 5vw, 6.2rem);
    }

    .logo {
        left: clamp(5rem, 5.6vw, 6.8rem);
    }

    .logo img {
        height: 136px;
    }

    .nav-menu a {
        font-size: 1.06rem;
    }

    .section-content,
    #rolunk .section-content,
    #kapcsolat .section-content,
    .legal-hero-content,
    .legal-layout,
    .legal-stack {
        max-width: min(92vw, 3200px);
    }

    #szolgaltatasok .section-content {
        max-width: min(93vw, 3340px);
    }

    #referencia .section-content {
        max-width: min(94vw, 3400px);
        padding-inline: clamp(1.9rem, 2.5vw, 2.8rem);
    }

    .hero-section .section-content {
        max-width: min(92vw, 3360px);
        gap: 1.8rem;
    }

    .hero-section .section-content > p:first-of-type {
        font-size: clamp(1.42rem, 0.62vw + 0.82rem, 1.8rem);
    }

    .hero-section .section-content > p:last-of-type {
        max-width: 84rem;
        font-size: clamp(1.26rem, 0.56vw + 0.78rem, 1.56rem);
    }

    .hero-section h1 {
        max-width: 30ch;
        font-size: clamp(5.1rem, 3.35vw, 7.8rem);
    }

    #szolgaltatasok h2,
    .reference-heading h2,
    .contact-heading h2,
    .about-copy h2 {
        font-size: clamp(3.1rem, 2.35vw, 4.35rem);
    }

    .services-intro,
    .reference-intro,
    .contact-intro,
    .about-intro,
    .about-text {
        font-size: 1.18rem;
    }

    .service-card {
        height: 16.8rem;
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.34rem;
    }

    .service-card-lead,
    .service-card-detail p {
        font-size: 1.12rem;
    }

    .service-card.is-open .service-card-body {
        grid-template-columns: minmax(0, 1fr) 9.8rem;
    }

    .about-layout {
        grid-template-columns: minmax(0, 0.88fr) minmax(40rem, 1.14fr);
        gap: 2.5rem;
    }

    .about-photo-wrap {
        width: min(100%, 46rem);
    }

    .reference-card {
        flex: 0 0 calc((100% - 3.6rem) / 5);
    }

    .reference-card-zoom {
        width: 2.9rem;
        height: 2.9rem;
    }

    .contact-form {
        margin-top: -5.35rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1.04rem;
    }

    .contact-form-heading h3 {
        font-size: 1.58rem;
    }

    .site-footer-title {
        font-size: 1.52rem;
    }

    .site-footer-inner,
    .site-footer-bottom {
        width: min(92vw, 2860px);
    }
}
