:root {
    --green: #102b22;
    --green-light: #193c30;
    --gold: #d5ae62;
    --gold-light: #f0d69c;
    --black: #101310;
    --white: #f8f8f3;
    --muted: #a6afa8;
    --border: rgba(213, 174, 98, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.header {
    min-height: 82px;
    padding: 16px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #0c1711;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 17px;
    border-radius: 5px;
}

.logo small {
    display: block;
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    color: #d5ddd6;
}

.nav a:hover {
    color: var(--gold);
}

.nav .nav-cta {
    padding: 11px 19px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 25px;
    padding: 4px 11px;
    border-radius: 4px;
    cursor: pointer;
}

.hero {
    min-height: 570px;
    padding: 75px 9%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
    background:
        radial-gradient(ellipse at 78% 45%, #254a35 0%, transparent 44%),
        linear-gradient(115deg, #102b22, #101310 78%);
    overflow: hidden;
}

.hero-content {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2.5px;
    margin-bottom: 17px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero h1 span,
.section-heading h2 span,
.about h2 span {
    color: var(--gold);
}

.hero-content > p,
.section-heading > div > p,
.about-content > p {
    color: #bac4bc;
    font-size: 15px;
    max-width: 500px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: #151910;
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-outline {
    border: 1px solid #6b7c6f;
    color: white;
}

.btn-outline:hover {
    border-color: var(--gold);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 12px;
}

.gold-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
}

.hero-visual {
    min-height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #d5ae6212;
    filter: blur(20px);
}

.machine-illustration {
    width: 220px;
    min-height: 325px;
    padding: 12px;
    border: 3px solid #66736a;
    border-radius: 12px;
    background: linear-gradient(135deg, #29342d, #111712);
    box-shadow: 18px 22px 35px #0008;
    position: relative;
    z-index: 1;
}

.machine-top {
    text-align: center;
    padding: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.machine-display {
    min-height: 195px;
    background: linear-gradient(140deg, #172c22, #070b08);
    border: 2px solid #67786a;
    padding: 17px 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 8px;
}

.machine-display span {
    font-size: 29px;
    filter: drop-shadow(0 2px 3px #000);
}

.machine-controls {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 13px 8px;
}

.machine-controls span {
    width: 15px;
    height: 15px;
    border: 2px solid #68766b;
    border-radius: 50%;
}

.machine-slot {
    height: 24px;
    margin: 0 25px;
    background: #050705;
    border: 1px solid #354237;
    border-radius: 3px;
}

.visual-caption {
    position: absolute;
    bottom: -4px;
    right: 0;
    padding: 12px 17px;
    background: #172b20;
    border: 1px solid var(--border);
    border-radius: 5px;
    z-index: 2;
}

.visual-caption strong,
.visual-caption span {
    display: block;
}

.visual-caption strong {
    font-size: 12px;
}

.visual-caption span {
    font-size: 10px;
    color: var(--muted);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 28px 9%;
    gap: 25px;
    background: #141a15;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.benefits > div {
    display: flex;
    gap: 13px;
    align-items: center;
}

.benefit-icon {
    color: var(--gold);
    font-size: 27px;
}

.benefits strong {
    font-size: 13px;
}

.benefits p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.section {
    padding: 85px 9%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 34px;
}

.section-heading h2,
.about h2,
.contact-banner h2 {
    font-size: clamp(27px, 3.5vw, 39px);
    line-height: 1.2;
    margin-bottom: 13px;
}

.section-heading > div > p {
    margin-bottom: 0;
}

.machine-count {
    color: var(--gold);
    font-size: 12px;
    white-space: nowrap;
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.machine-card {
    background: #171d18;
    border: 1px solid #303b31;
    border-radius: 7px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.machine-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.machine-image {
    height: 220px;
    background: linear-gradient(145deg, #253a2b, #111712);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.machine-placeholder {
    width: 120px;
    height: 175px;
    border: 3px solid #8c998a;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(145deg, #30483a, #0b130e);
    box-shadow: 10px 12px 20px #0005;
}

.machine-placeholder span {
    font-size: 48px;
}

.machine-placeholder small {
    font-size: 7px;
    letter-spacing: 1px;
    color: var(--gold);
}

.category-tag {
    position: absolute;
    top: 13px;
    left: 13px;
    background: #101a13eF;
    color: var(--gold);
    padding: 5px 10px;
    font-size: 10px;
    border: 1px solid var(--border);
    border-radius: 3px;
}

.machine-info {
    padding: 21px;
}

.machine-info h3 {
    font-size: 17px;
    margin-bottom: 9px;
}

.machine-info > p {
    color: var(--muted);
    font-size: 12px;
    min-height: 60px;
}

.machine-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid #303a31;
}

.price strong,
.price small {
    display: block;
}

.price strong {
    color: var(--gold);
    font-size: 13px;
}

.price small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}

.arrow-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--gold);
    font-size: 21px;
}

.arrow-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.about {
    background: #14271c;
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 55px;
    align-items: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-badge {
    width: min(100%, 260px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 2px solid var(--gold);
    outline: 1px solid #d5ae6244;
    outline-offset: 9px;
    color: var(--gold);
    font-size: 95px;
    font-weight: bold;
    background: linear-gradient(135deg, #203e2b, #101812);
    border-radius: 50%;
    margin: auto;
}

.about-content > p {
    max-width: 650px;
}

.contact-banner {
    margin: 75px 9%;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: linear-gradient(110deg, #203d2b, #17251b);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.contact-banner p {
    color: #c0cbc1;
    font-size: 13px;
}

.contact-banner h2 {
    margin-bottom: 9px;
}

.footer {
    padding: 35px 9%;
    background: #0b100c;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    justify-content: center;
    text-align: left;
    margin-bottom: 16px;
}

.footer > p {
    color: var(--muted);
    font-size: 12px;
    margin: 6px 0;
}

.footer .copyright {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #293129;
    font-size: 11px;
}

@media (max-width: 900px) {
    .hero {
        padding: 65px 6%;
        gap: 25px;
    }

    .section {
        padding: 70px 6%;
    }

    .machine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav {
        gap: 16px;
    }

    .benefits {
        padding: 25px 6%;
    }
}

@media (max-width: 650px) {
    .header {
        padding: 14px 5%;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0c1711;
        padding: 20px 5%;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--border);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 9px 0;
    }

    .nav .nav-cta {
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 55px 6% 65px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-visual {
        min-height: 370px;
        margin-top: 10px;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .section {
        padding: 60px 5%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .machine-grid {
        grid-template-columns: 1fr;
    }

    .machine-image {
        height: 245px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-badge {
        width: 175px;
        font-size: 65px;
    }

    .contact-banner {
        margin: 50px 5%;
        padding: 27px 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-banner .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}

.product-page {
    padding: 45px 9% 85px;
    min-height: 65vh;
}

.back-link {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 35px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.product-picture {
    min-height: 350px;
    display: grid;
    place-items: center;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(145deg, #203c2b, #111712);
}

.product-picture img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 5px;
}

.product-details h1 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.product-description,
.product-note {
    color: var(--muted);
    margin-bottom: 22px;
}

.product-price {
    color: var(--gold);
    font-size: 25px;
    font-weight: bold;
    margin: 20px 0 5px;
}

.product-note {
    font-size: 12px;
}

@media (max-width: 650px) {
    .product-page {
        padding: 35px 5% 60px;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-picture {
        min-height: 270px;
    }
}

.contact-page {
    padding: 70px 6% 90px;
    background:
        radial-gradient(ellipse at 50% 0%, #203b2b 0%, transparent 55%),
        var(--black);
    min-height: 70vh;
}

.contact-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 35px;
}

.contact-intro h1 {
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.contact-intro h1 span {
    color: var(--gold);
}

.contact-intro p {
    color: var(--muted);
    font-size: 14px;
}

.contact-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    background: #151c16;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    color: #e7e9e2;
    font-size: 13px;
    font-weight: bold;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    background: #0d130e;
    color: var(--white);
    border: 1px solid #39473b;
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px #d5ae621a;
}

.form-field select option {
    background: #151c16;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.form-submit button {
    border: none;
    font: inherit;
    font-weight: bold;
}

.form-submit p {
    color: var(--muted);
    font-size: 11px;
}

.form-message {
    padding: 14px 16px;
    border-radius: 4px;
    margin-bottom: 22px;
    font-size: 13px;
}

.error-message {
    background: #401d1d;
    border: 1px solid #a94b4b;
    color: #ffd6d6;
}

.success-message {
    background: #173b27;
    border: 1px solid #4c9a68;
    color: #d1f5da;
}

@media (max-width: 600px) {
    .contact-page {
        padding: 45px 5% 60px;
    }

    .contact-form-wrapper {
        padding: 22px 17px;
    }

    .inquiry-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .full-width {
        grid-column: auto;
    }

    .form-submit button {
        width: 100%;
    }
}

/* Catalogue search and filters */
.catalogue-tools {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px;
    background: #151c16;
    border: 1px solid var(--border);
    border-radius: 7px;
}

.catalogue-search,
.catalogue-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalogue-tools label {
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
}

.catalogue-tools input,
.catalogue-tools select {
    width: 100%;
    min-height: 45px;
    padding: 11px 13px;
    background: #0d130e;
    color: var(--white);
    border: 1px solid #39473b;
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
}

.catalogue-tools input:focus,
.catalogue-tools select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.catalogue-message {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 13px;
}

.featured-tag {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    padding: 6px 10px;
    background: var(--gold);
    color: #151910;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.machine-card[hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    .catalogue-tools {
        grid-template-columns: 1fr;
        padding: 17px;
    }
}