/*
 * Filmlet: a nyilvanos oldalak (fooldal, tamogatas) stilusa. A filmlet.css valtozoit hasznalja (--paper, --line,
 * --mute); a tinta (#111111) es a terrakotta (#C4603A) a Filmlet-logo ket szine. Az Outfit betu sajat fajlbol jon
 * (public/fonts, OFL), kulso betutipus a CSP miatt nincs. Inline stilus nincs.
 */

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/outfit-400.ttf") format("truetype");
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/outfit-600.ttf") format("truetype");
}

.site {
    --ink: #111111;
    --terra: #C4603A;
    --wrap: 960px;
    display: flex;
    flex-direction: column;
    font-family: "Outfit", var(--sans);
    color: var(--ink);
}

.site a {
    color: inherit;
}

/* ---------- Fejlec ---------- */

.site-top {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding:
        calc(var(--safe-top) + 20px)
        calc(var(--safe-right) + 24px)
        0
        calc(var(--safe-left) + 24px);
}

.site-top__home {
    display: inline-block;
}

.site-top__logo {
    display: block;
    width: auto;
    height: 28px;
}

/* ---------- Tartalom ---------- */

.site-main {
    flex: 1 0 auto;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 calc(var(--safe-right) + 24px) 40px calc(var(--safe-left) + 24px);
}

.site-main--narrow {
    max-width: 720px;
}

.site-hero {
    padding: 56px 0 8px;
}

.site-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}

.site-eyebrow::before {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--terra);
}

.site-title {
    max-width: 14em;
    margin-top: 18px;
    font-size: clamp(34px, 7vw, 60px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

.site-title--page {
    margin-top: 40px;
    font-size: clamp(32px, 6vw, 44px);
}

.site-lead {
    max-width: 34em;
    margin-top: 20px;
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.5;
}

.site-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 1.5px solid var(--ink);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.site .site-btn--primary {
    background: var(--ink);
    color: #fff;
}

.site-btn--ghost {
    background: transparent;
}

.site-btn:active {
    opacity: 0.85;
}

.site-btn:focus-visible,
.site-faq summary:focus-visible,
.site a:focus-visible {
    outline: 2px solid var(--terra);
    outline-offset: 3px;
}

.site-note {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--mute);
}

.site-block {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.site-hero + .site-block {
    margin-top: 56px;
}

.site-h2 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}

.site-text {
    max-width: 34em;
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.55;
}

.site-mail {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.site-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    list-style: none;
}

.site-tags li {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 17px;
    font-weight: 600;
}

/* ---------- Gyakori kerdesek ---------- */

.site-faq {
    margin-top: 8px;
}

.site-faq__item {
    border-bottom: 1px solid var(--line);
}

.site-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

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

.site-faq summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid var(--terra);
    border-bottom: 2px solid var(--terra);
    transform: rotate(45deg);
    transition: transform 0.15s ease;
}

.site-faq details[open] summary::after {
    transform: rotate(225deg);
}

.site-faq__item p {
    max-width: 34em;
    padding-bottom: 18px;
    font-size: 17px;
    line-height: 1.55;
}

.site-faq__item p + p {
    margin-top: -8px;
}

.site-faq__item a {
    font-weight: 600;
}

/* ---------- Lablec ---------- */

.site-foot {
    flex: none;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding:
        20px
        calc(var(--safe-right) + 24px)
        calc(var(--safe-bottom) + 28px)
        calc(var(--safe-left) + 24px);
    border-top: 1px solid var(--line);
}

.site-foot__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    font-size: 15px;
}

.site-foot__nav a {
    padding: 6px 0;
    color: var(--ink);
}

.site-foot__operator {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--mute-soft);
    overflow-wrap: anywhere;
}

/* ---------- Mobil ---------- */

@media (max-width: 560px) {
    .site-hero {
        padding-top: 36px;
    }

    .site-actions {
        flex-direction: column;
    }

    .site-btn {
        width: 100%;
    }

    .site-faq summary {
        font-size: 18px;
    }
}
