* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #111111;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 90px;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar {
    width: 90%;
    max-width: 1400px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
    width: 125px;
    height: 70px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
    list-style: none;
}

.nav-link {
    position: relative;
    padding: 34px 0;
    color: #222222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.7px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 24px;
    width: 0;
    height: 2px;
    background: #efa800;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #efa800;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    height: 46px;
    padding: 0 25px;
    border: 2px solid #efa800;
    border-radius: 4px;
    background: #efa800;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-btn:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.18);
}

.menu-toggle {
    display: none;
    width: 35px;
    height: 28px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #181818;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

.services-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 10% 90px;
    background: url("machine-park.jpg") center / cover no-repeat;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.75) 50%, rgba(8, 8, 8, 0.4));
}

.services-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 20% 100%;
}

.services-hero-content,
.hero-index {
    position: relative;
    z-index: 1;
}

.services-hero-content {
    max-width: 850px;
}

.services-kicker,
.section-kicker {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #e2b327;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
}

.services-kicker {
    margin-bottom: 35px;
}

.services-kicker span,
.section-kicker span {
    width: 45px;
    height: 1px;
    background: #e2b327;
}

.services-hero h1 {
    color: #ffffff;
    font-size: clamp(64px, 7vw, 118px);
    line-height: 0.9;
    letter-spacing: -4px;
}

.services-hero h1 strong,
.intro-grid strong,
.session-copy h2 strong {
    color: #e2b327;
}

.services-hero p {
    max-width: 610px;
    margin-top: 35px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
    line-height: 1.8;
}

.hero-index {
    position: absolute;
    right: 5%;
    top: 50%;
    color: rgba(255, 255, 255, 0.28);
    font-size: 10px;
    letter-spacing: 4px;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
}

.services-intro {
    padding: 100px 8%;
    background: #151515;
}

.intro-grid {
    max-width: 1380px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 100px;
    align-items: end;
}

.intro-grid h2,
.session-copy h2 {
    color: #ffffff;
    font-size: clamp(48px, 5vw, 82px);
    line-height: 0.95;
    letter-spacing: -2px;
}

.intro-grid p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 1.8;
}

.service-session {
    position: relative;
    min-height: 690px;
    padding: 100px 8%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 110px;
    align-items: center;
    overflow: hidden;
}

