:root {
    --blue-950: #06152f;
    --blue-900: #09235a;
    --blue-700: #0759c9;
    --blue-600: #0b6fe8;
    --blue-100: #e9f2ff;
    --blue-050: #f6faff;
    --ink: #111827;
    --muted: #64748b;
    --line: #d7e3f5;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(7, 35, 90, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 28px;
    min-height: 78px;
    padding: 12px clamp(18px, 5vw, 64px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-logo {
    width: clamp(164px, 19vw, 260px);
    height: 52px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 36px);
    color: var(--muted);
    font-weight: 700;
}

.main-nav a:hover,
.header-phone:hover {
    color: var(--blue-700);
}

.header-phone {
    color: var(--blue-900);
    font-weight: 800;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--white);
    background: var(--blue-700);
    box-shadow: 0 14px 28px rgba(7, 89, 201, 0.22);
}

.button-primary:hover {
    background: var(--blue-900);
}

.button-outline {
    color: var(--blue-900);
    border-color: var(--blue-700);
    background: var(--white);
}

.button-light {
    color: var(--blue-900);
    background: var(--white);
}

.messages {
    padding: 16px clamp(18px, 5vw, 64px) 0;
}

.message {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 18px;
    border: 1px solid #a9d2ff;
    border-radius: 8px;
    color: var(--blue-900);
    background: var(--blue-100);
    font-weight: 700;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
    min-height: calc(100vh - 78px);
    padding: clamp(42px, 6.5vw, 78px) clamp(18px, 5vw, 64px) 44px;
    background:
        linear-gradient(115deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.9)),
        radial-gradient(circle at 75% 35%, rgba(11, 111, 232, 0.13), transparent 34%);
}

.hero-copy {
    max-width: 790px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--blue-950);
    line-height: 0.95;
}

h1,
h2 {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(3.25rem, 5.3vw, 6.2rem);
}

.hero-text {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.2vw, 1.12rem);
}

.hero-text p {
    margin: 0 0 14px;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

.hero-tagline {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--blue-900);
    font-size: 1.05rem;
    font-weight: 900;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(7, 89, 201, 0.92), rgba(6, 21, 47, 0.94)),
        repeating-linear-gradient(90deg, transparent 0 64px, rgba(255, 255, 255, 0.06) 64px 65px);
    box-shadow: var(--shadow);
}

.hero-photo {
    min-height: 560px;
    background: var(--blue-050);
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.machine-card {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 26%;
    height: 210px;
}

.machine-bar,
.machine-body,
.machine-handle,
.machine-wheel {
    position: absolute;
    display: block;
}

.machine-bar {
    left: 0;
    right: 0;
    top: 78px;
    height: 28px;
    border-radius: 999px;
    background: #dbeafe;
}

.machine-body {
    left: 28%;
    top: 28px;
    width: 42%;
    height: 130px;
    border: 12px solid #bfdbfe;
    border-radius: 18px;
    background: var(--white);
}

.machine-handle {
    left: 62%;
    top: 0;
    width: 110px;
    height: 72px;
    border: 12px solid #93c5fd;
    border-bottom: 0;
    border-radius: 40px 40px 0 0;
}

.machine-wheel {
    bottom: 12px;
    width: 80px;
    height: 80px;
    border: 13px solid #dbeafe;
    border-radius: 50%;
    background: var(--blue-900);
}

.wheel-one {
    left: 14%;
}

.wheel-two {
    right: 14%;
}

.stat-panel {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: min(330px, calc(100% - 52px));
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.stat-panel strong,
.stat-panel span {
    display: block;
}

.stat-panel strong {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.stat-panel span {
    color: #dbeafe;
}

.section-heading {
    padding: 72px clamp(18px, 5vw, 64px) 24px;
}

.section-heading.compact {
    padding-top: 34px;
}

.section-heading h2,
.quote-band h2 {
    font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 0 clamp(18px, 5vw, 64px) 76px;
}

.product-card {
    display: grid;
    grid-template-rows: 250px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(7, 35, 90, 0.08);
}

.product-image {
    min-height: 0;
    background: var(--blue-050);
}

.placeholder-tool {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    background:
        linear-gradient(145deg, rgba(233, 242, 255, 0.9), rgba(255, 255, 255, 0.8)),
        repeating-linear-gradient(135deg, rgba(7, 89, 201, 0.08) 0 12px, transparent 12px 24px);
}

.placeholder-tool span {
    width: 42%;
    max-width: 170px;
    aspect-ratio: 1.6;
    border: 14px solid var(--blue-700);
    border-radius: 8px;
    box-shadow: 44px 28px 0 -18px var(--blue-900), -54px 36px 0 -22px #8fc5ff;
}

.product-content {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    padding: 22px;
}

.availability {
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--blue-900);
    background: var(--blue-100);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-content h3 {
    font-size: 1.35rem;
    line-height: 1.15;
}

.product-content p {
    margin: 0;
    color: var(--muted);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 8px;
}

.card-footer strong {
    color: var(--blue-950);
    font-size: 1.25rem;
}

.card-footer a {
    color: var(--blue-700);
    font-weight: 900;
}

.empty-state {
    margin: 0 clamp(18px, 5vw, 64px) 76px;
    padding: 50px;
    border: 1px dashed var(--blue-700);
    border-radius: 8px;
    background: var(--blue-050);
}

.empty-state h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.empty-state p {
    max-width: 640px;
    color: var(--muted);
}

.quote-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 clamp(18px, 5vw, 64px) 76px;
    padding: clamp(32px, 5vw, 56px);
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-950));
}

