/* =========================================================
   STYLE CSS - základ + desktop
========================================================= */

:root {
    --lime: #56e000;
    --dark: #090b0c;
    --ink: #14181c;
    --muted: #697078;
    --line: #e1e4e8;
    --white: #fff;
    --font-head: 'Barlow Condensed', Impact, sans-serif;
    --font: 'Inter', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}

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

.container {
    width: min(1160px, calc(100% - 48px));
    margin: auto;
}

.site-header {
    height: 92px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    position: sticky;
    top: 0;
    z-index: 50;

    transition: all .3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

 background: linear-gradient(
        to bottom,
        rgba(255,255,255,.75),
        rgba(255,255,255,.55)
    );

    box-shadow:
        0 8px 25px rgba(0,0,0,.08),
        0 1px 0 rgba(255,255,255,.4) inset;
}

.logo img {
    width: 190px;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 92px;
    color: #111;
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    height: 3px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: center;
    transition: .25s ease;
}

.main-nav a:hover::after,
.main-nav .active::after {
    transform: scaleX(1);
}

.main-nav .active {
    color: var(--lime);  
}   

.site-header.scrolled .main-nav .active {
    color: var(--dark);
}

.nav-cta {
    height: auto !important;
    background: var(--lime);
    padding: 18px 34px !important;
    border-radius: 4px;
    color: #071004 !important;
    box-shadow: 0 8px 18px rgba(86, 224, 0, .25);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #111;
    margin: 5px;
}

/* HERO */

.hero {
    height: 445px;
    position: relative;
    background: #080a0b;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #070809 0%,
            rgba(7, 8, 9, .94) 28%,
            rgba(7, 8, 9, .72) 48%,
            rgba(7, 8, 9, .22) 72%,
            rgba(7, 8, 9, .05) 100%
        ),
        url('../img/hero_bg.png') right center / auto 100% no-repeat;
    opacity: 1;
}

.hero:after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(255, 255, 255, .06));
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
   grid-template-columns: 560px 1fr;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 62px;
    width: 560px;
    max-width: 560px;
    white-space: normal;
}

.hero-title strong {
    white-space: nowrap;
}

.eyebrow,
.section-kicker {
    color: var(--lime);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow span,
.section-kicker:after {
    content: '';
    display: inline-block;
    width: 46px;
    height: 2px;
    background: var(--lime);
}

h1,
h2 {
    font-family: var(--font-head);
    text-transform: uppercase;
    line-height: .95;
    margin: 0;
    letter-spacing: .5px;
}

h1 {
    font-size: 62px;
}

h2 {
    font-size: 46px;
}

h1 strong,
h2 strong {
    color: var(--lime);
    font-style: normal;
}

.hero-text {
    max-width: 450px;
    font-weight: 700;
    line-height: 1.55;
    color: #e8ecef;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    padding: 17px 28px;
    transition: .25s;
}

.btn-primary {
    background: var(--lime);
    color: #061005;
}

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

.btn:hover {
    transform: translateY(-3px);
}

.pulse {
    box-shadow: 0 0 0 0 rgba(86, 224, 0, .55);
    animation: pulse 2.5s infinite;
}

.hero-visual {
    position: absolute;
    right: 15px;
    bottom: 0;
    width: 650px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-visual img {
    position: absolute;
    right: 0;
    bottom: -30px;
    width: 620px;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 28px 10px rgba(0, 0, 0, 0.45));

    opacity: 0;
    visibility: hidden;
    transform: translateX(120px);
    animation: none;
}

.hero-visual img.loaded.animate-truck {
    visibility: visible;
    animation: truckIn 1.1s ease-out both;
}

/* SEKCIE */

.section {
    padding: 25px 0;
}

.services {
    background: #f6f7f8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 25px; /* viac priestoru kvôli prečnievajúcim obrázkom */
}

.service-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #fff;
    border: 1px solid #dfe2e5;
    border-radius: 7px;
    padding: 22px;
    min-height: 260px;
    position: relative;
    overflow: visible; 
    transition: .3s;
}

