/* 27th Floor – Bal Sylwestrowy 2026/2027 */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #101010;
  --bg2: #1B1A19;
  --ink: #F5F0E8;
  --muted: #C5C0B8;
  --gold: #C5A477;
  --gold-l: #DAC49E;
  --line: rgba(197,164,119,.25);
  --field: #4A4640;
  --err: #F08A7A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --pad: clamp(16px, 5vw, 56px);
  --sec: clamp(88px, 10vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, p, figure, ul { margin: 0; }
a { color: var(--gold-l); }
a:hover { color: var(--ink); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 500; }
.it { font-style: italic; color: var(--gold-l); }
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.eyebrow--sm { font-size: 11px; }
.act { display: flex; align-items: center; gap: 16px; }
.act::before { content: ""; width: 48px; height: 1px; background: var(--gold); flex-shrink: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 8px; }

.btn { min-height: 58px; padding: 0 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 2px; background: var(--gold); color: var(--bg); text-decoration: none; font-size: 16px; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--gold-l); color: var(--bg); }
.btn--line { background: transparent; border: 1px solid var(--gold); color: var(--gold-l); }
.btn--line:hover { background: rgba(197,164,119,.12); color: var(--ink); }

/* Nagłówek */
.header { position: sticky; top: 0; z-index: 20; background: rgba(16,16,16,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(197,164,119,.22); }
.header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 58px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--gold-l); }
.header .btn { min-height: 44px; padding: 0 20px; font-size: 14px; letter-spacing: 0; }

/* Hero */
.hero { position: relative; min-height: 800px; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,16,.35) 0%, rgba(16,16,16,.55) 40%, rgba(16,16,16,.92) 75%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 8vw, 116px); line-height: .96; letter-spacing: -.01em; max-width: 1000px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; max-width: 660px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-top: 8px; }
.price { font-size: 28px; font-weight: 600; color: var(--gold-l); }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-note { font-size: 13px; margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; border-top: 1px solid rgba(197,164,119,.28); padding-top: 28px; margin-top: 24px; }
.facts div { display: flex; flex-direction: column; gap: 4px; }

/* Sekcje */
.sec { padding-top: var(--sec); padding-bottom: var(--sec); }
.sec--dark { background: var(--bg2); }
.stack { display: flex; flex-direction: column; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; }
.h2--md { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.05; }