.quote-band h2,
.quote-band .eyebrow {
    color: var(--white);
}

.quote-band p:not(.eyebrow) {
    max-width: 620px;
    color: #dbeafe;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 64px);
    background: var(--blue-050);
}

.detail-media {
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.detail-placeholder {
    min-height: 420px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 26px;
    color: var(--blue-700);
    font-weight: 900;
}

.detail-copy h1 {
    font-size: clamp(3.6rem, 6vw, 6.2rem);
}

.detail-copy p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
}

.price-box {
    display: inline-grid;
    gap: 6px;
    min-width: 190px;
    margin-top: 22px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.price-box span {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
}

.price-box strong {
    color: var(--blue-900);
    font-size: 2rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 26px;
    padding: 54px clamp(18px, 5vw, 64px);
}

.detail-panel,
.request-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(7, 35, 90, 0.07);
}

.detail-panel {
    padding: clamp(26px, 4vw, 42px);
}

.detail-panel h2,
.request-panel h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.detail-panel p {
    color: var(--muted);
}

.spec-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.spec-list span {
    color: var(--muted);
}

.spec-list strong {
    color: var(--blue-950);
    text-align: right;
}

.request-panel {
    padding: 28px;
}

.request-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.request-form label {
    display: grid;
    gap: 7px;
    color: var(--blue-950);
    font-weight: 800;
}

.request-form input,
.request-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: var(--blue-050);
    font: inherit;
}

.request-form input:focus,
.request-form textarea:focus {
    outline: 3px solid rgba(11, 111, 232, 0.18);
    border-color: var(--blue-600);
}

.request-form ul {
    margin: 0;
    padding-left: 18px;
    color: #b91c1c;
}

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

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 42px clamp(18px, 5vw, 64px);
    border-top: 1px solid var(--line);
    background: var(--blue-950);
}

.site-footer p {
    max-width: 480px;
    margin: 16px 0 0;
    color: #bfdbfe;
}

.footer-brand {
    width: max-content;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--white);
}

.company-contact {
    display: grid;
    gap: 10px;
    min-width: min(360px, 100%);
}

.company-contact h2 {
    color: var(--white);
    font-family: "Inter", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: none;
}

.company-contact p {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    color: #dbeafe;
}

.company-contact span {
    color: #93c5fd;
    font-weight: 900;
}

@media (max-width: 1050px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .header-phone {
        display: none;
    }

    .hero,
    .detail-hero,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .product-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: 1fr auto;
        gap: 12px;
        min-height: auto;
    }

    .main-nav,
    .header-quote {
        display: none;
    }

    .brand-logo {
        width: 156px;
        height: 44px;
    }

    .hero {
        padding-top: 42px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 18vw, 4.4rem);
    }

    .hero-visual {
        min-height: 390px;
    }

    .machine-card {
        top: 20%;
    }

    .product-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .quote-band,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card {
        grid-template-rows: 220px 1fr;
    }

    .detail-media,
    .detail-placeholder {
        min-height: 300px;
    }

    .detail-copy h1 {
        font-size: clamp(3rem, 16vw, 4.3rem);
    }

    .spec-list li {
        display: grid;
    }

    .spec-list strong {
        text-align: left;
    }
}
