:root {
    --color-primary: #010080;
    --color-primary-dark: #00005c;
    --color-accent: #009bde;
    --color-accent-light: #eaf8fd;

    --color-text: #252525;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-background: #f6f8fb;
    --color-border: #e5e7eb;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--color-text);
    background-color: var(--color-background);
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.header {
    position: relative;
    z-index: 100;
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px clamp(20px, 4vw, 60px);
    background: rgba(1, 0, 128, 0.98);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}


/* Logo */

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition:
        transform var(--transition),
        opacity var(--transition);
}

.header-logo:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.header-logo img {
    width: 145px;
    height: auto;
}


.header-slogan {
    margin: 0;
    max-width: 650px;
    font-size: clamp(13px, 1.4vw, 18px);
    font-weight: 600;
    font-style: italic;
    line-height: 1.4;
    text-align: right;
    color: var(--color-white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.footer {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow:
        0 -4px 15px rgba(0, 0, 0, 0.08);
}

.footer p {
    margin: 0;
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 600;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.footer p span {
    margin: 0 7px;
    color: var(--color-accent);
}

input,
textarea,
select {
    outline: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-accent);
    box-shadow:
        0 0 0 3px rgba(0, 155, 222, 0.12);
}

textarea {
    font-family: inherit;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}



@media (min-width: 1200px) {

    .header {
        min-height: 80px;
    }

    .header-logo img {
        width: 80px;
    }

}



@media (max-width: 768px) {

    .header {
        min-height: 70px;

        padding: 12px 20px;
    }

    .header-logo img {
        width: 125px;
    }

    .header-slogan {
        max-width: 420px;
        font-size: 13px;
    }

}



@media (max-width: 500px) {

    .header {
        min-height: 78px;

        gap: 14px;

        padding: 12px 15px;
    }

    .header-logo img {
        width: 105px;
    }

    .header-slogan {
        max-width: 210px;

        font-size: 11px;
        line-height: 1.35;
    }

    .footer {
        min-height: 58px;

        padding: 12px 15px;
    }

    .footer p {
        font-size: 11px;
    }

    .footer p span {
        margin: 0 3px;
    }

}