.invite { gap: 64px; }
.invite__quote { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.1; max-width: 1040px; }
.invite__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: start; }
.letter { display: flex; flex-direction: column; gap: 22px; }
.letter p { font-size: 18px; line-height: 1.75; }
.letter .hello { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-l); }
.letter .sign { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.photo { display: flex; flex-direction: column; gap: 10px; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pillar { border-top: 1px solid var(--gold); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pillar__n { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.pillar__t { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.pillar__d { font-size: 15px; line-height: 1.6; }

/* Kolacja */
.dinner { gap: 56px; }
.dinner__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: center; }
.dinner__grid > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dinner__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.dinner__text p { font-size: 17px; line-height: 1.7; }
.toggle { min-height: 52px; padding: 0 28px; gap: 12px; font-size: 15px; }
.toggle span { font-size: 20px; font-weight: 400; }
.menu { background: var(--bg); border-top: 1px solid var(--gold); padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 48px; }
.menu__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.tabs { display: flex; border: 1px solid rgba(197,164,119,.45); border-radius: 2px; padding: 4px; gap: 4px; }
.tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--gold); color: var(--bg); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.course { display: flex; flex-direction: column; gap: 10px; }
.course__name { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.course__desc { font-size: 14px; line-height: 1.65; }
.rule { height: 1px; background: var(--line); }
.buffet { display: flex; flex-direction: column; gap: 12px; }
.buffet ul { list-style: none; padding: 0; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* Bal */
.ball { position: relative; overflow: hidden; border-bottom: 1px solid rgba(197,164,119,.22); }
.ball__orn { position: absolute; top: 50%; transform: translateY(-50%); height: 88%; width: auto; opacity: .55; pointer-events: none; }
.ball__orn--l { left: clamp(16px, 4vw, 64px); }
.ball__orn--r { right: clamp(16px, 4vw, 64px); }
.ball .wrap { position: relative; max-width: 900px; padding-top: clamp(88px, 10vw, 140px); padding-bottom: clamp(88px, 10vw, 140px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.ball__items { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid rgba(197,164,119,.3); border-bottom: 1px solid rgba(197,164,119,.3); margin-top: 12px; }
.ball__items div { padding: 24px 12px; display: flex; flex-direction: column; gap: 6px; }
.ball__items strong { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.ball__items span { font-size: 13px; }

/* Widok */
.view { position: relative; overflow: hidden; }
.view > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,16,.15) 0%, rgba(16,16,16,.3) 45%, rgba(16,16,16,.94) 100%); }
.view .wrap { position: relative; z-index: 1; min-height: clamp(560px, 62vw, 860px); padding-top: clamp(88px, 10vw, 140px); padding-bottom: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: end; align-content: end; }
.view__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(197,164,119,.3); padding-top: 24px; }
.view__stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--gold-l); margin-bottom: 6px; }
.view__stats span { font-size: 13px; }

/* Rezerwacja */
.book { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 64px; align-items: start; }
.book__info { display: flex; flex-direction: column; gap: 28px; }
.book__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; border-bottom: 1px solid rgba(197,164,119,.35); padding-bottom: 24px; }
.book__price strong { font-size: 48px; font-weight: 600; color: var(--gold-l); }
.incl { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; font-size: 15px; line-height: 1.45; }
.incl li { display: flex; gap: 10px; align-items: flex-start; }
.incl svg { flex-shrink: 0; margin-top: 2px; }

.form { background: var(--bg2); border: 1px solid rgba(197,164,119,.35); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 96px; }
.form__title { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; }
.form__note { font-size: 14px; line-height: 1.6; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--field); border-radius: 2px; color: var(--ink); font-size: 16px; }
.field input { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #7D776F; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.is-invalid input, .is-invalid textarea { border-color: var(--err); }
.err { font-size: 13px; color: var(--err); }
.seats { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid #2E2C29; border-bottom: 1px solid #2E2C29; }
.seats__total { font-size: 14px; margin-top: 4px; }
.seats__total b { color: var(--gold-l); font-weight: 600; font-size: 18px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 48px; height: 48px; border: 1px solid var(--field); background: transparent; color: var(--ink); font-size: 20px; border-radius: 2px; cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { width: 44px; text-align: center; font-size: 20px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { border: 1px solid var(--err); color: var(--err); padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.form .btn { width: 100%; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form__contact { font-size: 13px; text-align: center; }
.thanks { gap: 16px; }
.thanks .form__title:focus { outline: none; }
.thanks p { font-size: 16px; line-height: 1.65; }

/* FAQ */
.faq .wrap { max-width: 920px; display: flex; flex-direction: column; gap: 40px; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__q { width: 100%; min-height: 64px; padding: 18px 0; background: transparent; border: 0; color: var(--ink); font-size: 17px; font-weight: 600; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.faq__q span:last-child { color: var(--gold); font-size: 22px; font-weight: 400; }
.faq__a { padding: 0 0 22px; font-size: 15px; line-height: 1.65; max-width: 720px; color: var(--muted); }

/* Finał */
.final { position: relative; overflow: hidden; border-top: 1px solid rgba(197,164,119,.3); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.final::after { content: ""; position: absolute; inset: 0; background: rgba(16,16,16,.78); }
.final .wrap { position: relative; z-index: 1; max-width: 1040px; padding-top: clamp(112px, 14vw, 200px); padding-bottom: clamp(112px, 14vw, 200px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.final__logo { height: clamp(96px, 12vw, 140px); width: auto; }
.final h2 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; }
.final p { font-size: 18px; line-height: 1.6; max-width: 640px; }

.footer { padding-top: 32px; padding-bottom: 120px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* Pasek rezerwacji */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(27,26,25,.96); border-top: 1px solid rgba(197,164,119,.35); transform: translateY(100%); transition: transform .3s; }
.bar.is-on { transform: none; }
.bar .wrap { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bar .price { font-size: 19px; }
.bar .price small { font-size: 13px; }
.bar__sub { font-size: 12px; }
.bar .btn { min-height: 50px; padding: 0 24px; font-size: 15px; letter-spacing: 0; }

/* Baner cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; pointer-events: none; }
.cookies__box { pointer-events: auto; max-width: 720px; width: 100%; background: var(--bg2); color: var(--ink); border: 1px solid rgba(197,164,119,.45); border-radius: 2px; box-shadow: 0 16px 40px rgba(0,0,0,.5); padding: 20px 24px; font-size: 14px; line-height: 21px; }
.cookies__title { font: 500 24px/28px var(--serif); margin-bottom: 6px; }
.cookies__text { color: var(--muted); }
.cookies__settings { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.cookies__option { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cookies__option strong { color: var(--ink); }
.cookies__option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.cookies__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookies .btn { min-height: 44px; padding: 0 16px; font-size: 14px; letter-spacing: 0; }
.has-cookies .bar { transform: translateY(100%); }

@media (max-width: 1000px) {
  .nav { display: none; }
}
@media (max-width: 820px) {
  .hide-sm { display: none !important; }
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 200px; padding-bottom: 48px; }
}
@media (max-width: 480px) {
  .header .wrap { height: 64px; }
  .header__logo img { height: 46px; }
  html { scroll-padding-top: 72px; }
  .hero .btn { width: 100%; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 0 10px; }
  .book__price strong { font-size: 40px; }
  .cookies { left: 8px; right: 8px; bottom: 8px; }
  .cookies__box { padding: 16px; max-height: calc(100dvh - 16px); overflow: auto; }
  .cookies__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar { transition: none; }
}
