* { box-sizing: border-box; }
body { margin: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

.website {
    --ink: #1f3328;
    --green: #c5e6a4;
    --muted: #778078;
    background: #f8f9f6;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.container {
    width: min(1200px, calc(100% - 96px));
    margin-inline: auto;
}
a {
    text-decoration: none;
    color: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid #78a855;
    outline-offset: 6px;
}
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    height: 94px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    color: #fff;
}
.brand {
    display: inline-flex;
    align-items: center;
}
.brand-logo {
    position: relative;
    display: block;
    width: 142px;
    height: 76px;
    overflow: hidden;
}
.brand-logo img {
    position: absolute;
    display: block;
    width: 142px;
    height: 142px;
    max-width: none;
    top: -33px;
    left: 0;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #182c22;
    color: white;
    scroll-margin-top: 20px;
}
.hero-video-wall,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-video {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
}
.hero-video-wall:not(.is-repeated) .hero-video {
    grid-column: 1 / -1;
}
.hero-shade {
    background: linear-gradient(
        90deg,
        rgba(13, 29, 20, 0.95),
        rgba(13, 29, 20, 0.7) 44%,
        rgba(13, 29, 20, 0.1)
    );
}
.hero-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 94px;
    padding-bottom: 40px;
    z-index: 1;
}
.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.1px;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 26px;
}
.hero .eyebrow {
    color: #c9d8c7;
}
.eyebrow > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}
h1 {
    font-size: clamp(42px, 5.3vw, 72px);
    line-height: 1.11;
    letter-spacing: -2.5px;
    margin: 0;
    font-weight: 500;
}
h1 em {
    font-style: normal;
    color: var(--green);
}
.hero-description {
    font-size: 16px;
    line-height: 1.75;
    color: #c0cdc2;
    margin: 25px 0 32px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 24px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition:
        background 0.2s,
        transform 0.2s;
}
.button:hover {
    transform: translateY(-2px);
    background: #d8efc3;
}
.button-green {
    background: var(--green);
    color: #233627;
}
.hero-bottom {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-bottom: 26px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #aebfaf;
}
.hero-bottom a {
    letter-spacing: 0;
    font-size: 11px;
}
.hero-bottom a span {
    margin-left: 16px;
}
.products-section {
    padding-block: 92px 76px;
    scroll-margin-top: 35px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 38px;
}
.section-heading .eyebrow {
    color: #768171;
    margin-bottom: 14px;
}
h2 {
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -1px;
    font-weight: 500;
    margin: 0;
}
.section-heading > p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 3px;
}
.product-grid {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
    overscroll-behavior-x: contain;
}
.product-grid::-webkit-scrollbar {
    display: none;
}
.product-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: white;
    border: 1px solid #e6e9e1;
    border-radius: 8px;
    overflow: hidden;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}
