/* =====================================================================
   Żelazowa Wola — „Nokturn"
   Koncept: romantyczny salon / dwór o zmierzchu.
   Atrament nocy + papier nut + postarzany mosiądz.
   Display: Fraunces · Body: Hanken Grotesk
   Sygnatura: pięciolinia (stave) + numeracja sekcji jak części koncertu.
   ===================================================================== */

.cs-lp-wrapper {
    /* Paleta */
    --ink:       #141922;
    --ink-soft:  #1D2430;
    --paper:     #F4EFE4;
    --paper-2:   #EBE3D2;
    --brass:     #B4894A;
    --brass-lite:#D8B074;
    --green:     #33473B;
    --text:      #262B25;
    --muted:     #7C7667;
    --line:      #DED4BF;

    /* Typografia */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;

    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--text);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.cs-lp-wrapper *,
.cs-lp-wrapper *::before,
.cs-lp-wrapper *::after { box-sizing: border-box; }

/* Ukryj domyślny header motywu na tej stronie */
#header { display: none; }

/* Ukrycie footera motywu oraz górnej linii (hr) — tylko na tej stronie,
   bo ten arkusz ładuje się wyłącznie w szablonie Żelazowej Woli */
#footer { display: none !important; }        /* tylko „powered by WordPress" */
#page hr { display: none !important; }

/* ---------- Sygnatura: pięciolinia ---------- */
.cs-stave {
    height: 21px;
    max-width: 220px;
    margin: 0 auto;
    background-image: repeating-linear-gradient(
        to bottom,
        var(--brass) 0, var(--brass) 1px,
        transparent 1px, transparent 5px
    );
    background-size: 100% 21px;
    background-repeat: no-repeat;
    opacity: 0.5;
}
.cs-stave--wide { max-width: 100%; }

/* ============================ HERO ============================ */
.cs-hero {
    position: relative;
    min-height: 78vh;
    background-color: var(--ink);
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}
.cs-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 70% 15%, rgba(20,25,34,0) 0%, rgba(20,25,34,0.35) 55%, rgba(20,25,34,0.9) 100%),
        linear-gradient(to bottom, rgba(20,25,34,0.15) 0%, rgba(20,25,34,0.55) 55%, rgba(20,25,34,0.96) 100%);
}
.cs-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 22px 46px;
    color: var(--paper);
}

/* Eyebrow (dawny .cs-badge) */
.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: none;
    padding: 0;
    margin: 0 0 20px;
    color: var(--brass-lite);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    border-radius: 0;
}
.cs-badge i { color: var(--brass-lite); font-size: 0.85rem; }

.cs-hero-content h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-optical-sizing: auto;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    color: #fff;
    text-transform: none;
    max-width: 15ch;
}
.cs-hero-content h1 em,
.cs-hero-content h1 i { font-style: italic; color: var(--brass-lite); }

.cs-hero-content > p {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    color: rgba(244,239,228,0.82);
    max-width: 46ch;
    margin: 0 0 30px;
}

/* Akcje w hero */
.cs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* ============================ BUTTONS ============================ */
.cs-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--brass);
    color: var(--ink);
    padding: 15px 26px;
    border: 1px solid var(--brass);
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.15s;
}
.cs-btn-main:hover { background: var(--brass-lite); border-color: var(--brass-lite); color: var(--ink); transform: translateY(-2px); }
.cs-btn-main:active { transform: translateY(0); }

.cs-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: none;
    color: var(--paper);
    padding: 14px 22px;
    border: 1px solid rgba(244,239,228,0.35);
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s;
}
.cs-btn-ghost:hover { border-color: var(--brass-lite); color: var(--brass-lite); }

/* ============================ INFO BAR (jak sekcja Private) ============================ */
.cs-info-bar {
    background: transparent;
    color: var(--text);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: min(1180px, 100% - 44px);
    margin: 34px auto 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.cs-info-item {
    text-align: center;
    padding: 22px 14px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--muted);
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
}
.cs-info-item:nth-child(-n+2) { border-top: none; }
.cs-info-item:nth-child(2n) { border-right: none; }
.cs-info-item i { display: block; font-size: 1.15rem; margin-bottom: 9px; color: var(--brass); }

