:root {
    --ink: #050505;
    --paper: #ffffff;
    --muted: #666666;
    --line: #e7e2dc;
    --cream: #f7f4ef;
    --red: #b02a24;
    --red-dark: #761b17;
    --green: #2f6b44;
    --gold: #c8a45d;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

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

.site-header :focus-visible,
.hero :focus-visible,
.contact-panel :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--paper);
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 50;
    background: var(--paper);
    color: var(--ink);
    padding: 10px 14px;
}

.skip-link:focus {
    top: 16px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 10px clamp(18px, 4vw, 48px);
    background: rgba(0, 0, 0, 0.94);
    color: var(--paper);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.brand img {
    width: 270px;
    height: 70px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav a {
    position: relative;
    padding: 14px 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.site-nav a::after {
    position: absolute;
    right: 12px;
    bottom: 8px;
    left: 12px;
    height: 2px;
    content: "";
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--paper);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: clamp(520px, 72vh, 780px);
    isolation: isolate;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--ink);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.24) 54%, rgba(176, 42, 36, 0.16)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 56%);
}

.hero__content {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 clamp(56px, 9vw, 112px);
    color: var(--paper);
}

.hero__content p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 26px);
}

.hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(46px, 8vw, 112px);
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.button--primary {
    background: var(--red);
    color: var(--paper);
}

.button--primary:hover {
    background: var(--red-dark);
}

.button--ghost {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--paper);
    background: rgba(0, 0, 0, 0.2);
}

.section {
    padding: clamp(64px, 8vw, 112px) 0;
}

.section--intro,
.section--pricing,
.section--rules {
    background: var(--cream);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-weight: 800;
    text-transform: uppercase;
}

h2 {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 18px;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.18;
    letter-spacing: 0;
}

p {
    margin: 0 0 16px;
}

.intro-grid,
.offer,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.quick-facts {
    display: grid;
    gap: 14px;
}

.quick-facts div {
    padding: 22px;
    border-left: 5px solid var(--red);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.quick-facts strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.quick-facts span {
    color: var(--muted);
}

.offer {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
}

.feature-image {
    overflow: hidden;
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: clamp(16px, 3vw, 34px);
}

.feature-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--paper);
    filter: grayscale(1) brightness(1.82) contrast(1.65);
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    position: absolute;
    top: 0.2em;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    content: "";
    background: var(--green);
    box-shadow: inset 0 0 0 5px var(--paper);
}

.section-heading {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading p {
    color: var(--muted);
}

.pricing-note {
    max-width: 960px;
    margin: 0 auto 34px;
    padding: clamp(20px, 3vw, 34px);
    border-top: 5px solid var(--red);
    background: var(--paper);
}

.pricing-note ul {
    margin-top: -4px;
}

.section--faq {
    background: var(--cream);
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

.faq-list details {
    border-left: 5px solid var(--red);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 800;
}

.faq-list p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--muted);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.price-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.price-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: -26px -26px 22px;
    padding: 20px 26px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 8px 8px 0 0;
}

.price-card__top span,
.price-card__top small {
    font-weight: 800;
}

.price-card h3 {
    min-height: 112px;
    color: var(--red-dark);
}

.price-card ul {
    padding: 0;
    margin: 0 0 18px;
    list-style: none;
}

.price-card li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.price-card p {
    color: var(--muted);
    font-size: 15px;
}

.price-card .button {
    margin-top: auto;
}

.section--gallery {
    background: #111;
    color: var(--paper);
    padding-top: clamp(88px, 10vw, 140px);
}

.section--gallery .section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #222;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 220ms ease;
}

.gallery-item:hover img {
    transform: scale(1.045);
}

.lightbox {
    width: min(1040px, calc(100% - 28px));
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #000;
    box-shadow: var(--shadow);
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    color: var(--paper);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.lightbox__close {
    top: 10px;
    right: 10px;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 32px;
}

.lightbox__nav--prev {
    left: 14px;
}

.lightbox__nav--next {
    right: 14px;
}

.section--contact {
    background: var(--paper);
}

.contact-grid {
    grid-template-columns: minmax(0, 1120px);
    justify-content: center;
    align-items: start;
    gap: clamp(22px, 4vw, 34px);
}

.contact-panel {
    padding: clamp(22px, 4vw, 40px);
    border-radius: 8px;
    background: var(--ink);
    color: var(--paper);
}

.contact-panel address {
    margin: 0 0 24px;
    font-style: normal;
}

.contact-panel a {
    color: var(--paper);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 14px;
}

.form-alert {
    margin: 0 0 18px;
    padding: 13px 14px;
    border-radius: 6px;
    font-weight: 700;
}

.form-alert--success {
    background: #e8f7ed;
    color: #174b28;
}

.form-alert--error {
    background: #fff0f0;
    color: #7b1919;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 12px;
    color: var(--paper);
    background: rgba(255, 255, 255, 0.09);
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form label:nth-of-type(6),
.contact-form .checkbox,
.contact-form button {
    grid-column: 1 / -1;
}

.checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 9px !important;
}

.checkbox input {
    width: 18px;
    height: 18px;
}

.map-panel {
    position: relative;
    min-height: 0;
    height: clamp(240px, 32vw, 340px);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--ink);
}

.map-panel iframe {
    display: none;
    width: 100%;
    height: 100%;
}

.map-panel.is-map-enabled iframe {
    display: block;
}

.map-consent {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 12px;
    padding: clamp(22px, 4vw, 42px);
    color: var(--paper);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.54)),
        url("../img/hero/hero-kontakty.webp") center / cover;
}

.map-panel.is-map-enabled .map-consent {
    display: none;
}

.map-consent strong {
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.1;
}

.rules-panel {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.check-list--large {
    font-size: 20px;
}

.section--legal {
    background: var(--cream);
}

.legal-content {
    max-width: 940px;
    padding: clamp(24px, 5vw, 54px);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.legal-content a {
    color: var(--red);
    font-weight: 800;
}

.legal-content h3 {
    margin-top: 34px;
}

.site-footer {
    background: var(--ink);
    color: var(--paper);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 28px;
    padding: 48px 0;
}

.site-footer h2 {
    margin-bottom: 16px;
    font-size: 20px;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--paper);
}

.footer-logo {
    width: 240px;
    height: 70px;
    margin-bottom: 18px;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    display: inline;
    color: inherit;
    text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--paper);
    text-decoration: underline;
}

.footer-credit {
    margin-left: 3px;
}

.whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cookie-panel {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.96);
    color: var(--paper);
    box-shadow: var(--shadow);
}

.cookie-panel[hidden] {
    display: none;
}

.cookie-panel__text p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.cookie-panel__settings {
    display: flex;
    gap: 14px;
    grid-column: 1 / -1;
    flex-wrap: wrap;
}

.cookie-panel__settings[hidden] {
    display: none;
}

.cookie-panel__settings label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.cookie-panel__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 18px 18px;
        background: var(--ink);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 0;
    }

    .intro-grid,
    .offer,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .price-card h3 {
        min-height: 0;
    }

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

    .map-panel {
        height: 260px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form label,
    .contact-form button {
        grid-column: 1 / -1;
    }

    .cookie-panel {
        grid-template-columns: 1fr;
    }

    .cookie-panel__actions {
        justify-content: stretch;
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: 72px;
        padding-inline: 14px;
    }

    .brand img {
        width: 210px;
        height: auto;
    }

    .hero {
        min-height: 560px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

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

    .whatsapp {
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
        font-size: 14px;
    }
}