.product-card:hover {
    box-shadow: 0 10px 30px #243b300c;

}
.product-image {
    height: 265px;
    position: relative;
    background: #f0f3ed;
    margin: 10px;
    border-radius: 4px;
    overflow: hidden;
}
.model-number {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #808b7e;
    z-index: 1;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
}
.image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 16px 12px;
}
.image-placeholder svg {
    width: 100%;
    max-width: 260px;
    height: 190px;
}
.image-placeholder > span {
    color: #879083;
    font-size: 9px;
}
.product-details {
    padding: 18px 25px 24px;
}
h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.4px;
    margin: 0 0 22px;
}
.product-features {
    padding-left: 20px;
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 1.65;
    color: #29382e;
    list-style-type: disc;
}
.product-features li {
    padding-left: 4px;
    margin-bottom: 10px;
}
.product-features li::marker {
    color: #365d2e;
}
.product-bottom {
    border-top: 1px solid #edf0e9;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.price {
    font-weight: 600;
}
.product-image-photo {
    background: #fff;
}
.discount-price {
    display: flex;
    align-items: center;
    gap: 10px;
}
.old-price {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
}
.sale-price {
    color: #365d2e;
    font-size: 23px;
    font-weight: 700;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.product-bottom a {
    font-size: 11px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.product-bottom a span {
    font-size: 18px;
}
.catalog-note {
    text-align: center;
    font-size: 11px;
    color: #8b9286;
    margin: 25px 0 0;
}
.order-section {
    background: #eaf0e3;
    border-block: 1px solid #e0e7d9;
    scroll-margin-top: 20px;
}
.order-content {
    padding-block: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.order-content .eyebrow {
    font-size: 9px;
    color: #727f67;
    margin-bottom: 19px;
}
.order-content h2 {
    font-size: 39px;
}
.order-content p:last-child {
    font-size: 13px;
    color: #75806e;
    line-height: 1.9;
    margin: 20px 0 0;
}
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.contact-label {
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 700;
}
.phone {
    font-size: 31px;
    letter-spacing: -0.9px;
    border-bottom: 1px solid #a9b69c;
    padding-bottom: 15px;
    white-space: nowrap;
}
.contact-note {
    font-size: 10px;
    color: #75806e;
}
.footer {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.footer-brand {
    width: 120px;
    height: 66px;
}
.footer-brand .brand-logo {
    width: 120px;
    height: 66px;
    filter: brightness(.58);
}
.footer-brand .brand-logo img {
    width: 120px;
    height: 120px;
    top: -27px;
}
.footer p {
    font-size: 11px;
    color: #8b9286;
    margin: 10px 0 0;
}
.footer > span,
.back-top {
    font-size: 10px;
    color: #8b9286;
}
.back-top span {
    margin-left: 15px;
    color: var(--ink);
}
.skip-link {
    position: fixed;
    top: -70px;
    left: 20px;
    padding: 15px;
    background: white;
    z-index: 20;
}
.skip-link:focus {
    top: 10px;
}
@media (max-width: 1000px) {
    .container {
        width: calc(100% - 56px);
    }
    .header {
        padding-inline: 28px;
    }
    .hero-shade {
        background: linear-gradient(90deg, #102319cc, #10231955);
    }
    .hero-bottom {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .products-section {
        padding-block: 58px;
    }
    .section-heading {
        display: block;
    }
    .section-heading h2 {
        font-size: 29px;
    }
    .section-heading > p {
        max-width: none;
        margin-top: 16px;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .product-image {
        height: 270px;
    }
    .image-placeholder svg {
        max-width: 290px;
        height: 210px;
    }
    .product-details {
        padding: 20px 23px 25px;
    }
    .order-content {
        flex-direction: column;
        align-items: flex-start;
        padding-block: 48px;
        gap: 35px;
    }
    .order-content h2 {
        font-size: 32px;
    }
    .phone {
        font-size: 28px;
    }
    .footer {
        gap: 28px;
    }
    .back-top {
        margin-left: auto;
    }
    .catalog-note {
        line-height: 1.7;
    }
}
@media (prefers-reduced-motion: reduce) {
    .button,
    .product-card {
        transition: none;
    }
    .hero-video {
        display: none;
    }
}

.product-description {
    font-size: 14px;
    line-height: 1.7;
    color: #29382e;
    margin: 0 0 22px;
}
.product-gallery {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.gallery-stage .gallery-photo {
    display: none;
}
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 10px 16px;
}
.gallery-thumbnails label {
    display: block;
    cursor: pointer;
    border: 2px solid #e6e9e1;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.gallery-thumbnails img {
    display: block;
    width: 100%;
    height: 56px;
    padding: 4px;
    object-fit: contain;
}
.gallery-thumbnails label:hover {
    border-color: #7da45d;
}

#machine-02-front:checked ~ .gallery-stage .photo-front {
    display: block;
}
#machine-02-front:checked ~ .gallery-thumbnails label:nth-child(1) {
    border-color: #365d2e;
}
#machine-02-front:focus-visible ~ .gallery-thumbnails label:nth-child(1) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-02-side:checked ~ .gallery-stage .photo-side {
    display: block;
}
#machine-02-side:checked ~ .gallery-thumbnails label:nth-child(2) {
    border-color: #365d2e;
}
#machine-02-side:focus-visible ~ .gallery-thumbnails label:nth-child(2) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-02-rear:checked ~ .gallery-stage .photo-rear {
    display: block;
}
#machine-02-rear:checked ~ .gallery-thumbnails label:nth-child(3) {
    border-color: #365d2e;
}
#machine-02-rear:focus-visible ~ .gallery-thumbnails label:nth-child(3) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-02-angle:checked ~ .gallery-stage .photo-angle {
    display: block;
}
#machine-02-angle:checked ~ .gallery-thumbnails label:nth-child(4) {
    border-color: #365d2e;
}
#machine-02-angle:focus-visible ~ .gallery-thumbnails label:nth-child(4) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

