/* Landing page template: Strona projektu */
body.project-site {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f9f8f6;
}

.project-site .project-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 14px max(6vw, 24px);
    border-bottom: 1px solid #e1d9d1;
    background: rgba(249, 248, 246, .95);
}

.project-brand { display: inline-flex; align-items: center; gap: 12px; color: #2e2925; text-decoration: none; }
.project-brand-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #bca68a; border-radius: 14px; background: #c9b59c; }
.project-brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.project-brand-copy { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.project-brand-copy strong { font-size: .95rem; }
.project-brand-copy small { color: #716961; font-size: .72rem; }
.project-nav-link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #d9cfc7; border-radius: 999px; color: #2e2925; font-size: .86rem; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s; }
.project-nav-link:hover { border-color: #c9b59c; background: #efe9e3; }

.project-page { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.project-hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(42px, 8vw, 104px); padding: clamp(66px, 10vw, 124px) 0 104px; }
.project-hero-copy { max-width: 570px; }
.project-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #8a745d; font-size: .69rem; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.project-hero-copy .project-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #b59166; box-shadow: 0 0 0 5px rgba(181, 145, 102, .15); }
.project-hero h1 { max-width: 620px; margin: 0; color: #2e2925; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.25rem, 7vw, 6.5rem); font-weight: 500; letter-spacing: -.065em; line-height: .98; }
.project-lead { max-width: 500px; margin: 25px 0 28px; color: #655d56; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.75; }
.project-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 0 21px; border: 1px solid #2e2925; border-radius: 8px; background: #2e2925; color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.project-button:hover { transform: translateY(-2px); background: #51443a; }
.project-button span { font-size: 1.1rem; }
.project-note { margin: 14px 0 0; color: #8b837b; font-size: .76rem; }
.project-map-card { position: relative; display: block; overflow: hidden; min-height: 410px; aspect-ratio: .94; border: 1px solid #d9cfc7; border-radius: 6px; background: #e9e0d6; box-shadow: 18px 22px 0 #efe9e3; color: #2e2925; text-decoration: none; }
.project-map-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(38, 33, 29, .67)); content: ''; }
.project-map-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .82; mix-blend-mode: multiply; transition: transform .5s; }
.project-map-card:hover img { transform: scale(1.04); }
.project-map-caption { position: absolute; z-index: 1; right: 62px; bottom: 27px; left: 26px; color: #fff; font-size: .95rem; font-weight: 700; }
.project-map-pin { display: inline-grid; width: 29px; height: 29px; margin-right: 8px; place-items: center; border-radius: 50%; background: #f9f8f6; color: #8a745d; font-size: 1.2rem; vertical-align: middle; }
.project-map-arrow { position: absolute; z-index: 1; right: 20px; bottom: 24px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; color: #fff; }

.registration-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(40px, 8vw, 100px); padding: 72px 0 105px; border-top: 1px solid #e1d9d1; }
.registration-heading h2 { max-width: 440px; margin: 0; color: #2e2925; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 4.4vw, 3.65rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.06; }
.registration-heading > p:last-child { max-width: 330px; margin: 18px 0 0; color: #716961; font-size: .95rem; line-height: 1.65; }
.registration-card { padding: clamp(24px, 4vw, 42px); border: 1px solid #e1d9d1; border-radius: 8px; background: #fff; box-shadow: 0 18px 55px rgba(62, 51, 40, .07); }
.registration-form { display: grid; gap: 21px; }
.registration-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.registration-field { display: grid; gap: 9px; }
.registration-field label { color: #514a44; font-size: .81rem; font-weight: 700; }
.registration-field input, .registration-field select { width: 100%; min-height: 51px; padding: 0 14px; border: 1px solid #d9cfc7; border-radius: 6px; outline: 0; background: #fdfcfb; color: #2e2925; font: inherit; font-size: .92rem; transition: border-color .18s, box-shadow .18s; }
.registration-field input:focus, .registration-field select:focus { border-color: #b59166; box-shadow: 0 0 0 3px rgba(181, 145, 102, .16); }
.registration-field select:invalid { color: #8b837b; }
.registration-submit { display: inline-flex; align-items: center; justify-content: space-between; width: min(100%, 210px); min-height: 52px; margin-top: 3px; padding: 0 19px; border: 1px solid #2e2925; border-radius: 6px; background: #2e2925; color: #fff; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 700; transition: transform .2s, background .2s; }
.registration-submit:hover { transform: translateY(-2px); background: #51443a; }
.registration-submit span { font-size: 1.1rem; }
.registration-notice { margin: 0 0 23px; padding: 14px 16px; border: 1px solid; border-radius: 6px; font-size: .88rem; line-height: 1.5; }
.registration-notice.is-success { border-color: #b5cbb7; background: #f1f7f1; color: #315b36; }
.registration-notice.is-error { border-color: #dfc1b9; background: #fff5f2; color: #8b3e2d; }
.project-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 75px; padding: 16px max(6vw, 24px); border-top: 1px solid #e1d9d1; color: #8b837b; font-size: .75rem; }
.project-footer-brand { color: #514a44; font-size: .8rem; font-weight: 700; text-decoration: none; }
.project-footer-brand span { padding: 0 5px; color: #b39b80; }

@media (max-width: 760px) {
    .project-page { width: min(100% - 36px, 560px); }
    .project-site .project-topbar { min-height: 72px; padding-right: 18px; padding-left: 18px; }
    .project-brand-mark { width: 42px; height: 42px; }
    .project-brand-mark img { width: 36px; height: 36px; }
    .project-hero { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 76px; }
    .project-hero h1 { font-size: clamp(3.35rem, 15vw, 5rem); }
    .project-map-card { min-height: 0; aspect-ratio: 1.15; }
    .project-features { padding: 62px 0 75px; }
    .registration-section { grid-template-columns: 1fr; gap: 30px; padding: 56px 0 72px; }
    .project-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 17px 20px; }
}

@media (max-width: 420px) {
    .project-brand-copy strong { font-size: .83rem; }
    .project-brand-copy small { font-size: .67rem; }
    .project-nav-link { gap: 6px; padding: 10px 11px; font-size: .76rem; }
    .project-map-caption { right: 54px; bottom: 20px; left: 18px; font-size: .82rem; }
    .project-map-arrow { right: 12px; bottom: 17px; }
}
