:root {
  --black: #070606;
  --ink: #171113;
  --muted: #6f5f63;
  --rose: #d382bf;
  --rose-soft: #f9e9f3;
  --rose-pale: #fff6fa;
  --coral: #ff575c;
  --coral-dark: #df383e;
  --cream: #fffaf7;
  --line: rgba(23, 17, 19, 0.12);
  --shadow: 0 24px 70px rgba(36, 19, 25, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 88vh;
  padding: 28px 0 72px;
  overflow: hidden;
  color: var(--black);
  background: url("assets/hero.jpg") center top / cover no-repeat;
}

.hero::after {
  display: none;
  content: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(220px, 18vw, 320px);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  background: #fff;
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--black);
  font-size: 1.01rem;
}

.section-kicker-large {
  font-size: 1.01rem;
}

.details-section .section-kicker,
.faq-section .section-kicker,
.final-cta .section-kicker,
.privacy-hero .eyebrow {
  font-size: 1.01rem;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 770px;
  font-size: clamp(2.25rem, 7vw, 5.95rem);
}

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

.lead {
  max-width: 610px;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--black);
}

.hero .lead {
  color: var(--black);
  font-weight: 700;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 18px 38px rgba(255, 87, 92, 0.35);
}

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

.event-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  color: var(--black);
  border: 1px solid rgba(7, 6, 6, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
}

section {
  padding: 84px 0;
}

.intro-section {
  padding: 34px 0;
  background: var(--rose-pale);
}

.intro-section .split {
  align-items: center;
}

.intro-section h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}

.intro-section .split p:last-child {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
}

.split p:last-child,
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  background: var(--black);
}

.photo-band img {
  width: 100%;
  height: clamp(360px, 36vw, 620px);
  object-fit: cover;
  object-position: center top;
}

.photo-band img:nth-child(2) {
  object-position: center 18%;
}