.gallery-thumbnails-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#machine-03-front:checked ~ .gallery-stage .photo-front {
    display: block;
}
#machine-03-front:checked ~ .gallery-thumbnails label:nth-child(1) {
    border-color: #365d2e;
}
#machine-03-front:focus-visible ~ .gallery-thumbnails label:nth-child(1) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-03-side:checked ~ .gallery-stage .photo-side {
    display: block;
}
#machine-03-side:checked ~ .gallery-thumbnails label:nth-child(2) {
    border-color: #365d2e;
}
#machine-03-side:focus-visible ~ .gallery-thumbnails label:nth-child(2) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-03-angle:checked ~ .gallery-stage .photo-angle {
    display: block;
}
#machine-03-angle:checked ~ .gallery-thumbnails label:nth-child(3) {
    border-color: #365d2e;
}
#machine-03-angle:focus-visible ~ .gallery-thumbnails label:nth-child(3) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

.gallery-thumbnails-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

#machine-04-view-1:checked ~ .gallery-stage .photo-1 {
    display: block;
}
#machine-04-view-1:checked ~ .gallery-thumbnails label:nth-child(1) {
    border-color: #365d2e;
}
#machine-04-view-1:focus-visible ~ .gallery-thumbnails label:nth-child(1) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-04-view-2:checked ~ .gallery-stage .photo-2 {
    display: block;
}
#machine-04-view-2:checked ~ .gallery-thumbnails label:nth-child(2) {
    border-color: #365d2e;
}
#machine-04-view-2:focus-visible ~ .gallery-thumbnails label:nth-child(2) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-04-view-3:checked ~ .gallery-stage .photo-3 {
    display: block;
}
#machine-04-view-3:checked ~ .gallery-thumbnails label:nth-child(3) {
    border-color: #365d2e;
}
#machine-04-view-3:focus-visible ~ .gallery-thumbnails label:nth-child(3) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-04-view-4:checked ~ .gallery-stage .photo-4 {
    display: block;
}
#machine-04-view-4:checked ~ .gallery-thumbnails label:nth-child(4) {
    border-color: #365d2e;
}
#machine-04-view-4:focus-visible ~ .gallery-thumbnails label:nth-child(4) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

#machine-04-view-5:checked ~ .gallery-stage .photo-5 {
    display: block;
}
#machine-04-view-5:checked ~ .gallery-thumbnails label:nth-child(5) {
    border-color: #365d2e;
}
#machine-04-view-5:focus-visible ~ .gallery-thumbnails label:nth-child(5) {
    outline: 3px solid #78a855;
    outline-offset: 2px;
}

.product-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 0;
}
.carousel-position {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.carousel-hint {
    margin: 16px 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: #55624e;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.carousel-dots[hidden] {
    display: none;
}
.carousel-dot {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.carousel-dot::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b9c4b1;
}
.carousel-dot[aria-current="true"]::before {
    width: 12px;
    height: 12px;
    background: #365d2e;
}

@media (min-width: 1001px) {
    .products-section {
        width: min(1400px, calc(100% - 48px));
    }
}
@media (max-width: 1000px) {
    .product-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}
@media (max-width: 700px) {
    .hero-video-wall {
        grid-template-columns: 1fr;
    }
    .product-carousel {
        padding-inline: 0;

    }
    .product-card {
        flex-basis: 100%;
    }
    .order-content > div {
        min-width: 0;
        max-width: 100%;
    }
    .phone {
        font-size: clamp(20px, 6vw, 28px);
    }
}

.product-grid {
    cursor: grab;
    touch-action: pan-x pan-y;
}
.product-grid img {
    -webkit-user-drag: none;
    user-select: none;
}
.product-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.product-details h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.detail-page .header {
    position: static;
    background: #fff;
    color: var(--ink);
}
.detail-page .header .brand-logo {
    filter: brightness(.58);
}
.product-detail-layout {
    padding-top: 45px;
    padding-bottom: 90px;
}
.detail-back {
    display: inline-block;
    margin-bottom: 32px;
    color: #365d2e;
    font-size: 13px;
    font-weight: 600;
}
.product-detail-layout > .eyebrow {
    color: #566852;
}
.detail-page .product-card {
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    width: 100%;
}
.detail-page .product-card:hover {
    transform: none;
}
.detail-page .product-image {
    height: 420px;
}
.detail-page .product-gallery .product-image {
    margin-bottom: 10px;
}
.detail-page .gallery-thumbnails img {
    height: 75px;
}
.detail-page .product-details {
    padding: 45px 50px;
}
.detail-page .product-details h1 {
    margin-bottom: 25px;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -1px;
}
.detail-contact {
    margin-top: 28px;
    color: #405244;
    font-size: 15px;
}
.detail-contact a {
    color: #285d31;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 800px) {
    .detail-page .product-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .detail-page .product-image {
        height: 320px;
    }
    .detail-page .product-details {
        padding: 26px;
    }
}
