/* Společná typografie a rozestupy drží původní texty čitelné i na mobilu. */
:root {
    --paper: #f4f3ed;
    --ink: #20231e;
    --muted: #666b60;
    --lime: #d7f65b;
    --line: #d3d5ca;
    --max: 1376px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
body.gallery-open {
    overflow: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea {
    font: inherit;
}
button,
a,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
img {
    max-width: 100%;
    display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #789918;
    outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
    margin: 0;
}
h1,
h2,
h3 {
    line-height: 1.04;
    letter-spacing: -0.055em;
}
p + p {
    margin-top: 22px;
}
.shell {
    width: min(calc(100% - 96px), var(--max));
    margin-inline: auto;
}
.section-space {
    padding-block: 110px;
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.5;
}
.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 12px 20px;
    background: var(--lime);
    transform: translateY(-160%);
}
.skip-link:focus {
    transform: none;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244, 243, 237, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.header-inner {
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    flex-direction: column;
    line-height: 0.86;
    letter-spacing: -0.06em;
    font-size: 27px;
    font-weight: 900;
}
.brand-dot {
    color: #85a51a;
    font-size: 13px;
    vertical-align: top;
    margin-left: 4px;
}
.header-inner nav {
    display: flex;
    align-items: center;
    gap: 38px;
    font-size: 13px;
    font-weight: 700;
}
.header-inner nav > a {
    padding-block: 12px;
}
.header-inner nav > a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}
.header-inner .nav-contact {
    padding: 12px 21px;
    border: 1px solid var(--ink);
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-contact span {
    font-size: 20px;
    line-height: 1;
}
.menu-toggle {
    display: none;
}
.hero {
    padding-block: 62px 64px;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-copy > .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}
.status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    background: #86a722;
    border-radius: 50%;
}
.hero h1 {
    font-size: clamp(50px, 5.4vw, 82px);
    font-weight: 900;
    letter-spacing: -0.065em;
    margin-block: 28px 24px;
}
.hero h1 > span {
    background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 93%, transparent 93%);
}
.hero-description {
    max-width: 390px;
    font-size: 16px;
    color: var(--muted);
}
.hero-actions {
    display: flex;
    gap: 26px;
    align-items: center;
    margin-top: 34px;
}
.button {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 16px 23px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    transition:
        background 0.2s,
        transform 0.2s;
}
.button:hover {
    transform: translateY(-2px);
}
.button > span {
    font-size: 22px;
    line-height: 1;
}
.button-dark {
    background: var(--ink);
    color: var(--paper);
}
.button-dark:hover {
    background: #3d4437;
}
.text-link {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    gap: 14px;
    align-items: center;
}
.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}
.hero-footnote {
    display: flex;
    gap: 24px;
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-top: 43px;
    color: var(--muted);
}
.hero-image {
    position: relative;
    background: #e3e3da;
    align-self: stretch;
    min-height: 508px;
    overflow: hidden;
}
.hero-image > img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: 35% center;
}
.hero-image:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 42%, rgba(0, 0, 0, 0.36));
}
.hero-image figcaption {
    position: absolute;
    bottom: 24px;
    left: 26px;
    right: 26px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    z-index: 1;
    color: #fff;
    font-size: 11px;
}
.image-label {
    position: absolute;
    top: 24px;
    left: 26px;
    z-index: 1;
    font-size: 34px;
    letter-spacing: -0.06em;
    font-weight: 900;
    line-height: 0.96;
    color: white;
}
.ticker {
    background: var(--lime);
    border-block: 1px solid var(--ink);
    padding-block: 22px;
}
.ticker-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
}
.ticker-content > span:nth-child(even) {
    font-size: 22px;
    line-height: 1;
}
.product {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}
.section-heading > .eyebrow {
    margin-bottom: 24px;
}
.section-heading h2 {
    font-size: clamp(37px, 4.1vw, 61px);
    font-weight: 800;
}
.lead {
    font-size: 23px;
    line-height: 1.5;
    letter-spacing: -0.025em;
}
.product-details {
    margin-top: 30px;
    font-size: 14px;
    color: var(--muted);
}
.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}
.solution-tags span {
    border: 1px solid var(--line);
    font-size: 10px;
    letter-spacing: 0.035em;
    padding: 7px 11px;
}
.uses {
    background: #e9eadf;
    border-block: 1px solid var(--line);
}
.section-heading-wide {
    margin-bottom: 52px;
}
.section-heading-wide h2 {
    max-width: 900px;
}
.section-heading-wide > p:last-child:not(.eyebrow) {
    color: var(--muted);
    margin-top: 20px;
    font-size: 14px;
}
.uses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #bdc1b2;
    border-left: 1px solid #bdc1b2;
}
.use-card {
    padding: 31px 29px 36px;
    border-bottom: 1px solid #bdc1b2;
    border-right: 1px solid #bdc1b2;
}
.use-number {
    width: 34px;
    height: 34px;
    border: 1px solid #a1a793;
    display: grid;
    place-items: center;
    font-size: 10px;
    margin-bottom: 32px;
}
.use-card h3 {
    font-size: 28px;
    line-height: 1.1;
    max-width: 280px;
    margin-bottom: 18px;
}
.use-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #5a6052;
}
.use-card:first-child {
    background: var(--lime);
}
.use-card:first-child p {
    color: #37451d;
}
.reference {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 65px;
    padding-block: 47px;
    border-top: 1px solid var(--line);
}
.reference:last-child {
    padding-bottom: 0;
}
.reference-copy h3 {
    font-size: 37px;
    margin-top: 19px;
    margin-bottom: 24px;
}
.reference-copy p {
    font-size: 14px;
    color: var(--muted);
}
.reference-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-content: start;
}
.gallery-image {
    position: relative;
    overflow: hidden;
    background: #dfdfd5;
    aspect-ratio: 4/3;
}
.gallery-image:first-child {
    grid-column: 1/-1;
    aspect-ratio: 16/8;
}
.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-image:hover img {
    transform: scale(1.045);
}
.gallery-image > span {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    background: var(--paper);
    color: var(--ink);
    font-size: 19px;
}
.gallery-image:focus-visible {
    outline-offset: 2px;
}
.contact {
    background: var(--ink);
    color: var(--paper);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 110px;
}
.contact-copy > .eyebrow {
    color: #b7bcb0;
    margin-bottom: 28px;
}
.contact h2 {
    font-size: clamp(44px, 5.4vw, 80px);
    font-weight: 800;
    line-height: 1.03;
}
.contact h2 span {
    color: var(--lime);
}
.contact-copy > p:not(.eyebrow) {
    max-width: 405px;
    margin-top: 30px;
    color: #b7bcb0;
    font-size: 15px;
}
.phone-link {
    display: flex;
    gap: 32px;
    align-items: center;
    width: max-content;
    font-size: 34px;
    letter-spacing: -0.045em;
    margin-top: 39px;
    border-bottom: 1px solid #838b76;
    padding-bottom: 4px;
}
.phone-link:hover {
    color: var(--lime);
}
.contact-note {
    display: block;
    color: #aab2a0;
    font-size: 11px;
    margin-top: 13px;
}
.contact-form {
    padding-top: 5px;
}
.form-field {
    margin-bottom: 24px;
}
.form-field label {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    margin-bottom: 9px;
}
.form-field label span {
    font-size: 10px;
    color: #aab2a0;
}
.form-field input,
.form-field textarea {
    border: 1px solid #646d57;
    background: transparent;
    color: var(--paper);
    padding: 14px 16px;
    border-radius: 0;
    width: 100%;
    min-width: 0;
    font-size: 14px;
}
.form-field textarea {
    resize: vertical;
    min-height: 124px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a4aa9b;
    opacity: 1;
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--lime);
}
.form-field [aria-invalid='true'] {
    border-color: #f3a3a3;
}
.button-lime {
    background: var(--lime);
    color: var(--ink);
    width: 100%;
}
.button-lime:hover {
    background: #e2ff80;
}
.captcha-wrap {
    max-width: 100%;
    margin-block: 2px 24px;
    overflow: hidden;
    min-height: 78px;
}
.form-notice {
    padding: 17px 19px;
    margin-bottom: 25px;
    border: 1px solid;
    font-size: 13px;
    line-height: 1.6;
}
.form-notice.success {
    border-color: var(--lime);
    background: #323c24;
    color: var(--lime);
}
.form-notice.error {
    border-color: #e2a3a3;
    background: #422d28;
    color: #ffcece;
}
.form-notice ul {
    margin: 8px 0 0;
    padding-left: 18px;
}
.site-footer {
    background: var(--ink);
    color: var(--paper);
    border-top: 1px solid #434a3a;
    padding-block: 26px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    font-size: 11px;
}
.footer-brand {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.06em;
}
.footer-inner > span {
    color: #aab2a0;
}
.footer-inner > a:last-child {
    display: flex;
    gap: 18px;
}
/* Nativní dialog zachovává ovládání klávesnicí i návrat fokusu do galerie. */
.gallery-dialog {
    border: 0;
    background: #181b16;
    color: var(--paper);
    padding: 20px;
    width: min(1100px, 95vw);
    max-height: 95dvh;
}
.gallery-dialog::backdrop {
    background: rgba(10, 12, 9, 0.88);
}
.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    margin-bottom: 12px;
}
.gallery-dialog button {
    background: transparent;
    color: var(--paper);
    border: 1px solid #626858;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    line-height: 1;
    font-size: 20px;
}
.gallery-stage {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
.gallery-full-image {
    max-height: 74dvh;
    max-width: calc(100% - 110px);
    object-fit: contain;
}
.gallery-counter {
    text-align: center;
    font-size: 12px;
    margin-top: 14px;
    color: #c4cabd;
}
@media (min-width: 1600px) {
    .hero h1 {
        font-size: 90px;
    }
    .hero-image {
        min-height: 580px;
    }
}
@media (max-width: 1100px) {
    .shell {
        width: calc(100% - 64px);
    }
    .hero {
        gap: 30px;
    }
    .hero h1 {
        font-size: clamp(43px, 5.4vw, 64px);
    }
    .hero-image {
        min-height: 460px;
    }
    .hero-actions {
        gap: 16px;
    }
    .button {
        gap: 20px;
        padding-inline: 18px;
    }
    .product {
        gap: 45px;
    }
    .contact-grid {
        gap: 60px;
    }
    .reference {
        gap: 40px;
    }
    .use-card {
        padding: 26px 22px;
    }
    .hero-footnote {
        gap: 12px;
        font-size: 8px;
    }
}
@media (max-width: 800px) {
    .shell {
        width: calc(100% - 40px);
    }
    .section-space {
        padding-block: 72px;
    }
    .header-inner {
        height: 78px;
    }
    .brand {
        font-size: 24px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 15px;
        background: transparent;
        border: 1px solid var(--line);
        padding: 11px 14px;
        font-size: 12px;
        line-height: 1;
    }
    .menu-icon {
        width: 17px;
        height: 12px;
        position: relative;
        border-block: 1px solid var(--ink);
    }
    .menu-toggle[aria-expanded='true'] .menu-icon {
        border: 0;
    }
    .menu-toggle[aria-expanded='true'] .menu-icon:before,
    .menu-toggle[aria-expanded='true'] .menu-icon:after {
        content: '';
        height: 1px;
        background: var(--ink);
        position: absolute;
        width: 17px;
        top: 5px;
        transform: rotate(45deg);
    }
    .menu-toggle[aria-expanded='true'] .menu-icon:after {
        transform: rotate(-45deg);
    }
    .header-inner nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        padding: 20px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        gap: 0;
    }
    .header-inner nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .header-inner nav > a {
        padding: 14px 0;
        font-size: 16px;
    }
    .header-inner .nav-contact {
        margin-top: 10px;
        padding: 14px 18px;
    }
    .hero {
        padding-block: 40px;
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .hero h1 {
        font-size: clamp(46px, 9.5vw, 76px);
        margin-top: 25px;
    }
    .hero-description {
        max-width: 430px;
    }
    .hero-image {
        min-height: 0;
        aspect-ratio: 5/4;
    }
    .hero-footnote {
        font-size: 9px;
        margin-top: 28px;
        gap: 24px;
    }
    .hero-actions {
        margin-top: 26px;
    }
    .ticker {
        padding-block: 19px;
    }
    .ticker-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        font-size: 11px;
    }
    .ticker-content > span:nth-child(even) {
        display: none;
    }
    .product {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .section-heading h2 {
        font-size: 44px;
    }
    .lead {
        font-size: 21px;
    }
    .product-details {
        font-size: 14px;
    }
    .uses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-heading-wide {
        margin-bottom: 34px;
    }
    .reference {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-block: 34px;
    }
    .reference-copy h3 {
        font-size: 32px;
        margin-top: 14px;
        margin-bottom: 17px;
    }
    .reference-copy p {
        max-width: 650px;
    }
    .reference-gallery {
        gap: 8px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .contact h2 {
        font-size: clamp(46px, 9vw, 67px);
    }
    .contact-copy > p:not(.eyebrow) {
        max-width: 500px;
    }
    .phone-link {
        font-size: 30px;
        margin-top: 28px;
    }
    .contact-form {
        max-width: 600px;
        width: 100%;
    }
    .footer-inner {
        flex-wrap: wrap;
    }
    .footer-inner > span {
        order: 3;
        width: 100%;
        font-size: 10px;
    }
    .gallery-dialog {
        padding: 14px;
    }
    .gallery-stage {
        gap: 6px;
    }
    .gallery-dialog button {
        width: 30px;
        height: 36px;
        font-size: 18px;
    }
    .gallery-full-image {
        max-width: calc(100% - 72px);
    }
}
@media (max-width: 480px) {
    .section-space {
        padding-block: 58px;
    }
    .hero h1 {
        font-size: clamp(42px, 10.8vw, 53px);
    }
    .hero-copy > .eyebrow {
        font-size: 9px;
        letter-spacing: 0.08em;
    }
    .hero-actions {
        gap: 20px;
        flex-wrap: wrap;
    }
    .hero-description {
        font-size: 14px;
    }
    .hero-footnote {
        font-size: 8px;
        gap: 19px;
    }
    .hero-image {
        aspect-ratio: 1;
    }
    .hero-image figcaption {
        left: 18px;
        right: 18px;
        bottom: 18px;
        font-size: 10px;
    }
    .image-label {
        left: 18px;
        top: 18px;
        font-size: 30px;
    }
    .section-heading h2 {
        font-size: 36px;
    }
    .uses-grid {
        grid-template-columns: 1fr;
    }
    .use-card {
        padding: 25px;
    }
    .use-number {
        margin-bottom: 25px;
    }
    .use-card h3 {
        font-size: 27px;
    }
    .use-card p {
        font-size: 14px;
    }
    .reference-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .reference-gallery .gallery-image:first-child {
        aspect-ratio: 4/3;
    }
    .contact h2 {
        font-size: 44px;
    }
    .footer-brand {
        font-size: 20px;
    }
    .footer-inner {
        gap: 14px;
    }
    .phone-link {
        font-size: 30px;
    }
    .lead {
        font-size: 19px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important;
    }
}
