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

html {
    scroll-behavior: smooth;
}

:root {
    --bg: #07111d;
    --bg2: #0d1a2b;
    --panel: #122237;
    --panel2: #172b42;
    --gold: #f2a900;
    --gold2: #ffd05a;
    --white: #f7f8fa;
    --muted: #9aa9b8;
    --line: rgba(255, 255, 255, 0.1);
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

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

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.section {
    padding: 110px 0;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 14, 25, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.header.scrolled {
    border-color: var(--line);
}

.nav {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.text-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-main {
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-main span {
    color: var(--gold);
}

.logo-sub {
    font-family: "Dancing Script", cursive;
    font-size: 20px;
    color: var(--gold2);
    margin-top: -6px;
    text-align: right;
    letter-spacing: 1px;
}

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

.nav-links a {
    font-size: 12px;
    font-weight: 700;
    color: #d7dde5;
    transition: 0.25s;
}

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

.nav-cta {
    background: var(--gold);
    color: #111;
    padding: 14px 21px;
    font-size: 12px;
    font-weight: 800;
    transition: 0.25s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: var(--gold2);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 29px;
    cursor: pointer;
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;

    background:
        linear-gradient(90deg,
            rgba(4, 11, 20, 0.98),
            rgba(4, 11, 20, 0.78) 43%,
            rgba(4, 11, 20, 0.18)),
        url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2200&q=95") center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            var(--bg),
            transparent 35%);
    z-index: -1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
    z-index: -1;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    right: 10%;
    top: 20%;
}

.glow-2 {
    width: 280px;
    height: 280px;
    background: #1675d1;
    right: 30%;
    bottom: 10%;
}

.hero-content {
    padding-top: 105px;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2.4px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero h1,
h2,
h3 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(54px, 7vw, 98px);
    line-height: 0.95;
    letter-spacing: 0.5px;
}

.hero h1 span,
h2 span {
    color: var(--gold);
}

.hero-text {
    max-width: 620px;
    margin-top: 25px;
    color: #d0d8e1;
    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

/* ================= BUTTONS ================= */

.btn {
    padding: 17px 25px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: #111;
}

.btn-primary:hover {
    box-shadow: 0 15px 35px rgba(242, 169, 0, 0.28);
    transform: translateY(-4px);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: #fff;
    color: #111;
}

/* ================= HERO CARDS ================= */

.hero-cards {
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    min-width: 185px;
    padding: 25px 28px;
    background: rgba(11, 26, 43, 0.92);
    backdrop-filter: blur(12px);
    border-left: 1px solid var(--line);
}

.hero-card strong {
    display: block;
    color: var(--gold);
    font-size: 30px;
    font-family: "Oswald", sans-serif;
}

.hero-card span {
    font-size: 10px;
    color: #a9b5c2;
    font-weight: 800;
    letter-spacing: 1px;
}

/* ================= ABOUT ================= */

.about {
    background: var(--bg2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(1.08);
}

.experience-badge {
    position: absolute;
    right: -22px;
    bottom: -24px;
    background: var(--gold);
    color: #101722;
    padding: 24px;
    min-width: 170px;
}

.experience-badge strong {
    font: 56px "Oswald", sans-serif;
    display: block;
    line-height: 0.9;
}

.experience-badge span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.about-content h2,
.section-heading h2,
.faq-layout h2 {
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.05;
}

.about-content>p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin-top: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
}

.feature {
    background: var(--panel);
    padding: 18px;
    display: flex;
    gap: 14px;
    border-left: 3px solid var(--gold);
}

.feature b {
    color: var(--gold);
    font-size: 14px;
}

.feature strong {
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
}

.feature span {
    color: #8797a7;
    font-size: 10px;
    line-height: 1.5;
}

/* ================= SERVICES ================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service {
    background: var(--card);
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    transition: 0.4s ease;
}

.service:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 169, 0, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.service-image {
    height: 230px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(5, 10, 18, 0.05),
            rgba(5, 10, 18, 0.45));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 25px;

    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;

    color: rgba(255, 255, 255, 0.07);
}

.service-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(245, 169, 0, 0.1);
    border: 1px solid rgba(245, 169, 0, 0.3);

    font-size: 25px;

    margin-top: -58px;
    margin-bottom: 22px;

    position: relative;
    z-index: 2;

    backdrop-filter: blur(10px);
}

.service h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.service p {
    color: #9faab7;
    font-size: 13px;
    line-height: 1.8;
}

.service a {
    display: inline-block;
    margin-top: 22px;

    color: var(--yellow);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.5px;
}

.service a:hover {
    color: var(--yellow2);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.section-heading>p {
    max-width: 420px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.centered {
    display: block;
    text-align: center;
}

.centered>p {
    margin: 18px auto 0;
}



/* ================= MACHINES ================= */

.machines {
    background: #0b1726;
}

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

.machine-card {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.machine-card::after,
.project::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgba(3, 8, 15, 0.96),
            transparent 62%);
}

.machine-card img,
.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.machine-card:hover img,
.project:hover img {
    transform: scale(1.08);
}

.machine-card>div,
.project>div {
    position: absolute;
    z-index: 1;
    left: 28px;
    bottom: 27px;
}

.machine-card span,
.project span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.machine-card h3,
.project h3 {
    font-size: 25px;
    margin-top: 7px;
}

.machine-card a {
    display: inline-block;
    margin-top: 14px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}

/* ================= STATS ================= */

.stats {
    padding: 85px 0;

    background:
        linear-gradient(rgba(3, 10, 18, 0.89),
            rgba(3, 10, 18, 0.94)),
        url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1800&q=85") center/cover fixed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stats-grid>div {
    padding: 20px;
    border-right: 1px solid var(--line);
}

.stats-grid>div:last-child {
    border: 0;
}

.stats strong,
.stats span {
    font: 50px "Oswald", sans-serif;
    color: var(--gold);
}

.stats p {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #aeb9c6;
    margin-top: 6px;
}

/* ================= PROJECTS ================= */

.projects {
    background: var(--bg2);
}

.text-link {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
    white-space: nowrap;
}

.project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 20px;
}

.project {
    position: relative;
    overflow: hidden;
}

.project-large {
    grid-row: span 2;
}

/* ================= WHY ================= */

.why {
    background: #07111d;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-grid article {
    background: var(--panel);
    padding: 28px;
    border-top: 3px solid transparent;
    transition: 0.3s;
}

.why-grid article:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.why-grid b {
    color: var(--gold);
    font: 32px "Oswald", sans-serif;
}

.why-grid h3 {
    font-size: 20px;
    margin: 16px 0 10px;
}

.why-grid p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

/* ================= CTA ================= */

.contact-cta {
    background: linear-gradient(110deg,
            #e89b00,
            #ffd260);
    color: #111;
    padding: 65px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-inner h2 {
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1;
}

.cta-inner h2 span {
    color: #111;
}

.cta-inner>div>p:last-child {
    max-width: 700px;
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.8;
}

.dark-eyebrow {
    color: #28313b;
}

.btn-dark {
    background: #0d1b2d;
    color: #fff;
    white-space: nowrap;
}

.btn-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.18);
}

/* ================= FAQ ================= */

.faq {
    background: var(--bg2);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.faq-intro {
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item button {
    width: 100%;
    padding: 22px 0;
    background: none;
    border: 0;
    color: #fff;
    font: 700 13px "Montserrat", sans-serif;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}

.faq-item button span {
    font-size: 22px;
    color: var(--gold);
}

.faq-item>div {
    max-height: 0;
    overflow: hidden;
    transition: 0.35s;
}

.faq-item.active>div {
    max-height: 180px;
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* ================= FOOTER ================= */

footer {
    background: #040a12;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer-grid h4 {
    font-size: 12px;
    margin: 16px 0 20px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: #8493a3;
    font-size: 12px;
    line-height: 2;
    margin-bottom: 7px;
}

.footer-grid>div:first-child p {
    margin-top: 15px;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--line);
    padding: 23px;
    color: #657486;
    font-size: 10px;
}

/* ================= TABLET ================= */

@media (max-width: 950px) {

    .nav-links {
        position: absolute;
        top: 84px;
        left: 0;
        width: 100%;
        background: #081421;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 5%;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid transparent;
    }

    .nav-links.active {
        padding: 25px 5%;
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        border-bottom-color: var(--line);
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .about-grid,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-cards {
        justify-content: center;
    }

    .hero-card {
        min-width: 0;
        flex: 1;
    }

    .project-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 260px 260px;
    }

    .project-large {
        grid-row: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid>div:nth-child(2) {
        border-right: 0;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .section {
        padding: 78px 0;
    }

    .logo-main {
        font-size: 26px;
    }

    .logo-sub {
        font-size: 16px;
    }

    .hero {
        min-height: 850px;
    }

    .hero h1 {
        font-size: 54px;
    }

    .hero-content {
        padding-top: 95px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        bottom: 0;
    }

    .hero-card {
        padding: 18px;
    }

    .hero-card:last-child {
        display: none;
    }

    .about-visual img {
        height: 430px;
    }

    .experience-badge {
        right: 10px;
    }

    .feature-grid,
    .service-grid,
    .machine-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        display: none;
    }

    .section-heading,
    .cta-inner {
        display: block;
    }

    .section-heading>p {
        margin-top: 18px;
    }

    .text-link {
        display: inline-block;
        margin-top: 20px;
    }

    .machine-card {
        height: 350px;
    }

    .stats {
        background-attachment: scroll;
    }

    .stats-grid>div {
        border-bottom: 1px solid var(--line);
        padding: 18px 5px;
    }

    .stats-grid>div:nth-child(3),
    .stats-grid>div:nth-child(4) {
        border-bottom: 0;
    }

    .stats strong,
    .stats span {
        font-size: 42px;
    }

    .contact-cta {
        padding: 50px 0;
    }

    .btn-dark {
        margin-top: 28px;
    }

    .faq-layout {
        gap: 35px;
    }

    .footer-grid {
        gap: 20px;
    }

    footer {
        padding-top: 0;
    }
}