:root {
    --gold: #d8aa42;
    --gold-light: #ffd875;
    --black: #020304;
    --panel: rgba(5, 7, 8, 0.78);
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.76);
    --navbar-height: 96px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.home-page {
    min-height: 100vh;
}

.hero {
    position: relative;
    min-height: 108vh;
    min-height: 108svh;
    display: flex;
    align-items: center;
    isolation: isolate;
    background-image: url("./homepage.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.4) 38%, rgba(0, 0, 0, 0.05) 70%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 35%);
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    min-height: var(--navbar-height);
    padding: 0 clamp(24px, 5vw, 78px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(2, 4, 5, 0.76);
    border-bottom: 1px solid rgba(216, 170, 66, 0.7);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(13px);
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--gold-light);
    font-size: clamp(24px, 2.5vw, 38px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-decoration: none;
    text-shadow: 0 0 16px rgba(216, 170, 66, 0.5);
}

.brand-car {
    width: 145px;
    height: 22px;
    margin-bottom: 5px;
    border-top: 3px solid var(--gold-light);
    border-radius: 50% 70% 0 0;
    transform: skewX(-18deg);
    opacity: 0.9;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.4vw, 22px);
}

.main-nav > a {
    min-height: 52px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    border-radius: 10px;
    font-size: clamp(14px, 1.25vw, 19px);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: 0.25s ease;
}

.main-nav > a i {
    color: var(--gold-light);
    font-size: 1.45em;
}

.main-nav > a:hover,
.main-nav > a:focus-visible {
    color: var(--black);
    background: var(--gold);
    outline: none;
    transform: translateY(-2px);
}

.main-nav > a:hover i,
.main-nav > a:focus-visible i {
    color: var(--black);
}

.language-switcher {
    display: flex;
    padding: 4px;
    gap: 3px;
    border: 1px solid rgba(216, 170, 66, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
}

.language-button {
    width: 40px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.language-button.active,
.language-button:hover {
    color: var(--black);
    background: var(--gold);
}

.menu-toggle,
.menu-button {
    display: none;
}

.hero-content {
    width: min(620px, 44vw);
    margin-left: clamp(34px, 7vw, 120px);
    padding-top: var(--navbar-height);
    position: relative;
    z-index: 3;
}

.hero-kicker,
.section-kicker {
    margin-bottom: 14px;
    color: var(--gold-light);
    font-size: clamp(13px, 1.2vw, 17px);
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 620px;
    color: var(--white);
    font-size: clamp(40px, 4.4vw, 76px);
    line-height: 1.03;
    letter-spacing: -1.4px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
}

.hero-subtitle {
    max-width: 560px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(17px, 1.5vw, 23px);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.secondary-button {
    min-height: 58px;
    padding: 0 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.primary-button {
    color: #111;
    background: linear-gradient(145deg, #f7db87, #b9841e);
    box-shadow: 0 10px 32px rgba(216, 170, 66, 0.28);
}

.secondary-button {
    color: var(--white);
    border: 1px solid rgba(216, 170, 66, 0.8);
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(7px);
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(216, 170, 66, 0.4);
    outline: none;
}

.hero-features {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-features > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.hero-features i {
    color: var(--gold-light);
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 4;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    letter-spacing: 1.2px;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll-indicator i {
    color: var(--gold-light);
    font-size: 23px;
    animation: bounce 1.7s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.quick-section {
    min-height: 64vh;
    padding: 90px 24px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 170, 66, 0.16), transparent 42%),
        #050607;
}

.quick-card {
    width: min(850px, 100%);
    padding: clamp(34px, 6vw, 68px);
    text-align: center;
    border: 1px solid rgba(216, 170, 66, 0.45);
    border-radius: 24px;
    background: rgba(8, 10, 11, 0.86);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.quick-card h2 {
    color: var(--white);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
}

.quick-card > p:not(.section-kicker) {
    max-width: 680px;
    margin: 22px auto 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.home-footer {
    padding: 26px clamp(24px, 6vw, 90px);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.56);
    border-top: 1px solid rgba(216, 170, 66, 0.22);
    background: #020303;
    font-size: 13px;
}

.home-footer a {
    color: rgba(255, 255, 255, 0.56);
    text-decoration: none;
}

.home-footer a:hover {
    color: var(--gold-light);
}

@media (max-width: 1040px) {
    :root {
        --navbar-height: 78px;
    }

    .navbar {
        padding: 0 24px;
    }

    .brand {
        font-size: 25px;
    }

    .brand-car {
        width: 105px;
        height: 15px;
    }

    .menu-button {
        width: 48px;
        height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 10px;
        border: 1px solid rgba(216, 170, 66, 0.58);
        border-radius: 10px;
        cursor: pointer;
    }

    .menu-button span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--gold-light);
        transition: 0.25s ease;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 14px;
        right: 14px;
        padding: 15px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        border: 1px solid rgba(216, 170, 66, 0.45);
        border-radius: 0 0 16px 16px;
        background: rgba(3, 5, 6, 0.98);
        box-shadow: 0 22px 42px rgba(0, 0, 0, 0.58);
    }

    .main-nav > a {
        justify-content: flex-start;
        font-size: 16px;
    }

    .language-switcher {
        width: max-content;
        margin: 8px 0 2px 10px;
    }

    .menu-toggle:checked ~ .main-nav {
        display: flex;
    }

    .menu-toggle:checked + .menu-button span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle:checked + .menu-button span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked + .menu-button span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        width: min(590px, 72vw);
        margin-left: 6vw;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 112vh;
        min-height: 112svh;
        align-items: flex-start;
        background-image: url("./homevertical.png");
        background-size: cover;
        background-position: center top;
    }

    .hero::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.9) 100%);
    }

    .navbar {
        min-height: 70px;
        padding: env(safe-area-inset-top) 15px 0;
    }

    .brand {
        font-size: 21px;
        letter-spacing: 1px;
    }

    .brand-car {
        width: 88px;
        height: 12px;
        margin-bottom: 3px;
    }

    .hero-content {
        width: auto;
        margin: 0 20px;
        padding-top: 0;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 84px;
        text-align: center;
    }

    .hero-kicker {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: clamp(33px, 10vw, 46px);
        letter-spacing: -0.6px;
    }

    .hero-subtitle {
        margin: 15px auto 0;
        max-width: 540px;
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-actions {
        margin-top: 22px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .primary-button,
    .secondary-button {
        min-height: 52px;
        padding: 0 15px;
        font-size: 14px;
    }

    .hero-features {
        margin-top: 19px;
        justify-content: center;
        gap: 9px 16px;
    }

    .hero-features > span {
        font-size: 12px;
    }

    .scroll-indicator {
        bottom: 16px;
    }

    .scroll-indicator span {
        display: none;
    }

    .quick-section {
        min-height: auto;
        padding: 60px 16px;
    }

    .quick-card {
        padding: 34px 20px;
        border-radius: 18px;
    }

    .quick-card > p:not(.section-kicker) {
        font-size: 16px;
    }

    .home-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-content {
        bottom: 66px;
    }

    .hero-features {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