.service-card img {
    width: 100%;
    height: 155px;
    object-fit: contain;
    margin-top: -50px;     /* vytiahne obrázok von z karty */
    margin-bottom: 10px;
    transition: .35s;
}

.service-card h3,
.product-card h3,
.machine-card h3,
.why h3 {
    font-family: var(--font-head);
    font-size: 23px;
    text-transform: uppercase;
    margin: 14px 0 8px;
}

.service-card p {
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
    color: #3b4248;
}

.service-card span {
    position: absolute;
    right: 22px;
    bottom: 20px;
    color: var(--lime);
    font-size: 30px;
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, .12);
}

.service-card:hover img {
    transform: scale(1.06);
}

.service-card:hover span {
    right: 16px;
}

/* PRODUKTY */

.products-dark {
    background:
        radial-gradient(circle at 20% 0, rgba(255, 255, 255, .09), transparent 35%),
        #080a0b;
    color: #fff;
    overflow: hidden;
}

.products-dark h2 {
    margin-bottom: 35px;
    transition: opacity .25s ease;
}

.products-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 18px;
    margin-top: -18px;
    margin-bottom: 28px;
}
.product-group {
    display: none;
}

.product-group.active {
    display: block;
}

.product-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    min-height: 230px;
    overflow: visible;
}

.product-card {
    flex: 0 0 137px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 3px;
    text-align: center;
    padding: 10px 6px 12px;
    background: rgba(255, 255, 255, .02);
    transition: .35s ease;
    transform-style: preserve-3d;
    min-height: 210px;
}
.product-enter {
    opacity: 0;
    transform: translateX(-80px);
}

.product-exit {
    opacity: 0;
    transform: translateX(120px);
    pointer-events: none;
}

.product-card img {
    width: 118px;
    height: 98px;
    object-fit: contain;
}

.product-card h3 {
    font-family: var(--font-head);
    font-size: 24px;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.product-card:hover {
    border-color: var(--lime);
    box-shadow: 0 0 24px rgba(86, 224, 0, .22);
    transform: translateY(-10px) rotateX(5deg);
}

.btn-outline {
    border: 2px solid var(--lime);
    color: var(--lime);
    display: flex;
    width: max-content;
    margin: 0 auto;
    background: rgba(86, 224, 0, .04);
}

/* PREČO MY */

.why {
    padding: 25px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr repeat(4, 1.3fr);
    gap: 28px;
    align-items: center;
}

.why article {
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 1px solid #d9dde0;
    padding-left: 18px;
}

.why article:first-of-type {
    border-left: 0;
}

.why img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.why p {
    font-size: 13px;
    margin: 0;
    color: #4c545b;
    font-weight: 700;
}

.why h3 {
    font-size: 18px;
    margin: 0 0 6px;
    text-transform: none;
    font-family: var(--font);
}

/* STROJE */

.machine-park {
    background: #0a0d0f;
    color: #fff;
    padding: 42px 0;
}

.park-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.arrows button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .45);
    background: transparent;
    color: white;
    font-size: 22px;
}

.arrows button:last-child {
    color: var(--lime);
    border-color: var(--lime);
}

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

.machine-card {
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 5px;
    overflow: hidden;
    background: #15191d;
    transition: .25s;
}

.machine-card img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    transition: .35s;
}

.machine-card h3 {
    font-family: var(--font);
    font-size: 15px;
    text-transform: none;
    margin: 0;
    padding: 16px;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
}

.machine-card span {
    color: var(--lime);
    font-size: 24px;
}

.machine-card:hover {
    border-color: var(--lime);
    transform: translateY(-5px);
}

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

/* CTA */

.cta-strip {
    position: relative;
    overflow: hidden;

    padding: 24px 0;
    color: #071004;
    background: url('../img/poz.png') center center / cover no-repeat, var(--lime);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr auto;
    align-items: center;
    gap: 28px;
}

.cta-strip h2 {
    font-size: 40px;
}

.cta-strip p {
    margin: 4px 0 0;
    font-weight: 800;
}

.contact-mini {
    display: flex;
    gap: 14px;
    align-items: center;
    font-weight: 800;
}

.contact-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.btn-dark {
    background: #111;
    color: #fff;
    min-width: 210px;
}

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

