:root {
    --white: #ffffff;
    --black: #080808;
    --text-soft: rgba(255, 255, 255, 0.88);
    --line-soft: rgba(255, 255, 255, 0.72);
    --overlay-top: rgba(4, 8, 10, 0.28);
    --overlay-bottom: rgba(5, 4, 3, 0.48);
    --font-main: 'Montserrat', sans-serif;
    --safe-area-top: env(safe-area-inset-top, 0px);
    --navbar-offset: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: #efe7dd;
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 770px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--overlay-top) 0%, rgba(11, 12, 10, 0.12) 27%, rgba(10, 8, 4, 0.20) 58%, var(--overlay-bottom) 100%),
        #101010;
    padding: 0 3.3vw;
    color: var(--white);
}

.section[id],
.hero[id] {
    scroll-margin-top: 108px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #101010;
}

.hero-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.9) brightness(0.82);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 49% 29%, rgba(255, 214, 154, 0.18), transparent 20%),
        radial-gradient(circle at 51% 77%, rgba(255, 214, 154, 0.12), transparent 28%);
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: calc(var(--safe-area-top) + var(--navbar-offset));
    left: 3.3vw;
    right: 3.3vw;
    width: auto;
    max-width: none;
    z-index: 60;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    gap: 28px;
    border-radius: 999px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease, -webkit-backdrop-filter 220ms ease;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-brand img,
