/* =========================================================
   Global variables
   ========================================================= */

:root {
    --bg: #07090d;
    --bg-soft: #0e141d;
    --card: rgba(255, 255, 255, 0.06);
    --text: #f5f7fa;
    --muted: #aab4c0;
    --line: rgba(255, 255, 255, 0.13);
    --accent: #d8a24a;
    --accent-hot: #ff6b3d;
    --accent-cold: #7fb8d8;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    --max: 1180px;
}

/* =========================================================
   Base reset
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 4%, rgba(127, 184, 216, 0.16), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(216, 162, 74, 0.12), transparent 28%),
        linear-gradient(180deg, #05070a 0%, var(--bg) 44%, #090c12 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   Layout container
   ========================================================= */

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

/* =========================================================
   Header and navigation
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 7, 10, 0.72);
    backdrop-filter: blur(18px);
}

.nav-wrapper {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 900;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-hot));
    color: #05070a;
    box-shadow: 0 14px 38px rgba(216, 162, 74, 0.24);
    font-weight: 950;
}

.brand small {
    display: block;
    margin-top: -4px;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: rgba(245, 247, 250, 0.82);
    font-size: 0.94rem;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.language-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 800;
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.06);
}

/* Mobile menu button */
.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
}

/* =========================================================
   Hero section
   ========================================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    align-items: center;
    padding: 135px 0 90px;
    overflow: hidden;
}

/* Hero background image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.75) 44%, rgba(5, 7, 10, 0.2) 100%),
        url("../../img/johannes-blenke-cMjMvJnI0rQ-unsplash.jpg") center/cover;
    transform: scale(1.02);
}

/* Fade between hero and page background */
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 240px;
    z-index: -1;
    background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
    color: rgba(245, 247, 250, 0.88);
    font-size: 0.88rem;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 22px var(--accent);
}

h1 {
    max-width: 890px;
    margin-bottom: 28px;
    font-size: clamp(3rem, 7.8vw, 7.55rem);
    line-height: 0.9;
    letter-spacing: -0.085em;
}

.hero-content p {
    max-width: 720px;
    margin-bottom: 34px;
    color: rgba(245, 247, 250, 0.78);
    font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--text);
    color: #05070a;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    backdrop-filter: blur(14px);
}

/* =========================================================
   Hero stats
   ========================================================= */

.stats-grid {
    max-width: 680px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-card,
.text-card,
.service-card,
.hero-panel,
.contact-form {
    border: 1px solid var(--line);
    background: var(--card);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 18px;
    border-radius: 18px;
}

.stat-card strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.88rem;
}

/* =========================================================
   Hero image panel
   ========================================================= */

.hero-panel {
    border-radius: 32px;
    padding: 24px;
}

.hero-panel img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 22px;
}

.hero-panel h2 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.hero-panel p {
    color: var(--muted);
}

/* =========================================================
   Generic sections
   ========================================================= */

.section {
    padding: 96px 0;
}

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

.section-kicker {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

h2 {
    font-size: clamp(2.1rem, 4.2vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.text-card {
    border-radius: var(--radius);
    padding: 34px;
}

.text-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.text-card p:last-child {
    margin-bottom: 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 36px;
}

.section-heading p {
    max-width: 440px;
    color: var(--muted);
}

/* =========================================================
   Services section
   ========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    min-height: 250px;
    border-radius: var(--radius);
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 162, 74, 0.45);
}

.service-number {
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 48px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

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

/* =========================================================
   About section IMDb card
   ========================================================= */

.about-imdb-link {
    width: 100%;
    margin-top: 28px;
}

/* =========================================================
   External partner cards
   ========================================================= */

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-height: 96px;
    padding: 18px 24px;
    border: 1px solid rgba(216, 162, 74, 0.34);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04));
    color: var(--text);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.partner-link:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 162, 74, 0.62);
    background:
        linear-gradient(135deg, rgba(216, 162, 74, 0.16), rgba(255, 255, 255, 0.055));
}

.partner-link strong {
    display: block;
    font-size: 1.12rem;
    line-height: 1.2;
    margin-bottom: 5px;
}

.partner-link span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.partner-link::after {
    content: "↗";
    margin-left: auto;
    color: var(--accent);
    font-weight: 900;
    font-size: 1.2rem;
}

/* IMDb image logo */
.imdb-logo-img {
    width: 118px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.imdb-link {
    min-width: min(100%, 560px);
}

/* =========================================================
   Snow effects section
   ========================================================= */

.snow-section {
    background: linear-gradient(180deg, transparent, rgba(127, 184, 216, 0.06), transparent);
}

.snow-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.snow-image img {
    width: 100%;
    border-radius: 32px;
    min-height: 480px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.snow-content p {
    color: var(--muted);
    margin: 24px 0;
    max-width: 680px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.check-list li {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.check-list li::before {
    content: "✓";
    color: var(--accent-cold);
    margin-right: 10px;
    font-weight: 900;
}

/* =========================================================
   Work / credits section
   ========================================================= */

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.work-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--card);
}

.work-card img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
}

.work-card:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.work-card h3 {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    font-size: 1.5rem;
    max-width: 260px;
}

/* =========================================================
   Facilities section
   ========================================================= */

.facility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.facility-tags span {
    padding: 10px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
}

/* =========================================================
   Contact section
   ========================================================= */

.contact-section {
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 44px;
    align-items: start;
}

.contact-copy p:last-child {
    color: var(--muted);
    margin-top: 22px;
    max-width: 430px;
}

.contact-form {
    border-radius: 30px;
    padding: 28px;
    display: grid;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.065);
    color: var(--text);
    font: inherit;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(245, 247, 250, 0.54);
}

input:focus,
textarea:focus {
    border-color: rgba(216, 162, 74, 0.6);
}

textarea {
    resize: vertical;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 38px 0;
    background: rgba(0, 0, 0, 0.24);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    color: var(--muted);
}

.footer-info {
    max-width: 620px;
}

.footer-grid h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.footer-credit {
    margin-top: 14px;
    color: rgba(245, 247, 250, 0.62);
    font-size: 0.92rem;
}

.footer-partner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-snow-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(216, 162, 74, 0.3);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.footer-snow-link:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 162, 74, 0.55);
    background: rgba(216, 162, 74, 0.11);
}

.footer-snow-link img {
    width: 62px;
    height: auto;
    border-radius: 6px;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}

.footer-snow-link strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.2;
}

.footer-snow-link span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-snow-link::after {
    content: "↗";
    color: var(--accent);
    font-weight: 900;
    margin-left: 4px;
}

/* =========================================================
   Scroll reveal animation
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Tablet responsive styles
   ========================================================= */

@media (max-width: 980px) {
    .menu-button {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(5, 7, 10, 0.96);
    }

    .main-nav.open {
        display: flex;
    }

    .hero-grid,
    .split-grid,
    .snow-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 20px;
    }

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

/* =========================================================
   Mobile responsive styles
   ========================================================= */

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--max));
    }

    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .stats-grid,
    .services-grid,
    .work-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-panel img,
    .snow-image img,
    .work-card,
    .work-card img {
        min-height: 300px;
        height: 300px;
    }

    .partner-link {
        width: 100%;
        align-items: flex-start;
        padding: 18px;
    }

    .imdb-logo-img {
        width: 56px;
        max-height: 30px;
    }

    .partner-link strong {
        font-size: 1rem;
    }

    .partner-link span {
        font-size: 0.84rem;
    }

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

    .footer-partner {
        justify-content: flex-start;
        width: 100%;
    }

    .footer-snow-link {
        width: 100%;
    }
}