:root {
    --bg: #f4f5f6;
    --bg-light: #ffffff;
    --bg-muted: #e9ecef;
    --bg-dark: #171b20;

    --text: #1d252d;
    --text-muted: #5d6873;
    --text-light: #f8f9fa;

    --steel: #6f7d8a;
    --steel-light: #aeb7bf;
    --steel-dark: #303841;

    --accent: #2f6f73;
    --accent-dark: #24575a;
    --accent-light: #9fcfd1;

    --border: #d5d9de;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

    --radius: 18px;
    --max: 1380px;
}

/* Reset / alapok */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-top: 0;
}

.container {
    width: min(100% - 16px, var(--max));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

/* Header */

.site-header {
    background: #f2f4f5;
    color: #1d252d;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #d5d9de;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1d252d;
    text-decoration: none;
    flex-shrink: 0;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #aeb7bf, #3d464f);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}

.brand-text strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-text small {
    display: block;
    color: #b8c1ca;
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.95rem;
}

.main-nav a {
    color: #1d252d;
    white-space: nowrap;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--accent);
}

.lang-switch {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.lang-switch a {
    color: #1d252d;
    border: 1px solid #c5ccd3;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    text-decoration: none;
    background: #ffffff;
}

.lang-switch a.active {
    background: #303841;
    color: #ffffff;
    border-color: #303841;
}

/* Hero */

.hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #15191e 0%, #2f3841 50%, #68737d 100%);
    color: var(--text-light);
    padding: 92px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 80px solid rgba(255,255,255,0.045);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}

.hero .eyebrow,
.section-dark .eyebrow {
    color: var(--accent-light);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-top: 0;
    color: inherit;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    margin-bottom: 22px;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.hero-lead,
.section-lead {
    font-size: 1.15rem;
    max-width: 760px;
}

.hero-lead {
    color: #d9e0e6;
}

.section-lead {
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: 0.18s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(47, 111, 115, 0.28);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Hero Card */

.hero-card {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.hero-card h2 {
    font-size: 1.45rem;
}

.hero-card ul,
.check-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.hero-card li,
.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.hero-card li::before,
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 700;
}

.check-list li::before {
    color: var(--accent);
}

/* Sections */

.section {
    padding: 84px 0;
    background: var(--bg-light);
}

.section-muted {
    background: var(--bg-muted);
}

.section-dark {
    background:
        linear-gradient(135deg, #171b20, #303841);
    color: var(--text-light);
}

.section-dark p {
    color: #d9e0e6;
}

/* Grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin-top: 34px;
}

/* Cards */

.info-card,
.step,
.contact-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--steel), var(--accent));
    border-radius: 999px;
    margin-bottom: 18px;
}

.info-card p,
.step p {
    color: var(--text-muted);
}

/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.step span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--steel-dark);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Contact */

.contact-box {
    margin-top: 28px;
    border-left: 5px solid var(--accent);
}

.contact-box p:last-child {
    margin-bottom: 0;
}

/* Footer */

.site-footer {
    background: #e9ecef;
    color: #1d252d;
    padding: 34px 0;
    border-top: 1px solid #d5d9de;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.site-footer strong {
    color: #1d252d;
}

.site-footer p {
    margin: 6px 0;
}

.site-footer a {
    color: var(--accent);
    font-weight: 600;
}

/* Responsive */

@media (max-width: 1100px) {
    .main-nav {
        gap: 12px;
        font-size: 0.88rem;
    }
}

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }

    .hero-inner,
    .grid-3,
    .grid-2,
    .steps,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 64px 0;
    }

    .section {
        padding: 62px 0;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, var(--max));
    }

    .header-inner {
        gap: 14px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-text small {
        display: none;
    }

    .main-nav {
        gap: 10px;
        font-size: 0.86rem;
    }

    .main-nav a {
        padding: 4px 0;
    }

    .hero {
        padding: 52px 0;
    }

    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    .hero-card,
    .info-card,
    .step,
    .contact-box {
        padding: 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}
.brand-logo {
    height: 46px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.brand-animated {
    animation: logoSlideIn 0.85s ease-out both;
}

@keyframes logoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-28px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}