.footer-logo img {
    display: block;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-brand img {
    height: 15px;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    min-width: 0;
    margin-left: auto;
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 8, 8, 0.92);
    color: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.menu-toggle-lines {
    position: relative;
    width: 18px;
    height: 14px;
}

.menu-toggle-lines span {
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 220ms ease, opacity 180ms ease, top 220ms ease;
}

.menu-toggle-lines span:first-child {
    top: 2px;
}

.menu-toggle-lines span:last-child {
    top: 10px;
}

body.menu-open .menu-toggle {
    background: rgba(255, 255, 255, 0.16);
}

body.menu-open .menu-toggle-lines span:first-child {
    top: 6px;
    transform: rotate(45deg);
}

body.menu-open .menu-toggle-lines span:last-child {
    top: 6px;
    transform: rotate(-45deg);
}

body.navbar-past-hero .navbar {
    left: auto;
    width: max-content;
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

body.navbar-past-hero .nav-brand {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-family: var(--font-main);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.015em;
    opacity: 0.95;
}

.btn-courses {
    font-family: var(--font-main);
    background: var(--black);
    color: var(--white);
    padding: 10px 10px 10px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-courses .arrow-circle {
    background: var(--white);
    color: var(--black);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 220ms ease, background-color 220ms ease;
}

.btn-courses svg,
.search-btn svg,
.feature-icon svg {
    display: block;
}

.btn-courses svg {
    transition: transform 220ms ease;
}

.btn-courses:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.btn-courses:hover .arrow-circle {
    transform: translateX(3px);
}

.btn-courses:hover svg {
    transform: translate(1px, -1px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 58;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    padding: calc(var(--safe-area-top) + 108px) 28px 34px;
    min-height: 100dvh;
    background: rgba(5, 5, 5, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open .navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: clamp(48px, 12vh, 120px);
    text-align: center;
}

.mobile-menu-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: clamp(2.4rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.mobile-menu-contact {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.mobile-menu-contact a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.98rem;
    line-height: 1.5;
}

.hero-body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 70px 0 160px;
}

.hero-title {
    font-family: var(--font-main);
    max-width: 980px;
    font-size: clamp(3rem, 4.2vw, 4.15rem);
    font-weight: 700;
    line-height: 1.14;
    margin-bottom: 14px;
    letter-spacing: normal;
    word-spacing: normal;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-soft);
    letter-spacing: -0.015em;
    margin-bottom: 76px;
}

.search-container {
    background: rgba(255, 255, 255, 0.96);
    width: 100%;
    max-width: 588px;
    min-height: 0;
    border-radius: 999px;
    padding: 8px 72px 8px 8px;
    color: #222428;
    text-align: left;
    position: relative;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
}

.search-prefix {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #171717;
    pointer-events: none;
}

.search-input {
    font-family: var(--font-main);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #31353b;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 20px 18px 20px 84px;
    outline: none;
    caret-color: transparent;
}

.search-input::placeholder {
    color: #31353b;
    opacity: 1;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    background: var(--black);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%);
}

.info-section {
    padding: 70px 14.3vw 86px;
    text-align: left;
    color: var(--black);
    background: #ffffff;
}

.info-tagline {
    font-size: 0.88rem;
    letter-spacing: 0.28em;
    font-weight: 500;
    margin-bottom: 34px;
    color: #151515;
}

.info-heading {
    font-size: clamp(2.5rem, 4.1vw, 4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.05em;
    max-width: 1000px;
    margin: 0;
}

.section {
    padding: 88px 14.3vw;
    color: var(--black);
}

.section-soft {
    background: linear-gradient(180deg, #f7f4ee 0%, #efe7dd 100%);
}

.section-white {
    background: #ffffff;
}

#szolgaltatasok {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

#szolgaltatasok > * {
    position: relative;
    z-index: 1;
}

.section-dark {
    background: linear-gradient(180deg, #121212 0%, #191919 100%);
    color: var(--white);
}

#rolunk {
    padding-bottom: 50px;
}

#kapcsolat {
    padding-top: 44px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: clamp(3.8rem, 9vw, 8.8rem);
    line-height: 0.92;
    font-weight: 700;
    letter-spacing: -0.07em;
    text-transform: none;
}

.section-title {
    max-width: 1120px;
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.section-lead {
    max-width: 720px;
    margin-top: 22px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #4d4d4d;
}

.section-dark .section-lead,
.section-dark .section-kicker,
.section-dark .comparison-card p,
.section-dark .comparison-card li,
.section-dark .bridge-note,
.section-dark .pillars-list li {
    color: rgba(255, 255, 255, 0.8);
}

.problem-grid,
.intro-grid,
.difference-grid,
.bridge-grid,
.cta-row {
    display: grid;
    gap: 28px;
    align-items: start;
}

.problem-grid {
    grid-template-columns: 860px 420px;
    margin-top: 40px;
    gap: 0;
    align-items: center;
    overflow: visible;
    justify-content: start;
}

.problem-list,
.service-list,
.pillars-list,
.package-list,
.comparison-list {
    list-style: none;
}

.problem-list li,
.service-list li,
.pillars-list li,
.package-list li,
.comparison-list li {
    position: relative;
    padding-left: 26px;
}

.problem-list li + li,
.service-list li + li,
.pillars-list li + li,
.package-list li + li,
.comparison-list li + li {
    margin-top: 18px;
}

.problem-list li::before,
.service-list li::before,
.pillars-list li::before,
.package-list li::before,
.comparison-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 12px;
    height: 7px;
    background: transparent;
    border-left: 2px solid #171717;
    border-bottom: 2px solid #171717;
    border-radius: 1px;
    transform: translateY(-60%) rotate(-45deg);
}

.problem-list {
    position: relative;
    z-index: 1;
    width: 860px;
    max-width: none;
    padding: 46px 236px 46px 40px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 60px rgba(24, 18, 10, 0.08);
}

.problem-list li {
    padding-left: 34px;
    font-size: 1.16rem;
    line-height: 1.7;
    color: #222222;
}

.problem-list li::before,
.problem-list li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0.74em;
    width: 13px;
    height: 1.7px;
    border-radius: 999px;
    background: #161616;
    transform-origin: center;
}

.problem-list li::before {
    transform: translateY(-50%) rotate(45deg);
}

.problem-list li::after {
    transform: translateY(-50%) rotate(-45deg);
}

.problem-card,
.intro-card,
.difference-card,
.bridge-card,
.package-card,
.comparison-card,
.cta-panel {
    border-radius: 30px;
}

.problem-card {
    position: relative;
    z-index: 2;
    padding: 42px 38px;
    width: 620px;
    max-width: none;
    margin-left: -310px;
    margin-top: 88px;
    border-radius: 36px;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    color: var(--white);
    box-shadow: 0 34px 84px rgba(0, 0, 0, 0.22);
}

.problem-card p {
    font-size: 1.32rem;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.problem-card strong {
    display: block;
    margin-top: 20px;
    font-size: 1.05rem;
    color: #d7c3a3;
}

.intro-grid {
    grid-template-columns: 540px max-content;
    margin-top: 30px;
    gap: 4px;
    align-items: start;
    justify-content: start;
}

.section-kicker {
    font-size: 1rem;
    line-height: 1.7;
    color: #595959;
}

.intro-copy {
    max-width: 560px;
    padding-top: 8px;
}

.intro-copy .section-kicker {
    font-size: 1.02rem;
    line-height: 1.76;
    color: #595959;
}

.intro-side {
    justify-self: start;
}

.intro-card {
    position: relative;
    justify-self: start;
    width: fit-content;
    max-width: 620px;
    padding: 36px 38px 32px;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 84px rgba(0, 0, 0, 0.22);
    color: var(--white);
}

.intro-card::before {
    content: none;
}

.services-cosmos {
    display: none;
}

@media (min-width: 1680px) {
    .intro-side {
        position: relative;
        display: block;
        width: fit-content;
    }

    .services-cosmos {
        position: absolute;
        top: -220px;
        left: calc(100% + 44px);
        display: block;
        width: min(58vw, 1080px);
        height: 760px;
        pointer-events: none;
        color: rgba(76, 63, 59, 0.24);
        opacity: 0.95;
    }

    .services-cosmos svg {
        width: 100%;
        height: 100%;
        overflow: visible;
        filter: drop-shadow(0 0 18px rgba(202, 177, 142, 0.08));
    }

    .services-cosmos .cosmos-stroke {
        vector-effect: non-scaling-stroke;
    }

    .services-cosmos .cosmos-cluster,
    .services-cosmos .cosmos-links {
        transform-box: fill-box;
        transform-origin: center;
        will-change: transform;
    }

    .services-cosmos .cluster-a {
        animation: cosmos-drift-a 18s ease-in-out infinite;
    }

    .services-cosmos .cluster-b {
        animation: cosmos-drift-b 22s ease-in-out infinite;
    }

    .services-cosmos .cluster-c {
        animation: cosmos-drift-c 20s ease-in-out infinite;
    }

    .services-cosmos .cluster-d {
        animation: cosmos-drift-d 24s ease-in-out infinite;
    }

    .services-cosmos .cosmos-links {
        animation: cosmos-drift-lines 26s ease-in-out infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-cosmos .cosmos-cluster,
    .services-cosmos .cosmos-links {
        animation: none !important;
    }
}

@keyframes cosmos-drift-a {
    0%, 100% { transform: translate(0, 0); }
    35% { transform: translate(10px, -14px); }
    68% { transform: translate(-8px, 8px); }
}

@keyframes cosmos-drift-b {
    0%, 100% { transform: translate(0, 0); }
    30% { transform: translate(-12px, -8px); }
    72% { transform: translate(9px, 10px); }
}

@keyframes cosmos-drift-c {
    0%, 100% { transform: translate(0, 0); }
    42% { transform: translate(8px, -10px); }
    76% { transform: translate(-10px, 12px); }
}

@keyframes cosmos-drift-d {
    0%, 100% { transform: translate(0, 0); }
    38% { transform: translate(-9px, -12px); }
    70% { transform: translate(12px, 9px); }
}

@keyframes cosmos-drift-lines {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(6px, -8px); }
    74% { transform: translate(-7px, 6px); }
}

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

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-left: 0;
    font-size: 1.08rem;
    line-height: 1.5;
}

.service-list li + li {
    margin-top: 16px;
}

.service-list li::before {
    content: none;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #d7c3a3;
}

.service-icon svg {
    width: 18px;
    height: 18px;
}

.service-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.service-title {
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.45;
}

.service-description {
    font-size: 0.96rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 400;
}

.closing-line {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.closing-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #d7c3a3;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.closing-link .arrow-circle {
    background: var(--white);
    color: var(--black);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 220ms ease, background-color 220ms ease;
}

.closing-link svg {
    display: block;
    transition: transform 180ms ease;
}

.closing-link:hover .arrow-circle {
    transform: translateX(3px);
}

.closing-link:hover svg {
    transform: translate(1px, -1px);
}

.references-intro {
    max-width: 920px;
}

.references-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 28px;
    align-items: center;
}

.reference-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 12px 10px;
}

