@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/heading.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/body.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #0b1423;
    --color-secondary: #0a1423;
    --color-accent: #fcc545;
    --color-text: #0b1423;
    --color-text-light: #ffffff;
    --color-background: #ffffff;
    --color-background-light: #f5f5f5;
    --color-border: #e2e2e2;

    --font-heading: 'Open Sans', Arial, sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;

    --container-width: 1280px;
    --section-space: 120px;
    --section-space-mobile: 72px;
    --radius-md: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-background);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    color: inherit;
}

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

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

.section {
    padding-block: var(--section-space);
}

.site-header,
.site-footer {
    padding-block: 24px;
}

.site-header {
    border-bottom: 1px solid var(--color-border);
}

.site-footer {
    border-top: 1px solid var(--color-border);
}

.site-main {
    min-height: 60vh;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.text-block-inside {
    max-width: 860px;
}

.block {
    width: 100%;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    padding: 12px 20px;
    color: var(--color-text-light);
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    text-decoration: none;
}

input,
select,
textarea,
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font: inherit;
}

.site-header__inside,
.site-footer__inside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-nav ul,
.site-footer ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a,
.site-footer a {
    text-decoration: none;
}

.site-logo img,
.custom-logo {
    width: auto;
    max-height: 64px;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    top: 20px;
    left: 20px;
    z-index: 9999;
    padding: 10px;
    background: var(--color-background);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding-block: var(--section-space-mobile);
    }

    .site-header__inside,
    .site-footer__inside {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav ul,
    .site-footer ul {
        gap: 16px;
    }

    .hero {
        min-height: auto;
    }
}