:root {
    --bg: #0f172a;
    --bg-soft: #1e293b;
    --surface: #ffffff;
    --text: #0f172a;
    --text-light: #64748b;
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --border: #e2e8f0;
    --radius: 14px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: #f8fafc;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

header {
    background-image: linear-gradient(130deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.82)), url("https://images.unsplash.com/photo-1599707254554-027aeb4deacd?auto=format&fit=crop&w=2000&q=80");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

.brand span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.hero {
    padding: 72px 0 84px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero p {
    color: #cbd5e1;
    max-width: 58ch;
    margin-bottom: 28px;
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #111827;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 1px solid #64748b;
    color: #e2e8f0;
}

.btn-outline:hover {
    border-color: #94a3b8;
    color: #fff;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 22px;
    backdrop-filter: blur(2px);
}

.hero-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 9px;
    color: #e2e8f0;
    font-size: 0.95rem;
}

main section {
    padding: 64px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 36px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 8px;
}

.section-title p {
    color: var(--text-light);
}

.grid {
    display: grid;
    gap: 18px;
}

.services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}

.service-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
    display: block;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.stats-wrap {
    background: var(--bg);
    color: #fff;
}

.stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
    text-align: center;
    padding: 22px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.stat strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: var(--primary);
}

.stat span {
    font-size: 0.92rem;
    color: #cbd5e1;
}

.projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-content {
    padding: 18px;
}

.project h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.project p {
    font-size: 0.9rem;
    color: #334155;
}

.process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
    position: relative;
    padding-top: 8px;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.cta {
    background: linear-gradient(120deg, #1e293b, #0f172a);
    color: #fff;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.cta-box p {
    color: #cbd5e1;
}

footer {
    padding: 24px 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .hero-grid,
    .services,
    .projects,
    .process {
        grid-template-columns: 1fr 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 56px 0 64px;
    }

    .hero-grid,
    .services,
    .projects,
    .process,
    .stats {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}