.reference-logo img {
    display: block;
    max-width: 186px;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05) brightness(0.16);
    opacity: 0.9;
}

.reference-logo img.logo-builder,
.reference-logo img.logo-biotech {
    max-width: 150px;
    max-height: 30px;
}

.reference-logo img.logo-starschema {
    max-width: 164px;
    max-height: 40px;
}

.reference-logo img.logo-abesse,
.reference-logo img.logo-rozmaring {
    max-height: 42px;
}

.reference-logo img.logo-grofie {
    max-width: 92px;
    max-height: 54px;
}

.difference-grid {
    grid-template-columns: 760px 460px;
    margin-top: 34px;
    gap: 0;
    align-items: center;
    justify-content: start;
    overflow: visible;
}

.difference-card {
    position: relative;
    padding: 34px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.difference-card:first-child {
    z-index: 1;
    width: 760px;
    max-width: none;
    padding: 38px 212px 38px 34px;
    background: linear-gradient(180deg, #222222 0%, #191919 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.difference-card:last-child {
    z-index: 2;
    width: 540px;
    max-width: none;
    margin-left: -136px;
    margin-top: 64px;
    background: linear-gradient(180deg, #242424 0%, #1d1d1d 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.difference-card h3 {
    font-size: 1.55rem;
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.pillars-list {
    margin-top: 20px;
}

.pillars-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 12px;
    height: 7px;
    background: transparent;
    border-left: 2px solid #d7c3a3;
    border-bottom: 2px solid #d7c3a3;
    border-radius: 1px;
    transform: translateY(-60%) rotate(-45deg);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 38px;
}

.comparison-card {
    padding: 30px 28px;
    border-radius: 28px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: #ffffff;
}

.comparison-card h3 {
    margin-bottom: 14px;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.comparison-card p {
    margin-bottom: 18px;
    color: #565656;
    line-height: 1.65;
}

.comparison-card.is-dark {
    background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.comparison-card.is-dark p {
    color: #d7c3a3;
}

.comparison-card.is-dark .comparison-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 12px;
    height: 7px;
    background: transparent;
    border-left: 2px solid #d7c3a3;
    border-bottom: 2px solid #d7c3a3;
    border-radius: 1px;
    transform: translateY(-60%) rotate(-45deg);
}

.soft-bridge {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #6a6258;
    text-decoration: none;
}

.soft-bridge .arrow-circle-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    flex-shrink: 0;
    transition: transform 220ms ease, background-color 220ms ease;
}

.soft-bridge .arrow-circle-dark svg {
    display: block;
    transition: transform 180ms ease;
}

.soft-bridge:hover .arrow-circle-dark {
    transform: translateX(3px);
}

.soft-bridge:hover .arrow-circle-dark svg {
    transform: translate(1px, -1px);
}

.bridge-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
    align-items: center;
}

.bridge-stack {
    position: relative;
    width: 100%;
    margin-left: 0;
    min-height: 500px;
    padding-top: 0;
}

.bridge-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 0;
}

.bridge-gallery::-webkit-scrollbar {
    display: none;
}

.bridge-media {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
    height: 340px;
}

.bridge-media::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.28));
    z-index: 1;
    pointer-events: none;
}

