:root {
    --ink: #0f172a;
    --muted: #5f6d82;
    --line: #dbe3ee;
    --soft: #f5f8fc;
    --navy: #17395f;
    --navy-2: #234b79;
    --gold: #d8bf8b;
    --white: #ffffff;
    --max: 1180px;
    --shadow: 0 16px 40px rgba(10, 23, 43, 0.08);
    --radius: 20px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}
.container p {
    font-weight: 600;
}
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand img {
    height: 60px;
    display: block;
}
.header {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}
.header h1 {
    font-size: clamp(36px, 6vw, 54px);
    margin: 0 0 10px;
    letter-spacing: -0.04em;
    color: var(--navy);
}
.header p {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding: 60px 0;
}
.card {
    position: relative;
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    background-color: var(--navy);
    box-shadow: var(--shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(10, 23, 43, 0.16);
}
.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}
.card:hover .card-bg {
    transform: scale(1.05);
}
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}
.card-content {
    position: relative;
    z-index: 3;
    color: #fff;
}
.card-content h2 {
    font-size: 28px;
    margin: 0 0 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    background: var(--gold);
    color: var(--navy);
    transition: 0.2s ease;
}
.btn:hover {
    background: #e5d0a5;
    transform: scale(1.05);
}

.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}
.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    opacity: 0.6;
}

@media (max-width: 760px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .card {
        height: 400px;
    }
}