/* ============================ CONTENT ============================ */
.cs-layout-grid { padding: 56px 22px; }

.cs-main { counter-reset: movement; }

.cs-section-title {
    counter-increment: movement;
    position: relative;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    line-height: 1.12;
    color: var(--ink);
    margin: 0 0 18px;
    padding-top: 30px;
}
.cs-section-title::before {
    content: counter(movement, upper-roman);
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: var(--brass);
}
/* pierwsza sekcja bez dużego odstępu górnego */
.cs-main > .cs-section-title:first-child { padding-top: 4px; }
.cs-main > .cs-section-title:first-child::before { position: static; display: block; margin-bottom: 12px; }

.cs-description {
    line-height: 1.75;
    color: var(--text);
    font-size: 1.02rem;
    margin: 0 0 38px;
    max-width: 62ch;
}

/* ---------- Lista „w cenie" ---------- */
.cs-included-list { list-style: none; padding: 0; margin: 0 0 42px; max-width: 62ch; }
.cs-included-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 15px;
    font-size: 1rem;
    color: var(--text);
}
.cs-included-list li:first-child { border-top: 1px solid var(--line); }
.cs-included-list i { color: var(--brass); font-size: 0.85rem; flex-shrink: 0; }

/* ============================ BOOKING CARD ============================ */
.cs-booking-card {
    background: #FBF8F1;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px 28px;
    position: sticky;
    top: 24px;
    box-shadow: 0 24px 60px -30px rgba(20,25,34,0.35);
}
/* mosiężny akcent u góry karty */
.cs-booking-card::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--brass);
    margin-bottom: 22px;
}

.cs-price-tag { margin-bottom: 22px; }
.cs-price-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.cs-price-amount {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.8rem;
    line-height: 1;
    color: var(--ink);
}
.cs-price-tag > span:last-child {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--muted);
}

.cs-booking-card .cs-btn-main { width: 100%; font-size: 1.02rem; padding: 16px; }

.cs-note {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 15px;
}
.cs-note i { color: var(--brass); margin-right: 5px; }

.cs-private-link {
    display: block;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
}
.cs-private-link:hover { color: var(--brass); text-decoration: underline; }

/* ============================ PRIVATE (drugorzędne) ============================ */
.cs-private-option { max-width: 1180px; margin: 0 auto; padding: 0 22px 64px; }
.cs-private-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px 30px;
}
.cs-private-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 8px;
}
.cs-private-badge i { margin-right: 6px; }
.cs-private-text h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--ink);
}
.cs-private-text p { margin: 0; font-size: 0.92rem; color: var(--muted); max-width: 620px; line-height: 1.6; }
.cs-private-action { display: flex; align-items: center; gap: 18px; }
.cs-private-price { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--ink); white-space: nowrap; }

.cs-btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
    transition: all 0.2s;
}
.cs-btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ============================ DESKTOP ============================ */
@media (min-width: 992px) {
    .cs-hero { min-height: 84vh; background-position: center 25%; }
    .cs-hero-content { padding: 70px 40px 64px; }

    .cs-info-bar { grid-template-columns: repeat(4, 1fr); }
    .cs-info-item { border-top: none; }
    .cs-info-item:nth-child(2n) { border-right: 1px solid var(--line); }
    .cs-info-item:last-child { border-right: none; }

    .cs-layout-grid {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 64px;
        max-width: 1180px;
        margin: 0 auto;
        padding: 72px 40px;
    }
}

/* ============================ MOBILE ============================ */
@media (max-width: 600px) {
    .cs-hero-actions { flex-direction: column; align-items: stretch; }
    .cs-hero-actions .cs-btn-main,
    .cs-hero-actions .cs-btn-ghost { justify-content: center; width: 100%; }
    .cs-private-inner { flex-direction: column; align-items: flex-start; }
    .cs-private-action { width: 100%; justify-content: space-between; }
}

/* ============================ A11Y ============================ */
.cs-lp-wrapper a:focus-visible,
.cs-lp-wrapper button:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .cs-lp-wrapper * { transition: none !important; animation: none !important; }
}
