:root {
    --bg: #1f2a30;
    --bg-soft: #2f3d45;
    --panel: #ffffff;
    --panel-alt: #f3f4f4;
    --primary: #89939b;
    --primary-dark: #6e7a82;
    --primary-light: #e5e6e6;
    --text: #1d2b31;
    --muted: #5c6b71;
    --line: rgba(31, 42, 48, 0.1);
    --shadow: 0 20px 45px rgba(31, 42, 48, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #f5f8fc;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, #1f2a30 0%, #2f3d45 35%, #89939b 100%);
    color: #fff;
    padding-bottom: 4rem;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.15));
}

.brand {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: rgba(255,255,255,0.88);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

.hero {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 2rem;
    align-items: center;
    padding-top: 3.5rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.eyebrow.dark {
    color: var(--primary-dark);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.subtitle {
    max-width: 620px;
    color: rgba(255,255,255,0.86);
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
}

.hero-panel {
    display: grid;
    gap: 1rem;
    justify-items: stretch;
}

.mini-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 1.25rem 1.4rem;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mini-card.accent {
    background: rgba(229, 230, 230, 0.18);
}

.number {
    font-size: 2rem;
    font-weight: 800;
}

.label {
    color: rgba(255,255,255,0.8);
}

.section {
    padding: 5rem 0;
}

.section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--text);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(8, 32, 52, 0.18);
}

.icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(10, 132, 255, 0.02));
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
}

.card p {
    color: var(--muted);
}

.highlight {
    background: linear-gradient(180deg, #f5f6f6 0%, #eef1f2 100%);
    border-top: 1px solid rgba(110, 122, 130, 0.08);
    border-bottom: 1px solid rgba(110, 122, 130, 0.08);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 1rem;
}

.expertise-item {
    background: #fff;
    border: 1px solid rgba(18, 32, 51, 0.06);
    border-radius: 16px;
    padding: 1.1rem 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 10px 24px rgba(137, 147, 155, 0.08);
}

.about {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.about-text p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    gap: 1rem;
}

.about-highlights div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--shadow);
}

.about-highlights strong {
    font-size: 2rem;
    color: var(--primary-dark);
}

.about-highlights span {
    color: var(--muted);
}

.contact-section {
    padding-bottom: 5rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(18, 32, 51, 0.12);
    border-radius: 14px;
    padding: 1rem 1rem;
    font: inherit;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(10, 132, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.08);
}

.contact-form button {
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.form-message {
    max-width: 700px;
    margin: 1rem auto 0;
    min-height: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    color: #117a3d;
}

.form-message.error {
    color: #b42318;
}

footer {
    background: #071827;
    color: rgba(255,255,255,0.8);
    padding: 1.5rem 0;
}

.footer-content {
    text-align: center;
}

@media (max-width: 800px) {
    .hero,
    .about,
    .cards,
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        justify-content: center;
    }

    .hero {
        padding-top: 2rem;
    }

    .section {
        padding: 4rem 0;
    }
}