.footer {
    background: #111;
    color: #fff;
    padding: 14px 0;
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer p,
.footer a {
    font-size: 12px;
    color: #cdd2d6;
    font-weight: 800;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 16px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;

    background: rgba(255,255,255,.03);

    text-decoration: none;

    transition: .25s ease;
}

.footer-social img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.footer-social span {
    font-size: 13px;
    font-weight: 800;
    color: #d7dde2;
}

.footer-social:hover {
    transform: translateY(-3px);

    border-color: var(--lime);

    background: rgba(86, 224, 0, .08);

    box-shadow:
        0 0 18px rgba(86,224,0,.15);
}

/* BOTTOM */

.footer-bottom {
    margin-top: 34px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    text-align: center;
}

.footer-bottom img {
    width: 160px;
    height: auto;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,.65);

    font-size: 13px;
    line-height: 1.6;
}

/* MOBILE */

/* ANIMÁCIE */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: .75s;
}

.reveal-right {
    opacity: 0;
    transform: translateX(90px);
    transition: .9s;
}

.show {
    opacity: 1;
    transform: none;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 14px rgba(86, 224, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(86, 224, 0, 0);
    }
}

@keyframes truckIn {
    from {
        opacity: 0;
        transform: translateX(120px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* O spolocnosti */

.about-company {
    position: relative;
    padding: 25px 0 32px;
    background: #fff;
}

.about-company::after {
    content: "";
    display: block;

    width: min(1160px, calc(100% - 48px));
    height: 1px;

    margin: 32px auto 0;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,0,0,0.08) 12%,
        rgba(0,0,0,0.16) 50%,
        rgba(0,0,0,0.08) 88%,
        transparent 100%
    );
}

.about-company-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 70px;
    align-items: center;
}

.about-company-text h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    margin: 14px 0 30px;
    color: var(--dark);
}

.about-company-text p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 22px;
}

.about-company-stats {
    display: grid;
    gap: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 22px;

    background: #fff;
    padding: 22px 26px;
    border-radius: 24px;
    border: 1px solid var(--line);

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.stat-box img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    flex-shrink: 0;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.stat-box strong {
    display: block;
    font-size: 38px;
    font-family: var(--font-head);
    color: var(--lime);
    margin-bottom: 6px;
}

.stat-box span {
    display: block;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

#onas {
    scroll-margin-top: 90px;
}

#produkty {
    scroll-margin-top: 90px;
}

#park {
    scroll-margin-top: 90px;
}

#kontakt {
    scroll-margin-top: 90px;
}
#home {
    scroll-margin-top: 90px;
}

#sluzby {
    scroll-margin-top: 90px;
}
#dopyt {
    scroll-margin-top: 90px;
}
/* =========================================================
   DOPYTOVÝ FORMULÁR
========================================================= */

.demand-form-section {
    padding: 70px 0;
    background:
        radial-gradient(circle at top left, rgba(86,224,0,.08), transparent 32%),
        #f6f7f8;
}

.demand-form-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 46px;
    align-items: start;
}

.demand-form-head {
    position: sticky;
    top: 120px;
}

.demand-form-head h2 {
    margin: 14px 0 22px;
    font-size: clamp(38px, 5vw, 58px);
}

.demand-form-head p {
    color: var(--muted);
    line-height: 1.8;
    font-weight: 700;
}

.demand-form {
    display: grid;
    gap: 22px;
}

.demand-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 14px 36px rgba(0,0,0,.06);
}

.demand-box h3 {
    margin: 0 0 22px;
    font-family: var(--font-head);
    font-size: 32px;
    text-transform: uppercase;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.demand-form label {
    display: grid;
    gap: 8px;
    color: #263037;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.demand-form input,
.demand-form select,
.demand-form textarea {
    width: 100%;
    border: 1px solid #d9dde0;
    border-radius: 14px;
    padding: 15px 16px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: .2s ease;
}

.demand-form textarea {
    resize: vertical;
    min-height: 130px;
}

.demand-form input:focus,
.demand-form select:focus,
.demand-form textarea:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 4px rgba(86,224,0,.13);
}

.demand-form-summary {
    display: grid;
    gap: 12px;
    margin: 20px 0 22px;
}

.demand-summary-item {
    display: grid;
    gap: 6px;

    padding: 16px 18px;

    border: 1px solid #dfe3e6;
    border-radius: 16px;

    background: #f7f8f9;
}

.demand-summary-item strong {
    font-family: var(--font-head);
    font-size: 24px;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--ink);
}

