:root {
    --bg: #f4f8fb;
    --surface: #ffffff;
    --surface-soft: #eef5f8;
    --ink: #0a1722;
    --muted: #5f7180;
    --line: #d9e4ea;
    --navy: #07131f;
    --navy-2: #0c2233;
    --cyan: #54d6ff;
    --cyan-strong: #18bff4;
    --ice: #dff7ff;
    --orange: #ff9f43;
    --success: #167d4f;
    --danger: #b82d2d;
    --radius: 24px;
    --shadow: 0 22px 60px rgba(7, 19, 31, .12);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(820px, 100%); }

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: white;
    color: black;
    padding: 10px 14px;
    border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: .25s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(7, 19, 31, .92);
    border-bottom-color: rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}

.site-logo {
    padding: 10px;
    display: block;
    width: 450px;
    height: auto;
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    color: var(--cyan);
    font-size: 26px;
    background: rgba(255,255,255,.05);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { letter-spacing: .08em; font-size: 18px; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.64); font-size: 11px; letter-spacing: .03em; }

.main-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 650; }
.main-nav > a { transition: .2s ease; }
.main-nav > a:hover { color: white; }
.nav-cta {
    padding: 11px 17px;
    border-radius: 999px;
    background: var(--cyan);
    color: var(--navy) !important;
}
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 0; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: white; margin: 5px 0; border-radius: 2px; }

.hero {
    position: relative;
    min-height: 700px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: white;
    background: var(--navy);
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    z-index: 0;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url('https://xn--htgpszervz-d7a8c58f0m.hu/v3/wp-content/uploads/2025/05/arak-1-scaled.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 77% 38%, rgba(84, 214, 255, .20), transparent 30%),
        linear-gradient(90deg, rgba(3,13,22,.94) 0%, rgba(5,17,28,.82) 46%, rgba(5,17,28,.42) 76%, rgba(5,17,28,.28) 100%),
        linear-gradient(0deg, rgba(7,19,31,.62), transparent 44%);
}
.hero-content { position: relative; z-index: 2; padding-top: 112px; }
.eyebrow {
    margin: 0 0 18px;
    color: var(--cyan-strong);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .18em;
}
.hero h1, .subpage-hero h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(48px, 6.3vw, 86px);
    line-height: .98;
    letter-spacing: -.045em;
}
.hero h1 span { color: var(--cyan); }
.hero-lead {
    max-width: 660px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.76);
    font-size: clamp(18px, 2vw, 22px);
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 780;
    letter-spacing: -.01em;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: var(--navy); }
.button-primary:hover { background: white; }
.button-ghost { color: white; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.05); }
.button-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #15364e; }
.hero-badges {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    margin-top: 54px;
    color: rgba(255,255,255,.66);
    font-size: 13px;
}
.hero-badges span { display: flex; align-items: baseline; gap: 8px; }
.hero-badges strong { color: white; font-size: 24px; line-height: 1; }

