:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #162036;
    --muted: #52607a;
    --line: #dce4f1;
    --primary: #1f7a8c;
    --primary-strong: #125d70;
    --accent: #f4a259;
    --shadow: 0 16px 40px rgba(17, 33, 63, 0.12);
}

body {
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(31, 122, 140, 0.15), transparent 36%),
        radial-gradient(circle at 90% 15%, rgba(244, 162, 89, 0.16), transparent 38%),
        var(--bg);
    min-height: 100vh;
}

.navbar {
    backdrop-filter: blur(8px);
    background: rgba(22, 32, 54, 0.92);
    box-shadow: 0 10px 28px rgba(9, 17, 29, 0.3);
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.navbar-brand::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 0 0 4px rgba(244, 162, 89, 0.14);
    vertical-align: middle;
}

.nav-link {
    border-radius: 999px;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    color: rgba(255, 255, 255, 0.86);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
}

.dropdown-menu {
    border-radius: 14px;
    border: 1px solid rgba(18, 93, 112, 0.14);
    box-shadow: 0 12px 26px rgba(11, 24, 44, 0.14);
    padding: 0.45rem;
}

.dropdown-item {
    border-radius: 10px;
    color: var(--text);
    padding: 0.45rem 0.7rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(31, 122, 140, 0.1);
    color: var(--primary-strong);
}

.site-header {
    width: min(1120px, calc(100% - 2rem));
    margin: 1.25rem auto 2rem;
    min-height: 260px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    background:
        linear-gradient(120deg, rgba(22, 32, 54, 0.84), rgba(31, 122, 140, 0.72)),
        url('/assets/image.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: clamp(1.2rem, 3vw, 2.6rem);
}

.site-header h1 {
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    margin: 0;
    max-width: 15ch;
    line-height: 1.1;
}

.site-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.85rem;
    margin-bottom: 1.25rem;
    max-width: 42ch;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    padding: 0.62rem 1rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.content-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: clamp(1rem, 2.2vw, 2rem);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-shell p {
    color: var(--muted);
    line-height: 1.7;
}

.footer {
    color: var(--muted);
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-strong);
}

@media (max-width: 768px) {
    .site-header {
        min-height: 220px;
        width: calc(100% - 1.2rem);
        border-radius: 18px;
    }
}