.bridge-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 320ms ease;
    transform-origin: center;
}

.bridge-media:hover img {
    transform: scale(1.08);
}

.bridge-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bridge-card {
    position: absolute;
    z-index: 2;
    padding: 34px;
    width: 39%;
    right: 18px;
    top: 212px;
    background: #242424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
}

.bridge-note {
    margin-top: 18px;
    line-height: 1.72;
}

.faq-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(215, 195, 163, 0.12), transparent 32%),
        linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
}

.faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 92%);
    pointer-events: none;
}

.faq-section > * {
    position: relative;
    z-index: 1;
}

.faq-intro {
    max-width: 920px;
}

.faq-video {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
    gap: 28px;
    align-items: center;
    margin-top: 34px;
    padding: 26px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.faq-video-copy h3 {
    max-width: 440px;
    font-size: clamp(1.35rem, 2.3vw, 2.25rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--white);
}

.faq-video-copy p {
    margin-top: 14px;
    max-width: 460px;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.72);
}

.faq-video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background: #050505;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
}

.faq-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.faq-list {
    display: grid;
    gap: 18px;
    margin-top: 40px;
}

.faq-item {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.faq-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 30px;
    cursor: pointer;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    display: block;
    max-width: 980px;
    font-size: clamp(1.28rem, 2vw, 2rem);
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--white);
}

