/* style.css */
:root {
    --font-heading: 'Corsa Grotesk', sans-serif;
    --font-body: 'Corsa Grotesk', sans-serif;

    --font-weight-thin: 100;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    --font-style-normal: normal;
    --fs-xl: clamp(20px, 2vw, 32px);
    --fs-l: clamp(14px, 1.2vw, 18px);
    --fs-m: clamp(13px, 1vw, 16px);
    --fs-s: clamp(10px, 0.75vw, 12px);
    --fs-xs: clamp(10px, 1.2vw, 11px);

    --content-max-width: 1300px;
    --content-padding: 40px;
}

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

html, body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #11212d;
    font-family: var(--font-body);
    font-weight: var(--font-weight-thin);
    font-style: var(--font-style-normal);
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1;
}

body > .footer {
    flex-shrink: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    background-color: #E85002;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 0 0 6px 6px;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--fs-m);
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}

.hero {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 48px var(--content-padding) 40px;
    box-sizing: border-box;
}

.hero__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-regular);
    font-size: var(--fs-xl);
    color: #E85002;
    margin: 0 0 16px 0;
}

.hero__text {
    font-family: var(--font-body);
    font-weight: var(--font-weight-thin);
    font-size: var(--fs-m);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .hero {
        padding: 32px 16px 24px;
    }

    .hero__title {
        font-size: var(--fs-l);
    }

    .hero__text {
        font-size: var(--fs-s);
    }
}

/* Баннер бесплатных мест */
.free-slots-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(232, 80, 2, 0.15), rgba(232, 80, 2, 0.05));
    border: 1px solid rgba(232, 80, 2, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    text-align: center;
}

.free-slots-banner__text {
    font-family: var(--font-body);
    font-size: var(--fs-m);
    color: rgba(255, 255, 255, 0.8);
}

.free-slots-banner__text strong {
    color: #E85002;
    font-family: var(--font-heading);
    font-size: var(--fs-l);
}

.free-slots-banner__btn {
    background-color: #E85002;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: var(--fs-m);
    font-weight: var(--font-weight-regular);
    transition: background-color 0.2s;
    white-space: nowrap;
}

.free-slots-banner__btn:hover {
    background-color: #FF6A1A;
}

@media (max-width: 480px) {
    .free-slots-banner {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }
}

.hero__subtitle {
    font-family: var(--font-body);
    font-weight: var(--font-weight-thin);
    font-size: var(--fs-m);
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 16px auto;
    max-width: 700px;
}
.hero__subtitle strong {
    color: #E85002;
    font-family: var(--font-heading);
}

/* 4K и большие экраны */
@media (min-width: 2000px) {
    :root {
        --fs-xl: clamp(28px, 2vw, 36px);
        --fs-l: clamp(20px, 1.5vw, 26px);
        --fs-m: clamp(16px, 1.2vw, 20px);
        --fs-s: clamp(13px, 0.9vw, 15px);
    }

    .hero__content {
        max-width: 900px;
    }
}

/* Ноутбуки */
@media (min-width: 1400px) and (max-width: 1999px) {
    .hero__content {
        max-width: 800px;
    }
}