.session-dark { background: #111111; }
.session-light { background: #181818; }

.session-number {
    position: absolute;
    top: 45px;
    right: 8%;
    color: rgba(255, 255, 255, 0.1);
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
}

.session-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.session-copy.show {
    opacity: 1;
    transform: translateY(0);
}

.session-copy .section-kicker {
    margin-bottom: 30px;
}

.session-copy h2 {
    margin-bottom: 30px;
}

.session-copy > p {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 1.8;
}

.service-points {
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
}

.service-points li {
    padding: 12px 0 12px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.service-points li::before {
    content: "◆";
    margin-left: -22px;
    margin-right: 12px;
    color: #e2b327;
    font-size: 8px;
}

.session-link {
    display: inline-flex;
    gap: 12px;
    color: #e2b327;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.session-link span { transition: transform 0.3s ease; }
.session-link:hover span { transform: translate(4px, -4px); }

.session-visual {
    position: relative;
    height: 490px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s;
}

.session-visual.show {
    opacity: 1;
    transform: translateY(0);
}

.session-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(226, 179, 39, 0.12), transparent 45%, rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.session-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.08);
    transition: transform 0.8s ease;
}

.session-visual:hover img { transform: scale(1.04); }
.session-visual span {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    padding: 14px 18px;
    background: rgba(10, 10, 10, 0.92);
    color: #e2b327;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
}

.site-footer {
    width: 100%;
    background: #121212;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 80px 8% 70px;
    display: grid;
    grid-template-columns: 1.3fr 0.6fr 1fr;
    gap: 100px;
    align-items: start;
}

.footer-brand { max-width: 430px; }
.footer-logo-image { display: inline-block; margin-bottom: 28px; text-decoration: none; }
.footer-logo-image img { display: block; width: 180px; height: auto; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 420px; margin: 0; color: rgba(255, 255, 255, 0.48); font-size: 15px; line-height: 1.8; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav h4, .footer-contact h4 { margin: 0 0 32px; color: #e2b327; font-size: 10px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; }
.footer-nav a { position: relative; width: fit-content; margin-bottom: 17px; color: rgba(255, 255, 255, 0.68); text-decoration: none; font-size: 15px; transition: color 0.3s ease, transform 0.3s ease; }
.footer-nav a:hover { color: #e2b327; transform: translateX(5px); }
.footer-contact { max-width: 480px; }
.footer-contact p { margin: 0 0 22px; color: rgba(255, 255, 255, 0.62); font-size: 15px; line-height: 1.7; }
.footer-contact a { display: inline-block; color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 15px; transition: color 0.3s ease; }
.footer-contact a:hover { color: #e2b327; }
.footer-bottom { width: 100%; padding: 28px 10%; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.3); font-size: 9px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.webspire-link { margin-left: 5px; color: #e2b327; text-decoration: none; transition: color 0.3s ease; }
.webspire-link:hover { color: #ffffff; }

@media (max-width: 950px) {
    .navbar { width: 92%; }
    .nav-menu { gap: 25px; }
    .nav-link { font-size: 13px; }
    .service-session { gap: 60px; }
}

@media (max-width: 768px) {
    .header { height: 75px; }
    .logo img { width: 100px; height: 60px; }
    .menu-toggle { display: flex; }
    .nav-menu { position: absolute; top: 75px; left: 0; width: 100%; max-height: 0; overflow: hidden; opacity: 0; flex-direction: column; gap: 0; padding: 0; background: #ffffff; box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08); transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease; }
    .nav-menu.active { max-height: 450px; opacity: 1; padding: 15px 0 30px; }
    .nav-menu li { width: 100%; text-align: center; }
    .nav-link { display: block; width: 100%; padding: 18px 20px; }
    .nav-link::after { display: none; }
    .quote-btn { margin-top: 12px; }
    .services-hero { min-height: 520px; padding: 120px 22px 65px; }
    .services-hero h1 { font-size: clamp(52px, 16vw, 75px); letter-spacing: -2px; }
    .services-hero p { font-size: 15px; }
    .hero-index { display: none; }
    .services-intro { padding: 65px 20px; }
    .intro-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 35px; }
    .intro-grid h2 { font-size: 50px; }
    .service-session { min-height: 0; padding: 70px 20px; grid-template-columns: 1fr; gap: 48px; }
    .session-number { top: 26px; right: 20px; font-size: 72px; }
    .session-copy h2 { font-size: 52px; }
    .session-visual { height: 360px; }
    .footer-container { padding: 55px 20px; grid-template-columns: 1fr; gap: 45px; }
    .footer-brand { grid-column: auto; }
    .footer-logo-image { margin-bottom: 22px; }
    .footer-logo-image img { width: 150px; }
    .footer-brand p { font-size: 14px; }
    .footer-nav h4, .footer-contact h4 { margin-bottom: 24px; font-size: 9px; letter-spacing: 4px; }
    .footer-nav a { margin-bottom: 14px; font-size: 14px; }
    .footer-contact p, .footer-contact a { font-size: 14px; }
    .footer-bottom { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-bottom p { font-size: 8px; line-height: 1.7; letter-spacing: 2px; }
}

@media (max-width: 420px) {
    .services-hero { padding-left: 16px; padding-right: 16px; }
    .services-hero h1 { font-size: 48px; }
    .services-intro { padding-left: 16px; padding-right: 16px; }
    .intro-grid h2,
    .session-copy h2 { font-size: 44px; }
    .service-session { padding-left: 16px; padding-right: 16px; }
    .session-visual { height: 300px; }
    .footer-container { padding: 45px 16px; }
    .footer-logo-image img { width: 135px; }
    .footer-brand p { font-size: 13px; }
    .footer-bottom { padding: 22px 16px; }
}