.faq-icon {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.8px;
    border-radius: 999px;
    background: #d7c3a3;
    transform: translate(-50%, -50%);
    transition: transform 220ms ease, opacity 220ms ease;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0.4);
}

.faq-answer {
    padding: 0 30px 30px;
}

.faq-answer p {
    max-width: 900px;
    font-size: 0.98rem;
    line-height: 1.78;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.72);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.text-link .arrow-circle {
    background: var(--white);
    color: var(--black);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 220ms ease, background-color 220ms ease;
}

.text-link svg {
    display: block;
    transition: transform 180ms ease;
}

.text-link:hover .arrow-circle {
    transform: translateX(3px);
}

.text-link:hover svg {
    transform: translate(1px, -1px);
}

.cta-row {
    grid-template-columns: 880px 420px;
    gap: 0;
    align-items: center;
    overflow: visible;
    justify-content: start;
}

.cta-panel {
    position: relative;
    z-index: 1;
    padding: 42px 270px 42px 36px;
    width: 880px;
    max-width: none;
    background: linear-gradient(135deg, #16120d 0%, #2a2119 100%);
    color: var(--white);
}

.cta-panel .section-eyebrow {
    max-width: 380px;
}

.cta-panel .section-title {
    max-width: 500px;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.14;
    text-wrap: balance;
}

.cta-panel p {
    margin-top: 16px;
    max-width: 470px;
    font-size: 1.08rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
    display: block;
    position: relative;
    z-index: 2;
    margin-left: -360px;
    margin-top: 48px;
}

.cta-form {
    position: relative;
    z-index: 2;
    padding: 20px 20px 30px;
    width: 700px;
    max-width: none;
    margin-left: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 24px 58px rgba(24, 18, 10, 0.1);
    backdrop-filter: blur(8px);
}

.cta-booking {
    margin-bottom: 26px;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #16120d 0%, #282018 100%);
    color: var(--white);
    box-shadow: 0 20px 48px rgba(24, 18, 10, 0.18);
}

.cta-booking h3 {
    max-width: 540px;
    font-size: clamp(1.8rem, 2.8vw, 3rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: var(--white);
}

.cta-booking p {
    margin: 12px 0 20px;
    max-width: 520px;
    font-size: 1.04rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.78);
}

.cta-booking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    width: 100%;
    padding: 0 24px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-booking-link svg {
    display: block;
    flex: 0 0 auto;
    transition: transform 180ms ease;
}

.cta-booking-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.cta-booking-link:hover svg {
    transform: translate(1px, -1px);
}

.cta-form-intro {
    margin: 0 10px 14px;
    font-size: 0.98rem;
    line-height: 1.5;
    font-weight: 650;
    color: rgba(23, 23, 23, 0.76);
}

.cta-form-grid {
    display: grid;
    gap: 14px;
    padding: 0 10px;
}

.cta-field,
.cta-textarea {
    width: 100%;
    border: 0;
    outline: none;
    font: inherit;
    color: #171717;
    background: #ffffff;
    border-radius: 999px;
    padding: 18px 20px;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.cta-field::placeholder,
.cta-textarea::placeholder {
    color: #666666;
}

.cta-textarea {
    min-height: 132px;
    resize: vertical;
    border-radius: 26px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.cta-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.site-footer {
    padding: 76px 14.3vw 34px;
    background: #060606;
    color: rgba(255, 255, 255, 0.82);
    border-top-left-radius: 72px;
    border-top-right-radius: 72px;
}

.footer-prelude {
    min-height: 96px;
    background: #efe7dd;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(320px, max-content);
    gap: 48px 72px;
}

.footer-title {
    margin-bottom: 26px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}

.footer-list {
    list-style: none;
}

.footer-list li + li {
    margin-top: 18px;
}

.footer-list a,
.footer-list span {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.02rem;
    line-height: 1.6;
    transition: color 180ms ease;
}

.footer-address {
    white-space: nowrap;
}

.footer-list a:hover {
    color: var(--white);
}

.footer-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 100%;
    gap: 28px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.56);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-link:hover {
    transform: translateY(-1px);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo img {
    height: 14px;
}

.footer-copy {
    max-width: none;
    text-align: right;
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.52);
    white-space: nowrap;
}

@media (max-width: 1500px) {
    .info-section,
    .section {
        padding-left: clamp(48px, 6vw, 92px);
        padding-right: clamp(48px, 6vw, 92px);
    }

    .site-footer {
        padding-left: clamp(48px, 6vw, 92px);
        padding-right: clamp(48px, 6vw, 92px);
    }

    .problem-grid,
    .difference-grid,
    .cta-row {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
        width: 100%;
    }

    .problem-list {
        width: 100%;
        padding-right: clamp(150px, 16vw, 220px);
    }

    .problem-card {
        width: min(520px, 44vw);
        margin-left: clamp(-240px, -16vw, -150px);
    }

    .difference-card:first-child {
        width: 100%;
        padding-right: clamp(150px, 16vw, 210px);
    }

    .difference-card:last-child {
        width: min(500px, 42vw);
        margin-left: clamp(-190px, -11vw, -120px);
    }

    .cta-panel {
        width: 100%;
        padding-right: clamp(220px, 20vw, 270px);
    }

    .cta-actions {
        margin-left: clamp(-320px, -22vw, -220px);
    }

    .cta-form {
        width: min(640px, 48vw);
    }

    .footer-columns {
        gap: 44px 56px;
    }
}

@media (max-width: 1180px) {
    .hero {
        padding: 0 28px;
    }

    .features-bar {
        gap: 32px;
        padding: 0 16px 26px;
    }

    .info-section {
        padding: 64px 28px 82px;
    }

    .section {
        padding: 72px 28px;
    }

    #rolunk {
        padding-bottom: 34px;
    }

    #kapcsolat {
        padding-top: 34px;
    }

    .problem-grid,
    .intro-grid,
    .difference-grid,
    .bridge-grid,
    .cta-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .references-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .faq-video {
        grid-template-columns: 1fr;
    }

    .faq-summary,
    .faq-answer {
        padding-left: 28px;
        padding-right: 28px;
    }

    .problem-card {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-top: 0;
        padding: 34px 30px;
    }

    .problem-list {
        width: 100%;
        max-width: none;
        padding: 34px 30px;
    }

    .intro-copy {
        max-width: none;
    }

    .intro-card {
        justify-self: stretch;
        width: 100%;
        max-width: none;
        margin-left: 0;
        padding: 34px;
    }

    .intro-card::before {
        display: none;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .difference-card:first-child,
    .difference-card:last-child {
        width: auto;
        max-width: none;
        padding-right: 34px;
        margin-left: 0;
        margin-top: 0;
    }

    .bridge-stack {
        width: 100%;
        margin-left: 0;
        min-height: 0;
        padding-top: 0;
    }

    .bridge-gallery {
        grid-template-columns: 1fr;
        margin-bottom: 18px;
    }

    .bridge-media {
        height: 220px;
    }

    .bridge-card {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
    }

    .bridge-card {
        width: 100%;
        margin-top: 0;
    }

    .cta-actions {
        margin-left: 0;
        margin-top: 0;
    }

    .cta-panel {
        width: 100%;
        max-width: none;
        padding: 34px 30px;
    }

    .cta-panel .section-eyebrow,
    .cta-panel .section-title,
    .cta-panel p {
        max-width: none;
    }

    .cta-form {
        width: 100%;
        max-width: none;
    }

    .site-footer {
        padding: 64px 28px 32px;
        border-top-left-radius: 56px;
        border-top-right-radius: 56px;
    }

    .footer-prelude {
        min-height: 80px;
    }

    .footer-top,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-side {
        align-items: flex-start;
    }

    .footer-bottom {
        justify-content: space-between;
    }

    .footer-copy {
        text-align: left;
    }
}

@media (max-width: 1180px) {
    .hero {
        min-height: auto;
    }

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

    .navbar {
        justify-content: space-between;
        left: 28px;
        right: 28px;
        gap: 18px;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 16px;
        margin-left: auto;
    }

    .btn-courses {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    body.navbar-past-hero .navbar {
        left: 28px;
        right: 28px;
        width: auto;
    }

    body.navbar-past-hero .nav-brand,
    body.menu-open .nav-brand {
        opacity: 1;
        visibility: visible;
        transform: none;
        width: auto;
        overflow: visible;
        pointer-events: auto;
    }

    .nav-brand img {
        height: 13px;
    }

    .hero-body {
        padding: 128px 0 140px;
    }

    .hero-subtitle {
        margin-bottom: 48px;
    }

}

@media (max-width: 640px) {
    .hero {
        padding: 0 18px;
    }

    .navbar {
        --navbar-offset: 10px;
        left: 10px;
        right: 10px;
        padding: 12px 14px;
    }

    body.navbar-past-hero .navbar {
        left: 10px;
        right: 10px;
        width: auto;
    }

    .nav-brand img {
        height: 12px;
    }

    .btn-courses {
        padding-left: 18px;
        gap: 12px;
        font-size: 12px;
    }

    .btn-courses .arrow-circle {
        width: 34px;
        height: 34px;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
    }

    .hero-body {
        align-items: stretch;
        text-align: center;
        padding: 116px 0 120px;
    }

    .hero-title {
        font-size: 2.65rem;
    }

    .search-container {
        padding: 8px 68px 8px 8px;
        border-radius: 999px;
    }

    .search-input {
        font-size: 0.92rem;
        padding: 18px 14px 18px 80px;
    }

    .search-prefix {
        left: 22px;
        font-size: 0.92rem;
    }

    .info-section {
        padding: 56px 18px 72px;
    }

    .section {
        padding: 58px 18px;
    }

    #rolunk {
        padding-bottom: 28px;
    }

    #kapcsolat {
        padding-top: 28px;
    }

    .problem-list,
    .problem-card,
    .intro-card,
    .difference-card,
    .bridge-card,
    .package-card,
    .comparison-card,
    .cta-panel,
    .cta-form {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .faq-item {
        border-radius: 24px;
    }

    .problem-list {
        padding: 28px 20px;
    }

    .section-title {
        font-size: 1.16rem;
        line-height: 1.3;
    }

    .section-eyebrow {
        font-size: clamp(2.8rem, 17vw, 4.8rem);
        line-height: 0.94;
    }

    #szolgaltatasok .section-eyebrow {
        display: block;
        max-width: 6.6ch;
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .reference-logo {
        min-height: 84px;
        padding: 14px 16px;
        border-radius: 24px;
    }

    .reference-logo img {
        max-width: 132px;
        max-height: 30px;
    }

    .reference-logo img.logo-builder,
    .reference-logo img.logo-biotech {
        max-width: 118px;
        max-height: 24px;
    }

    .reference-logo img.logo-grofie {
        max-width: 72px;
        max-height: 40px;
    }

    .faq-list {
        gap: 14px;
        margin-top: 30px;
    }

    .faq-video {
        margin-top: 28px;
        padding: 20px;
        border-radius: 24px;
    }

    .faq-video-frame {
        border-radius: 20px;
    }

    .faq-summary {
        gap: 18px;
        padding: 22px 20px;
    }

    .faq-question {
        font-size: clamp(1.15rem, 6vw, 1.5rem);
        line-height: 1.18;
    }

    .faq-icon {
        width: 46px;
        height: 46px;
    }

    .faq-answer {
        padding: 0 20px 22px;
    }

    .faq-answer p {
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .site-footer {
        padding: 54px 18px 28px;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }

    .footer-prelude {
        min-height: 64px;
    }

    .footer-columns {
        gap: 36px;
    }

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

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

    .footer-list a,
    .footer-list span,
    .footer-copy {
        font-size: 0.96rem;
    }

    .footer-copy {
        white-space: normal;
    }

    .closing-link {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
        font-size: 1rem;
    }

    .closing-link .arrow-circle {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .mobile-menu {
        padding: calc(var(--safe-area-top) + 92px) 20px 28px;
    }

    .bridge-gallery {
        --bridge-peek: 64px;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - var(--bridge-peek));
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: calc(var(--bridge-peek) / 2);
        padding: 0 calc(var(--bridge-peek) / 2) 8px;
        margin: 0 -18px 18px;
        scrollbar-width: none;
    }

    .bridge-media {
        height: 240px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .mobile-menu-nav {
        gap: 14px;
        margin-top: clamp(72px, 16vh, 140px);
    }

    .mobile-menu-nav a {
        font-size: clamp(2.2rem, 11vw, 3.6rem);
    }

    .mobile-menu-contact a {
        font-size: 0.94rem;
    }
}
