:root {
    --bg: #0d1117;
    --bg-alt: #121b24;
    --steel: #1c2a36;
    --steel-light: #2b3e4f;
    --text: #f5f7fb;
    --muted: #dfe7ee;
    --accent: #f58a1f;
    --accent-light: #ffb15a;
    --border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}



.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.logo-text span {
    color: var(--accent);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: none;
    font-weight: 700;
    white-space: nowrap;
}

.logo-mark {
    width: 120px;
    height: 82px;
    display: block;
    flex-shrink: 0;
}

.logo-mark g {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    font-size: 1.2rem;
    transition: color .2s;
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #111827;
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 10px 24px rgba(245, 138, 31, 0.22);
}

.btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color .2s, background .2s;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(245, 138, 31, 0.08);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.88)), url('/assets/hero-machinery.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
    overflow: hidden;
}

span {
    color: var(--accent);
}

.hero-inner {
    padding-top: 80px;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: block;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    max-width: 800px;
    margin-bottom: 22px;
}

.hero p {
    color: #ebf2f8;
    font-size: 1.15rem;
    max-width: 520px;
    margin-bottom: 34px;
    opacity: 0.96;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 56px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    max-width: 520px;
}

.stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--accent-light);
}

.stat-label {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 4px;
}


/* Section headers */
.section {
    padding: 110px 0;
}

.section-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.90rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    max-width: 620px;
    margin-bottom: 16px;
}

.section-sub {
    color: #edf3f8;
    font-size: 1.05rem;
    max-width: 520px;
    opacity: 0.9;
}

/* Services */
.services {
    background: var(--bg-alt);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.service-card {
    background: var(--steel);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .25s, border-color .25s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.service-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.service-body {
    padding: 26px;
}

.service-num {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.service-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-body p {
    color: #e5edf5;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 20px;
}

.about-text p {
    color: #edf3f8;
    margin-bottom: 18px;
    font-size: 1.02rem;
    opacity: 0.92;
}

.about-list {
    list-style: none;
    margin-top: 26px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 0.98rem;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.about-list li::before {
    content: '—';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.about-media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-media img {
    height: 420px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(6px);
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.about-badge strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.about-badge span {
    color: #eaf1f7;
    font-size: 0.82rem;
    opacity: 0.9;
}

/* Contact */
.contact {
    background: var(--bg-alt);
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 56px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    width: 32%;
    gap: 8px;
    border-radius: 10px;
    padding: 24px;
    background: var(--steel);

}

.contact-item h4 {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: var(--steel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px;
}

.contact-card-tel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px;
}

.contact-card-tel h3 {
    color: var(--bg-alt);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-card-tel p {
    color: var(--bg-alt);
    margin-bottom: 24px;
    opacity: 0.9;
}

.contact-card-tel .btn-contact {
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    background-color: black;
}

footer {
    padding: 32px 0;
    margin: auto;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #edf3f8;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0.85;
    width: 100%;
}

footer .footer-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

footer .footer-info a {
    padding-left: 10px;
}

footer .footer-info-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

footer span {
    width: 50%;
    align-items: center;
    display: flex;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width:760px) {
    .nav-links {
        display: none;
    }

    .service-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .about-media img {
        height: 280px;
    }

    .contact-card {
        display: flex;
        flex-direction: column;
    }

    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 5px;
        width: 100%;
    }

    .contact-card-tel {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 5px;
        width: 100%;
    }

    footer {
        display: flex;
        flex-direction: row-reverse;
        text-align: center;
    }

    footer .footer-info {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footer-info span {
        width: 100%;
    }
}