/* Production alignment with the supplied Na Hejtmánce design system. */
:root {
    --radius: 6px;
}

.company-fields[hidden] {
    display: none !important;
}

.manual-note {
    display: block;
    max-width: 250px;
    margin: 0 0 8px;
}

body {
    font-family: var(--text);
    font-size: 16px;
    line-height: 1.55;
}

p {
    margin: 0;
}

:focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 2px;
}

.site-header {
    background: color-mix(in srgb, var(--concrete) 88%, transparent);
    border-bottom-color: var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    height: auto;
    min-height: 66px;
    gap: 24px;
    padding-block: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    color: #16181a;
    font-size: 1.35rem;
}

.brand b {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.brand small {
    color: var(--ink-2);
    font-family: var(--text);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.desktop-nav {
    gap: 22px;
}

.desktop-nav a {
    border-bottom: 2px solid transparent;
    font-size: .95rem;
    font-weight: 500;
    padding-block: 4px;
}

.desktop-nav a:hover {
    border-color: var(--signal);
    text-decoration: none;
}

.header-contact {
    color: var(--ink-2);
    font-size: .8rem;
}

.btn {
    min-height: 0;
    gap: .5em;
    padding: .7em 1.2em;
    border-radius: var(--radius);
    font-weight: 700;
    line-height: 1.1;
    transition: transform .15s;
}

.btn:hover {
    box-shadow: none;
    transform: translateY(-1px);
}

.menu-toggle {
    border-radius: var(--radius);
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .005em;
    text-wrap: balance;
}

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

.hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: stretch;
    min-height: 0;
    padding-block: 44px 0;
}

.hero h1 {
    margin: 20px 0 0;
    font-size: clamp(1.75rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: .01em;
}

.hero-copy {
    container-type: inline-size;
}

@supports (font-size: 1cqw) {
    .hero h1 {
        font-size: clamp(1.75rem, 12cqw, 5rem);
    }
}

.hero h1 > span,
.hero h1 > em {
    display: block;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
}

.hero h1 em {
    background: var(--signal);
    color: #16181a;
    padding: .06em .14em 0;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero .lead {
    max-width: 34em;
    margin-top: 22px;
    color: var(--ink-2);
    font-size: 1.15rem;
}

.hero-actions {
    margin: 26px 0 0;
}

.hero-stats {
    margin-top: 28px;
    border-top: 2px solid var(--ink);
}

.hero-stats div {
    flex: 1 1 120px;
    min-width: 0;
    padding: 12px 16px 0 0;
    border-left: 0;
}

.hero-stats div:first-child {
    padding-left: 0;
}

.hero-stats dt {
    font-size: 2.2rem;
    font-weight: 800;
}

.hero-stats dd {
    color: var(--ink-2);
    font-family: var(--text);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .06em;
}

.hero-visual {
    align-self: start;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--line);
}

.hero-visual::before {
    content: none;
}

.hero-visual figcaption {
    left: 14px;
    bottom: 14px;
}

.hero-visual-label {
    position: absolute;
    top: 14px;
    right: 14px;
}

.sign {
    gap: .5em;
    padding: .35em .7em .3em;
    border-radius: 3px;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.sign b {
    margin: -.05em 0;
    padding: .1em .35em;
    border-radius: 2px;
}

.search-section {
    padding: 0 0 50px;
    border: 0;
    background: var(--concrete);
}

.ticket {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr .8fr .9fr auto;
    margin-top: -46px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 10px;
    background: var(--panel);
    box-shadow: 0 18px 40px -22px rgb(0 0 0 / 45%);
}

.ticket .f {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px 18px;
    border-right: 2px dashed var(--line);
    color: var(--ink-2);
    font-family: var(--text);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ticket .f input,
.ticket .f select {
    width: 100%;
    min-width: 0;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: 800 1.5rem/1.1 var(--display);
    text-transform: uppercase;
}

.ticket .go {
    display: flex;
    align-items: center;
    padding: 12px;
}

.ticket .go .btn {
    height: 100%;
    padding-inline: 1.6em;
    font-family: var(--text);
    font-size: 1.05rem;
    white-space: nowrap;
}

.ticket .stub {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 18px;
    border-top: 2px dashed var(--line);
    color: var(--ink-2);
    font-size: .78rem;
    flex-wrap: wrap;
}

.ticket .stub .mono {
    color: var(--ink);
}

.status-dot {
    width: .55em;
    height: .55em;
}

.section,
.rooms-section,
.steps-section,
.location-section {
    padding-block: 72px;
}

.section-head {
    margin-bottom: 28px;
}

.section-head .sign {
    margin-bottom: 14px;
}

.section-head p,
.unit-body > p {
    color: var(--ink-2);
}

.unit-card,
.result-card,
.detail-cta,
.inquiry-form,
.pass,
.company-features > div {
    overflow: hidden;
    border-color: var(--line);
    border-radius: var(--radius);
}

.unit-gallery {
    height: 340px;
}

.plate {
    display: inline-flex;
    min-height: 0;
    align-items: stretch;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 5px;
    background: var(--panel);
    box-shadow: none;
    color: var(--ink);
    font: inherit;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.plate i {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: .35em;
    font: 700 .58em/1 var(--mono);
}

.plate span {
    padding: .24em .5em .18em;
    font-family: var(--display);
    font-size: 1.25em;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.plate small {
    align-self: center;
    padding: 0 .55em 0 0;
    border-left: 0;
    color: var(--ink-2);
    font: 500 .62em/1 var(--mono);
}

.plate--hero {
    display: flex;
    grid-template-columns: none;
}

.room-panel > img {
    height: auto;
    aspect-ratio: 4 / 3;
}

.result-card img,
.house-cut,
.room-panel,
.map-card,
.booking-dialog,
.lightbox {
    border-radius: var(--radius);
}

.amenities {
    overflow: visible;
    border: 0;
    border-top: 2px solid var(--ink);
    border-radius: 0;
}

.amenities > div {
    min-height: 0;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px 22px 0;
    border-right: 0;
}

.amenities svg {
    width: 34px;
    height: 34px;
    flex: none;
    color: var(--ink);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.amenities span {
    gap: 3px;
}

.amenities strong {
    font: 800 1.3rem/1.05 var(--display);
    letter-spacing: .005em;
}

.amenities span > span {
    color: var(--ink-2);
    font-size: .9rem;
}

.company-section {
    padding-block: 72px;
    background: #e8eae5;
    color: #1c2024;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.company-copy .sign {
    background: #16181a;
    color: #f4c21b;
}

.company-copy h2 {
    max-width: 9em;
    margin-top: 14px;
    color: #1c2024;
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.company-copy ul {
    display: grid;
    max-width: 600px;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
}

.company-copy li {
    position: relative;
    padding-left: 28px;
}

.company-copy li::before {
    position: absolute;
    left: 0;
    color: #a9824f;
    content: "→";
    font-weight: 700;
}

.company-section .btn--dark {
    border-color: #16181a;
    background: #16181a;
    color: #fff;
}

.company-fleet > p {
    max-width: 600px;
    margin-bottom: 14px;
    color: #4b535a;
}

.fleet-plates {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 10px;
}

.company-section .plate {
    border-color: #1c2024;
    background: #f6f7f3;
    color: #1c2024;
    font-size: 1.05rem;
}

.company-section .plate small {
    color: #4b535a;
}

.location-grid .lead + p {
    margin-top: 14px;
    color: var(--ink-2);
}

.booking-dialog,
.lightbox {
    overflow: hidden;
}

.booking-form label,
.inquiry-form label {
    color: var(--ink-2);
    font-family: var(--text);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.inquiry-form input,
.inquiry-form textarea {
    border-color: var(--line);
    border-radius: var(--radius);
    font-family: var(--text);
    font-size: 1rem;
    font-weight: 500;
}

.booking-form .check {
    color: var(--ink);
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 64px;
        padding-block: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 36px;
    }

    .hero-visual {
        width: min(100%, 580px);
    }

    .ticket {
        grid-template-columns: 1fr 1fr;
        margin-top: 16px;
    }

    .ticket .f {
        border-bottom: 2px dashed var(--line);
    }

    .ticket .f:nth-child(even) {
        border-right: 0;
    }

    .ticket .go {
        grid-column: 1 / -1;
    }

    .ticket .go .btn {
        width: 100%;
        padding-block: 1em;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: clamp(1.75rem, 12cqw, 4rem);
    }

    .ticket {
        grid-template-columns: 1fr 1fr;
    }

    .ticket .f {
        padding: 12px 14px;
    }

    .ticket .f input,
    .ticket .f select {
        font-size: 1.25rem;
    }

    .ticket .stub {
        flex-direction: column;
    }

    .fleet-plates {
        grid-template-columns: repeat(2, max-content);
    }
}
