:root {
    --primary: #0b1b3a;
    --secondary: #1f4b99;
    --accent: #0f6bdc;
    --light: #f5f7fb;
    --dark: #0c111b;
    --text: #1a2030;
    --muted: #5a6478;
    --radius: 16px;
    --shadow: 0 20px 60px rgba(12, 17, 27, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.photo {
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(12, 17, 27, 0.18);
    object-fit: cover;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(12, 17, 27, 0.08);
    backdrop-filter: blur(12px);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo img {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-weight: 500;
}

.main-nav a {
    position: relative;
    padding: 8px 0;
    color: var(--muted);
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--primary);
}

.hero {
    position: relative;
    background: url("../img/stock/young-business-man-with-laptop-business-woman-eyeglasses-thoughtfully-looking-applicant-young-employers-spending-job-interview-modern-office.webp") center/cover no-repeat;
    padding: 110px 0 80px;
    min-height: 520px;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 16, 34, 0.9) 0%, rgba(7, 16, 34, 0.6) 60%, rgba(7, 16, 34, 0.4) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: #fff;
    margin-bottom: 16px;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
}

.button.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}

.button.ghost {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.section {
    padding: 70px 0;
}

.section.light {
    background: var(--light);
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--primary);
    margin-bottom: 16px;
}

.section p.lead {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-illustration {
    width: 100%;
    max-width: 720px;
    margin: 28px auto 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(12, 17, 27, 0.06);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 107, 220, 0.12);
    color: var(--accent);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 0;
    font-size: 1.2rem;
}

.card p {
    color: var(--muted);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: start;
}

.highlight {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(12, 17, 27, 0.08);
}

.highlight h3 {
    color: var(--primary);
}

.highlight p {
    color: var(--text);
}

.highlight strong {
    color: var(--primary);
}

.page-hero {
    position: relative;
    padding: 110px 0 70px;
    color: #fff;
    background: #0b1b3a;
    min-height: 360px;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11, 27, 58, 0.82) 0%, rgba(11, 27, 58, 0.35) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-illustration {
    width: 100%;
    max-width: 760px;
    margin-top: 24px;
}

.page-hero h1 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    color: #fff;
    margin-bottom: 10px;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.85);
}

.page-about .page-hero {
    background: url("../img/stock/company-representatives-reading-applicant-resume-hiring.webp") center/cover no-repeat;
}

.page-raas .page-hero {
    background: url("../img/stock/recruitment-concept-searching-employee.webp") center/cover no-repeat;
}

.page-contact .page-hero {
    background: url("../img/stock/closeup-job-applicant-giving-his-resume-job-interview-office.webp") center/cover no-repeat;
}

.content {
    padding: 50px 0 70px;
}

.content h2,
.content h3 {
    color: var(--primary);
    margin: 28px 0 12px;
}

.content p {
    margin: 14px 0;
    color: var(--text);
}

.content ul {
    padding-left: 20px;
    margin: 12px 0;
    color: var(--text);
}

.content li {
    margin-bottom: 6px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.form {
    display: grid;
    gap: 16px;
}

.form label {
    font-weight: 600;
    color: var(--primary);
}

.form input,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(12, 17, 27, 0.2);
    font-family: inherit;
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(15, 107, 220, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.footer-logo {
    height: 42px;
    margin-bottom: 12px;
}

.site-footer h4 {
    margin-bottom: 10px;
}

.site-footer a {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 24px;
    padding-top: 16px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 72px;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        width: 240px;
        box-shadow: var(--shadow);
        transform: translateX(110%);
        transition: transform 0.3s ease;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }
}