.trust-strip { background: var(--navy); color: white; border-top: 1px solid rgba(255,255,255,.08); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid span { padding: 22px 18px; text-align: center; color: rgba(255,255,255,.66); font-size: 13px; border-right: 1px solid rgba(255,255,255,.08); }
.trust-grid span:last-child { border-right: 0; }

.section { padding: 112px 0; }
.section-heading { margin-bottom: 54px; }
.section-heading h2, .reasons-copy h2, .grant-card h2, .contact-copy h2 {
    margin: 0;
    font-size: clamp(36px, 4.2vw, 62px);
    line-height: 1.03;
    letter-spacing: -.04em;
}
.section-heading > p:last-child { max-width: 720px; color: var(--muted); font-size: 18px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.split-heading > p { margin: 0; }
.centered-heading { text-align: center; }
.centered-heading p:last-child { margin-inline: auto; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.service-card {
    position: relative;
    min-height: 340px;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #b8d9e7; }
.service-card.featured { background: var(--navy); color: white; border-color: var(--navy); }
.service-card.featured p { color: rgba(255,255,255,.64); }
.service-card.featured .service-number { color: rgba(255,255,255,.12); }
.service-number { position: absolute; top: 22px; right: 28px; color: #dce7ec; font-size: 56px; font-weight: 900; letter-spacing: -.05em; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--ice); color: var(--navy); font-size: 25px; }
.service-card.featured .service-icon { background: rgba(84,214,255,.14); color: var(--cyan); }
.service-card h3 { margin: 84px 0 12px; max-width: 430px; font-size: 28px; line-height: 1.08; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); max-width: 500px; }

.section-dark { background: var(--navy); color: white; }
.section-heading-light > p:last-child { color: rgba(255,255,255,.58); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { position: relative; min-height: 340px; border-radius: 20px; overflow: hidden; background: #183143; }
.project-card.project-wide { grid-column: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.045); }
.project-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,14,23,.84), rgba(4,14,23,.03) 70%); }
.project-meta { position: absolute; left: 24px; bottom: 22px; right: 24px; }
.project-meta span { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-meta h3 { margin: 6px 0 0; font-size: 24px; letter-spacing: -.02em; }

.reasons-section { background: #eaf2f6; }
.reasons-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; align-items: start; }
.reasons-copy { position: sticky; top: 128px; }
.reasons-copy p { color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 18px; font-weight: 800; }
.text-link span { color: var(--cyan-strong); font-size: 20px; }
.reason-list { border-top: 1px solid #c9d9e0; }
.reason-list article { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid #c9d9e0; }
.reason-list article > strong { color: #9db1bd; font-size: 14px; }
.reason-list h3 { margin: 0 0 5px; font-size: 23px; letter-spacing: -.02em; }
.reason-list p { margin: 0; color: var(--muted); }

.pricing-section { background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-items: stretch; }
.price-card { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fbfdfe; }
.price-card-main { background: var(--navy); color: white; border-color: var(--navy); }
.price-label { color: var(--cyan-strong); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; }
.price strong { font-size: 44px; letter-spacing: -.04em; }
.price small { color: rgba(255,255,255,.56); }
.price-card h3 { margin: 18px 0 24px; font-size: 26px; line-height: 1.1; }
.price-card p, .price-card small { color: var(--muted); }
.price-card-main p, .price-card-main li { color: rgba(255,255,255,.7); }
.price-card ul { padding-left: 20px; margin: 22px 0 30px; }
.price-card dl { margin: 22px 0 14px; }
.price-card dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-card dt { color: var(--muted); }
.price-card dd { margin: 0; font-weight: 800; text-align: right; }

.grant-card-project {
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: stretch;
}

.grant-project-image {
    overflow: hidden;
    border-radius: 14px;
    background: transparent;
}

.grant-project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.grant-project-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 24px 38px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.grant-project-content p {
    margin: 0 0 24px;
    line-height: 1.6;
}

.grant-project-content a {
    margin-top: 4px;
    width: fit-content;
    text-decoration: underline;
}

/* Mobil */
@media (max-width: 800px) {
    .grant-card-project {
        grid-template-columns: 1fr;
    }

    .grant-project-content {
        padding: 24px;
    }

    .grant-project-image img {
        height: auto;
    }
}

.contact-section { background: #081723; color: white; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: start; }
.contact-copy > p { color: rgba(255,255,255,.62); font-size: 17px; }
.contact-cards { display: grid; gap: 10px; margin: 32px 0; }
.contact-cards > * { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-cards span, .department-list span { color: rgba(255,255,255,.45); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.contact-cards strong { text-align: right; }
.department-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 30px; }
.department-list > div { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); }
.department-list strong, .department-list a { display: block; }
.department-list a { margin-top: 5px; color: var(--cyan); font-size: 13px; overflow-wrap: anywhere; }

.contact-form { background: white; color: var(--ink); padding: 34px; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.contact-form label { display: block; font-size: 13px; font-weight: 760; color: #3a4d5a; margin-bottom: 18px; }
.contact-form input, .contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #cad8df;
    border-radius: 13px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfdfe;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan-strong); box-shadow: 0 0 0 4px rgba(24,191,244,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-row { display: grid !important; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-weight: 500 !important; line-height: 1.45; }
.checkbox-row input { width: 18px; height: 18px; margin: 2px 0 0; }
.checkbox-row a { color: #087fa6; text-decoration: underline; }
.submit-button { width: 100%; border: 0; }
.submit-button:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 24px; margin: 14px 0 0; font-size: 14px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: #041019; color: rgba(255,255,255,.68); border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; padding: 64px 0 46px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p { max-width: 430px; }
.footer-grid h3 { color: white; font-size: 14px; margin: 0 0 14px; }
.footer-grid > div:nth-child(n+2) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.42); }

.footer-logo {
    padding: 10px;
    display: block;
    width: 450px;
    height: auto;
}

.subpage-hero { padding: 180px 0 90px; color: white; background:
    radial-gradient(circle at 85% 20%, rgba(84,214,255,.18), transparent 28%),
    linear-gradient(135deg, #07131f, #0d2a3c); }
.subpage-hero h1 { font-size: clamp(48px, 6vw, 78px); }
.subpage-hero p:last-child { max-width: 760px; color: rgba(255,255,255,.68); font-size: 19px; }
.compact-hero { padding-bottom: 72px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; }
.prose h2 { margin: 56px 0 16px; font-size: 32px; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #4f6573; font-size: 17px; }
.feature-stack { display: grid; gap: 12px; margin-top: 26px; }
.feature-stack > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.feature-stack strong { color: #9db0bc; }
.feature-stack p { margin: 0; }
.project-facts { margin: 24px 0; border-top: 1px solid var(--line); }
.project-facts > div { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--muted); }
.project-facts dd { margin: 0; font-weight: 750; }
.legal-note { padding: 22px; border-left: 3px solid var(--cyan-strong); background: #eaf9ff; }
.notice-box { padding: 24px; border-radius: 18px; background: #fff6df; border: 1px solid #edd9a5; }
.notice-box strong { display: block; margin-bottom: 8px; }
.notice-box p { margin: 0; color: #6d5a2e; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .nav-toggle { display: block; z-index: 2; }
    .main-nav {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        background: rgba(4,16,25,.98);
        transform: translateY(-105%);
        opacity: 0;
        visibility: hidden;
        transition: .28s ease;
        font-size: 20px;
    }
    .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .split-heading, .reasons-grid, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
    .reasons-copy { position: static; }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card.project-wide { grid-column: span 2; }
    .grant-card { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: span 2; }

}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { min-height: 74px; }
    .brand-mark { width: 42px; height: 42px; }
    .brand-copy strong { font-size: 16px; }
    .brand-copy small { display: none; }
    .hero { min-height: 700px; }
    .hero-content { padding-top: 90px; }
    .hero h1 { font-size: clamp(42px, 14vw, 62px); }
    .hero-badges { gap: 18px 28px; }
    .trust-grid { grid-template-columns: repeat(2,1fr); }
    .trust-grid span:nth-child(2) { border-right: 0; }
    .trust-grid span { border-bottom: 1px solid rgba(255,255,255,.08); }
    .section { padding: 78px 0; }
    .service-grid, .pricing-grid, .project-grid { grid-template-columns: 1fr; }
    .project-card.project-wide { grid-column: auto; }
    .project-card { min-height: 300px; }
    .service-card { min-height: auto; }
    .service-card h3 { margin-top: 64px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .department-list { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .subpage-hero { padding: 142px 0 64px; }
    .subpage-hero h1 { font-size: clamp(42px, 12vw, 58px); }
    .project-facts > div { grid-template-columns: 1fr; gap: 4px; }
    .feature-stack > div { grid-template-columns: 42px 1fr; padding: 16px; }
}