.content-section {
  background: #fff;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.panel {
  min-height: 360px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.accent-panel {
  background: var(--black);
  color: #fff;
}

.accent-panel .section-kicker {
  color: var(--rose);
}

.mentor-wrap {
  width: 100%;
  background: var(--black);
}

.mentor-panel {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: min(1320px, calc(100% - 40px));
  min-height: 0;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0;
  background: var(--black);
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mentor-panel .section-kicker {
  color: var(--rose);
}

.mentor-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.mentor-panel p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.mentor-panel p + p {
  margin-top: 14px;
}

.mentor-photo {
  overflow: hidden;
  border-radius: 8px;
  width: min(100%, 320px);
  aspect-ratio: 3 / 4;
  background: var(--rose);
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

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

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

.details-section {
  background: var(--rose-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.detail {
  padding: 24px;
  border: 1px solid rgba(211, 130, 191, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.detail span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.08;
}

.faq-section {
  background: #fff;
}

.reservation-section {
  background: linear-gradient(180deg, #fff 0%, var(--rose-pale) 100%);
}

.reservation-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.68fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.reservation-section .section-kicker {
  font-size: 1.02rem;
}

.reservation-copy h2 {
  margin-bottom: 22px;
}

.reservation-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.places-counter {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 18px;
  color: var(--black);
  border: 1px solid rgba(255, 87, 92, 0.22);
  border-radius: 999px;
  background: #fff;
}

.signup-form,
.message-panel,
.admin-login,
.submission,
.admin-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.signup-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.signup-form label,
.admin-login label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.signup-form input,
.signup-form textarea,
.admin-login input {
  width: 100%;
  border: 1px solid rgba(23, 17, 19, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
}

.signup-form input:focus,
.signup-form textarea:focus,
.admin-login input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 87, 92, 0.12);
}

.signup-form textarea {
  resize: vertical;
}

.consent-row {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.consent-row a {
  color: var(--coral-dark);
  font-weight: 800;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--coral);
}

.signup-form button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.signup-form button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.sold-out-message {
  display: none;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 87, 92, 0.26);
  border-radius: 8px;
  background: #fff;
}

.sold-out-message h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.sold-out-message p {
  margin: 0;
  color: var(--muted);
}

.reservation-layout.is-full .signup-form {
  display: none;
}

.reservation-layout.is-full .sold-out-message {
  display: block;
}

.legal-section {
  padding-top: 76px;
  background: #fff;
}

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

.legal-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.legal-block {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.legal-block h2 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
}

.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 1rem;
}

.legal-block p {
  margin: 0;
}

.legal-block p + p {
  margin-top: 14px;
}

.legal-block ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.final-cta {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 6, 6, 0.9), rgba(7, 6, 6, 0.7)),
    url("assets/warsztaty-wino.jpeg") center / cover no-repeat;
}

.final-inner {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.final-inner h2 {
  max-width: 820px;
}

.plain-page {
  min-height: 100vh;
  background: var(--rose-pale);
}

.message-screen,
.admin-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.message-panel {
  max-width: 760px;
  padding: clamp(28px, 5vw, 56px);
}

.message-panel h1,
.admin-shell h1,
.admin-login h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.message-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.admin-shell {
  display: grid;
  gap: 22px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

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

.admin-stats div {
  padding: 22px;
}

.admin-stats span,
.submission-date,
.submission-side small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.submissions-list {
  display: grid;
  gap: 14px;
}

.submission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  padding: 24px;
}

.submission h2 {
  margin: 6px 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.submission p {
  margin: 0;
}

.submission-message {
  margin-top: 14px !important;
  color: var(--muted);
}

.submission-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.status-pill {
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  color: #fff;
  border-radius: 999px;
  background: var(--coral);
  font-size: 0.84rem;
  font-weight: 800;
}

.status-paid .status-pill {
  background: #1f7a4f;
}

.status-cancelled .status-pill {
  background: #7a6f72;
}

.admin-action {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--black);
  cursor: pointer;
  font-weight: 800;
}

.admin-action.ghost {
  color: var(--black);
  border: 1px solid var(--line);
  background: #fff;
}

.admin-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.admin-notice,
.admin-empty,
.form-error {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 87, 92, 0.24);
  border-radius: 8px;
  color: var(--coral-dark);
  background: #fff;
  font-weight: 700;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-login {
  display: grid;
  gap: 16px;
  width: min(440px, 100%);
  padding: clamp(26px, 5vw, 44px);
}

.admin-login button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.privacy-page {
  background: var(--rose-pale);
}

.privacy-hero {
  position: relative;
  display: grid;
  min-height: 54vh;
  padding: 28px 0 72px;
  overflow: hidden;
  color: var(--black);
  background:
    linear-gradient(90deg, rgba(255, 250, 247, 0.92), rgba(255, 250, 247, 0.68)),
    url("assets/hero.jpg") center 28% / cover no-repeat;
}

.privacy-hero-content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 72px;
}

.privacy-hero h1 {
  max-width: 860px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

.privacy-section {
  padding: 52px 0 86px;
  background: var(--rose-pale);
}

.privacy-document {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.privacy-document h2 {
  margin: 38px 0 14px;
  color: var(--black);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.privacy-document p,
.privacy-document li {
  color: var(--muted);
  font-size: 1rem;
}

.privacy-document p {
  margin: 0;
}

.privacy-document p + p,
.privacy-document ul + p,
.privacy-document ol + p {
  margin-top: 14px;
}

.privacy-document ul,
.privacy-document ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.privacy-document blockquote {
  margin: 18px 0 0;
  padding: 18px 20px;
  color: var(--ink);
  border-left: 4px solid var(--coral);
  background: var(--rose-soft);
}

.privacy-date {
  margin-top: 34px !important;
  color: var(--ink) !important;
  font-weight: 800;
}

.privacy-back {
  margin-top: 26px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 86vh;
    background: url("assets/hero.jpg") center top / cover no-repeat;
  }

  .split,
  .mentor-panel,
  .two-columns,
  .details-grid,
  .reservation-layout,
  .legal-grid,
  .admin-stats,
  .submission {
    grid-template-columns: 1fr;
  }

  .admin-header {
    display: grid;
  }

  .photo-band img {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow,
  .topbar,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 82vh;
    padding: 18px 0 54px;
    background-position: center top;
  }

  .topbar {
    justify-content: flex-end;
  }

  .brand {
    width: min(42vw, 190px);
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: clamp(2.1rem, 10.5vw, 3.36rem);
  }

  .button {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    text-align: center;
  }

  .event-pill {
    width: 100%;
    justify-content: center;
  }

  .consent-row {
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 18px;
  }

  .consent-row input {
    width: 22px;
    height: 22px;
  }

  section {
    padding: 64px 0;
  }

  .content-section {
    padding: 12px 0;
  }

  .details-section {
    padding-top: 34px;
  }

  .panel {
    min-height: auto;
  }

  .mentor-panel {
    width: 100%;
    gap: 24px;
    padding: 0 0 28px;
  }

  .mentor-panel > div:not(.mentor-photo) {
    width: min(100% - 28px, 1120px);
    margin: 0 auto;
  }

  .mentor-photo {
    width: 100%;
    border-radius: 0;
  }

  .photo-band {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
    background: var(--cream);
  }

  .photo-band img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .detail {
    padding: 22px;
  }

  .privacy-hero {
    min-height: 48vh;
    padding: 18px 0 54px;
  }

  .privacy-document {
    width: min(100% - 28px, 960px);
  }
}