.demand-summary-item span {
    font-size: 15px;
    font-weight: 900;
    color: #1d2429;
}

.demand-summary-item small {
    font-size: 13px;
    font-weight: 800;
    color: #5d6870;
}
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}
.demand-submit {
    width: max-content;
    min-width: 240px;
    border: 0;
    cursor: pointer;
    justify-self: end;
}

.demand-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.demand-summary-box p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 700;
}

.demand-summary-box .btn {
    width: max-content;
}

/* RESPONSIVE DOPYT */

/* =========================================================
   DOPYTOVÝ KOŠÍK - DRAWER
========================================================= */

.demand-sticker {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 120;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    border: 0;
    border-radius: 14px 0 0 14px;

    padding: 16px 14px;

    background: var(--lime);
    color: #071004;

    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;

    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.demand-sticker span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: .5px;
}

.demand-sticker strong {
    min-width: 28px;
    height: 28px;

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

    border-radius: 50%;

    background: #071004;
    color: #fff;

    font-size: 13px;
}

.demand-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 130;

    background: rgba(0,0,0,.45);

    opacity: 0;
    visibility: hidden;

    transition: .25s ease;
}

.demand-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.demand-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 140;

    width: min(430px, 100%);
    height: 100vh;

    background: #fff;

    transform: translateX(100%);
    transition: .3s ease;

    display: flex;
    flex-direction: column;

    box-shadow: -20px 0 50px rgba(0,0,0,.25);
}

.demand-drawer.open {
    transform: translateX(0);
}

.demand-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 26px;

    background:
        radial-gradient(circle at top left, rgba(86,224,0,.16), transparent 45%),
        #0f1315;

    color: #fff;
}

.demand-drawer-head p {
    margin: 0 0 4px;
    color: var(--lime);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.demand-drawer-head h3 {
    margin: 0;
    font-family: var(--font-head);
    font-size: 34px;
    text-transform: uppercase;
}

.demand-drawer-head button {
    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    background: transparent;
    color: #fff;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}

.demand-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px;

    display: grid;
    gap: 14px;
    align-content: start;
}

.demand-empty {
    margin: 0;
    padding: 24px;

    border: 1px dashed #cfd5d9;
    border-radius: 18px;

    color: #697078;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

.demand-cart-item {
    border: 1px solid #dfe3e6;
    border-radius: 18px;
    padding: 18px;

    background: #f7f8f9;
}

.demand-cart-item-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.demand-cart-item h4 {
    margin: 0;

    font-family: var(--font-head);
    font-size: 25px;
    line-height: 1.05;
    text-transform: uppercase;
}

.demand-cart-item small {
    display: block;
    margin-top: 6px;

    color: #68727a;
    font-weight: 800;
    text-transform: uppercase;
}

.demand-remove {
    border: 0;
    background: #111;
    color: #fff;

    width: 34px;
    height: 34px;

    border-radius: 50%;
    cursor: pointer;

    font-size: 20px;
    line-height: 1;
}

.demand-cart-controls {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 10px;
}

.demand-cart-controls input,
.demand-cart-controls select {
    width: 100%;
    border: 1px solid #d7dde1;
    border-radius: 12px;

    padding: 12px;

    font-family: var(--font);
    font-weight: 800;
}

.demand-cart-services {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.demand-cart-services label {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
    font-weight: 900;
}

.demand-cart-services input {
    width: 18px;
    height: 18px;
    accent-color: var(--lime);
}

.demand-drawer-foot {
    padding: 20px 22px 24px;
    border-top: 1px solid #e1e5e8;
}

.demand-drawer-foot .btn {
    width: 100%;
}

/* TABLET */

/* MOBIL */
