:root {
    color-scheme: dark;
    --primary-color: #EB9255;
    --primary-hover: #F6B26B;
    --primary-deep: #D67E3E;
    --bg-dark: #292929;
    --bg-darker: #1A1A1A;
    --bg-light: #333333;
    --text-white: #FFFFFF;
    --text-dark: #E5E7EB;
    --text-muted: #9CA3AF;
    --nav-text: #E5E7EB;
    --border-color: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(26, 26, 26, 0.85);
    --header-bg-scrolled: rgba(26, 26, 26, 0.95);
    --card-bg: #1A1A1A;
    --font-main: 'Roboto', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    --header-height: 80px;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    background-color: var(--bg-dark);
}

body.page-ff {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1002;
    display: flex;
    align-items: center;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-header.scrolled {
    background-color: var(--header-bg-scrolled);
    height: 70px;
    box-shadow: var(--shadow-lg);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    line-height: 1.05;
    padding: 6px 0;
}

.logo-word {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.14em;
    color: #fff;
}

.logo-sub {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

#main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

#main-nav ul li {
    margin-left: 30px;
}

#main-nav ul li a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-accent);
    transition: var(--transition);
}

#main-nav ul li a:hover {
    color: var(--primary-color);
}

.lang-switch {
    background: rgba(235, 146, 85, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(235, 146, 85, 0.2);
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-accent);
    cursor: pointer;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary-color);
    color: #fff;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--nav-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-deep));
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(235, 146, 85, 0.4), 0 0 30px rgba(235, 146, 85, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(235, 146, 85, 0.65);
}

.btn-secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a1a !important;
}

.ff-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 30px) 0 40px;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    z-index: 1;
    background: linear-gradient(135deg, rgba(43, 43, 43, 0.97) 0%, rgba(43, 43, 43, 0.6) 50%, rgba(235, 146, 85, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-text-backdrop {
    background: rgba(10, 10, 15, 0.45);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-radius: var(--border-radius);
    padding: 40px 45px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.hero-tagline {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ff-hero h1 {
    font-family: var(--font-accent);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 18px;
    color: #fff;
}

.ff-hero h1 em {
    font-style: normal;
    color: var(--primary-color);
}

.ff-hero .hero-text-backdrop > p {
    font-size: 1.15rem;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero-features {
    list-style: none;
    margin: 8px 0 0;
}

.hero-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.hero-features li::before {
    content: '🔥';
    position: absolute;
    left: 0;
    top: 1px;
}

.hero-features strong {
    color: var(--primary-color);
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ff-section {
    padding: 70px 0;
}

.ff-section.alt {
    background: var(--bg-darker);
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 2.1rem;
    margin-bottom: 12px;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 16px;
}

.ff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ff-card {
    background: linear-gradient(180deg, #1A1A1A, #222);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    overflow: hidden;
}

.ff-card.has-media {
    padding: 0;
}

.ff-card.has-media img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ff-card-body {
    padding: 24px 28px 28px;
}

.ff-figure {
    max-width: 960px;
    margin: 0 auto 40px;
}

.ff-figure img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.ff-figure.tight {
    margin-bottom: 0;
}

.ff-media-split {
    margin-bottom: 40px;
    align-items: stretch;
}

.ff-card h3 {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.ff-card p {
    color: var(--text-muted);
}

.ff-kicker {
    color: var(--primary-color);
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.ff-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.ff-split img {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
    box-shadow: var(--shadow-lg);
}

.ff-split h2 {
    font-family: var(--font-accent);
    font-size: 2rem;
    margin-bottom: 14px;
}

.ff-split p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.ff-faq {
    max-width: 800px;
    margin: 0 auto;
}

.ff-faq details {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 12px;
}

.ff-faq summary {
    font-family: var(--font-accent);
    font-weight: 600;
    cursor: pointer;
}

.ff-faq p {
    margin-top: 10px;
    color: var(--text-muted);
}

.ff-faq a {
    color: var(--primary-color);
}

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

.ff-steps {
    list-style: none;
    max-width: 860px;
    margin: 0 auto 40px;
    counter-reset: step;
}

.ff-steps li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 8px 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.ff-steps li::before {
    counter-increment: step;
    content: counter(step);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(235, 146, 85, 0.12);
    color: var(--primary-color);
    font-family: var(--font-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / span 2;
}

.ff-steps strong,
.ff-steps span {
    grid-column: 2;
}

.ff-steps strong {
    color: #fff;
    font-family: var(--font-accent);
}

.ff-layers {
    max-width: 860px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px 32px;
}

.ff-layers h3 {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.ff-layers ul {
    list-style: none;
}

.ff-layers li {
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.ff-layers li:last-child {
    border-bottom: none;
}

.ff-layers strong {
    color: #fff;
}

.ff-note {
    max-width: 860px;
    margin: 28px auto 0;
    color: var(--text-muted);
    text-align: center;
}

.ff-closing {
    text-align: center;
    max-width: 760px;
}

.ff-closing h2 {
    font-family: var(--font-accent);
    font-size: 2rem;
    margin-bottom: 16px;
}

.ff-closing p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.ff-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
}

.ff-form-lead {
    color: var(--text-muted);
    margin: 8px 0 20px;
}

.ff-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.ff-form input,
.ff-form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--bg-light);
    color: #fff;
    font: inherit;
}

.ff-form textarea {
    min-height: 110px;
    resize: vertical;
}

.ff-form .btn {
    width: 100%;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.kontakt-info h2 {
    font-family: var(--font-accent);
    font-size: 2rem;
    margin-bottom: 8px;
}

.kontakt-info > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    padding: 18px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    border-color: var(--primary-color);
}

.contact-card-icon {
    flex-shrink: 0;
}

.ci-icon {
    width: 28px;
    height: 28px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-card-content strong {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-accent);
}

.contact-card-content a,
.contact-card-content span {
    color: #fff;
    text-decoration: none;
}

.contact-card-content a:hover {
    color: var(--primary-color);
}

.ff-price-note {
    margin-top: 22px;
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--primary-color);
}

footer {
    padding: 50px 0 0;
    background-color: #1F2226;
    border-top: 3px solid var(--primary-color);
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    max-width: 280px;
    margin-top: 8px;
}

.footer-brand a {
    color: inherit;
    text-decoration: none;
}

.footer-brand a:hover {
    color: var(--primary-color);
}

.footer-col h4 {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.ffvr-wordmark {
    height: 28px;
    width: auto;
    display: block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.78rem;
    font-family: var(--font-accent);
    font-weight: 500;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .burger-btn {
        display: flex;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--header-bg-scrolled);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 1002;
    }

    #main-nav.open {
        right: 0;
    }

    #main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #main-nav ul li {
        margin-left: 0;
    }

    #main-nav ul li a {
        font-size: 1.3rem;
        padding: 12px 30px;
        display: block;
    }

    .ff-grid,
    .ff-grid-3,
    .ff-split,
    .footer-top,
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    #main-nav ul li a {
        font-size: 1.15rem;
        padding: 10px 24px;
    }

    .hero-text-backdrop {
        padding: 28px 22px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }
}
