:root {
  --accent: #C96F6B;
  --accent-dark: #A4504C;
  --accent-ink: #8E3F3B;
  --paper: #DADADA;
  --paper-2: #E4E3E1;
  --ink: #1E1A1B;
  --muted: #5B5355;
  --white: #FFFFFF;
  --radius-big: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h2 { font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 .6em; letter-spacing: .01em; }
h3 { font-weight: 300; font-size: 2rem; margin: 0 0 .3em; }
strong { font-weight: 500; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* ---------- hero ---------- */
.hero {
  background: var(--accent);
  color: var(--white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.nav {
  display: flex; gap: clamp(14px, 3vw, 36px); justify-content: flex-end; align-items: center;
  padding: 22px clamp(16px, 4vw, 48px);
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 6px 16px; opacity: 1 !important; }
.hero-photo {
  position: absolute; right: 9vw; top: 50%; margin: 0;
  width: min(34vw, 460px); aspect-ratio: 1; box-sizing: content-box;
  background: var(--white); padding: 14px 14px 30px;
  transform: translateY(-46%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-inner {
  flex: 1; position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px clamp(16px, 9vw, 140px) 80px;
}
.logo { margin: 0; width: min(620px, 92%); }
.hero-lead { font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin: 1.6em 0 1.2em; max-width: 28ch; }
.hero-note { font-size: 15px; opacity: .75; margin: 1em 0 0; max-width: 40ch; }

.btn {
  display: inline-block; align-self: flex-start;
  font: inherit; font-weight: 400; font-size: 17px; letter-spacing: .04em;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-light { background: var(--white); color: var(--accent-ink); }
.btn-light:hover { background: #FBEDEC; }
.btn-dark { background: var(--accent-dark); color: var(--white); }
.btn-dark:hover { background: var(--accent-ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- paper sections ---------- */
.paper { padding: clamp(64px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.paper + .paper { padding-top: 0; }

/* collage like offer page 2 */
.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 64px;
  gap: 16px;
  position: relative;
}
.collage figure { margin: 0; overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-title { grid-column: 1 / 6; grid-row: 1 / 4; align-self: end; }
.collage-title p { color: var(--muted); max-width: 34ch; margin: 0; }
.c-a { grid-column: 6 / 13; grid-row: 1 / 7; border-top-right-radius: var(--radius-big); }
.c-b { grid-column: 2 / 6; grid-row: 4 / 9; }
.c-c { grid-column: 1 / 6; grid-row: 9 / 15; }
.c-d { grid-column: 8 / 13; grid-row: 7 / 15; }
.c-e.circle {
  grid-column: 5 / 9; grid-row: 7 / 11;
  border-radius: 50%; border: 8px solid var(--white);
  aspect-ratio: 1; align-self: center; justify-self: center; width: 100%; max-width: 300px;
  z-index: 2;
}
.dots { position: absolute; left: -6px; top: 330px; display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.dots span { width: 64px; height: 64px; border-radius: 50%; background: var(--c); display: block; }

.grid {
  margin-top: clamp(48px, 7vw, 88px);
  columns: 3 260px; column-gap: 16px;
}
.grid figure { margin: 0 0 16px; break-inside: avoid; }
.grid img { width: 100%; height: auto; }
.more { margin-top: 24px; }
.more a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* bullets like offer page 3/4 */
.petal-bg .petal {
  position: absolute; width: clamp(240px, 30vw, 420px);
  right: -110px; top: -40px; opacity: .95; pointer-events: none;
}
.bullets { padding-left: 1.1em; margin: 0; }
.bullets li { margin-bottom: 1.1em; }
.bullets li::marker { color: var(--accent-dark); }

/* scope like kosztorys */
.scope { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; max-width: 860px; }
.vertical { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0; font-size: clamp(2.6rem, 6vw, 4rem); }
.scope-intro { margin: 0 0 1em; color: var(--muted); }
.scope-list { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.scope-list li {

  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(30,26,27,.18);
}
.scope-note { margin: 1.6em 0 0; font-size: 1.3rem; }

/* ---------- form ---------- */
.form-section { background: var(--paper-2); padding: clamp(64px, 10vw, 120px) 0; }
.form-intro { color: var(--muted); margin: 0 0 2.4em; }
fieldset { border: 0; padding: 0; margin: 0 0 2.4em; }
legend { font-size: 1.45rem; font-weight: 400; margin-bottom: .7em; padding: 0; }
legend span { color: var(--accent-dark); margin-right: .2em; }
label { display: block; margin-bottom: 1em; font-size: 16px; color: var(--muted); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 1px solid transparent; border-radius: 14px;
  padding: 13px 16px; outline: none; transition: border-color .15s ease;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent-dark); }
input[aria-invalid=true] { border-color: #C0392B; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checks, .radios { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1em; }
.check { display: inline-flex; margin: 0; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 16px;
  border: 1px solid transparent; transition: background .15s ease, color .15s ease;
}
.check input:checked + span { background: var(--accent-dark); color: var(--white); }
.check input:focus-visible + span { border-color: var(--accent-dark); }
.consent { display: flex; }
.consent span { background: none; padding: 0 0 0 34px; position: relative; color: var(--muted); border-radius: 0; }
.consent span::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 6px; background: var(--white); border: 1px solid rgba(30,26,27,.25);
}
.consent input:checked + span { background: none; color: var(--ink); }
.consent input:checked + span::before { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: inset 0 0 0 4px var(--white); }

.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-box {
  display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  border: 1.5px dashed rgba(164,80,76,.55); border-radius: 18px; padding: 26px 16px;
  color: var(--accent-dark); font-weight: 400; text-align: center; cursor: pointer; background: rgba(255,255,255,.5);
}
.upload-box small { color: var(--muted); font-weight: 300; font-size: 14px; }
.upload input:focus-visible + .upload-box { border-style: solid; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1em; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 14px; line-height: 1;
}
.hint { font-size: 15px; color: var(--accent-dark); margin: -.4em 0 0; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; margin-top: 1em; color: var(--accent-dark); }

.thanks { text-align: center; padding: 40px 0; }
.thanks img { width: 120px; margin: 0 auto 16px; }

/* ---------- footer ---------- */
.footer { background: var(--accent); color: var(--white); padding-top: clamp(64px, 9vw, 110px); overflow: hidden; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; justify-content: space-between; }
.footer-logo { width: min(460px, 80%); }
.contact-list {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; align-items: baseline; margin: 0;
  background: var(--white); color: var(--ink); border-radius: 28px; padding: 26px 32px;
}
.contact-list dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; }
.contact-list dd { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 400; line-height: 1.35; }
.contact-list a { text-decoration: none; color: var(--ink); }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.duo { width: min(760px, 100%); margin: 48px auto 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .collage > * { grid-column: auto !important; grid-row: auto !important; }
  .collage-title, .c-a, .c-c, .dots { grid-column: 1 / -1 !important; }
  .collage-title { margin-bottom: 8px; }
  .c-a, .c-c { aspect-ratio: 4 / 3; }
  .c-b, .c-d { aspect-ratio: 3 / 4; }
  .c-a { border-top-right-radius: 48px; }
  .c-c { order: 1; } .dots { order: 2; }
  .c-e.circle { display: none; }
  .dots { position: static; flex-direction: row; gap: 10px; margin-top: 6px; }
  .dots span { width: 40px; height: 40px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero-photo { position: relative; right: auto; top: auto; width: min(80vw, 360px); padding: 10px 10px 22px; margin: 8px auto 48px; transform: none; }
  .petal-bg .petal { width: 200px; right: -80px; top: -60px; opacity: .7; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .scope { grid-template-columns: 1fr; }
  .vertical { writing-mode: horizontal-tb; transform: none; }
  .btn { width: 100%; text-align: center; }
  .hero-inner { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.opt { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 300; margin-left: .3em; }

/* ---------- calendar (wzór: Weddelia onboarding) ---------- */
.field { margin-bottom: 1em; }
.field-label { display: block; font-size: 16px; color: var(--muted); margin-bottom: 6px; }
.cal {
  background: var(--white); border-radius: 22px; padding: 14px 14px 10px;
  max-width: 360px; user-select: none; border: 1px solid transparent;
}
.cal.invalid { border-color: #C0392B; }
.cal button { font: inherit; background: none; border: 0; color: var(--ink); cursor: pointer; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav { padding: 8px; border-radius: 999px; display: grid; place-items: center; }
.cal-nav:hover, .cal-title:hover { background: rgba(0,0,0,.05); }
.cal-nav[disabled] { opacity: .25; pointer-events: none; }
.cal-title { display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 16px !important; font-weight: 500 !important; }
.cal-title svg { transition: transform .2s ease; }
.cal-title[aria-expanded=true] svg { transform: rotate(180deg); }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-week span { text-align: center; font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.cal-blank { height: 40px; }
.cal-day {
  position: relative; width: 40px; height: 40px; margin: 0 auto; border-radius: 999px;
  font-size: 15px !important; display: grid; place-items: center; transition: background .15s ease;
}
.cal-day:hover:not(.sel) { background: rgba(38,34,29,.06); }
.cal-day[disabled] { color: #CDC7BC !important; pointer-events: none; }
.cal-day.today:not(.sel)::after {
  content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted); bottom: 4px; left: 50%; margin-left: -2px;
}
.cal-day.sel { font-weight: 600 !important; color: var(--accent-ink) !important; }
.cal-day svg { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); pointer-events: none; }
.cal-day path { fill: none; stroke: var(--accent); stroke-width: 2.8; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .cal-day path.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: calDraw .4s ease-out forwards; }
}
@keyframes calDraw { to { stroke-dashoffset: 0; } }
.cal-picker { min-height: 280px; }
.cal-years { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.cal-years button, .cal-months button { padding: 8px 12px; border-radius: 999px; font-size: 15px !important; }
.cal-years button:hover, .cal-months button:hover { background: rgba(0,0,0,.05); }
.cal-years .on { font-weight: 600 !important; color: var(--accent-dark) !important; }
.cal-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.cal-months .on { font-weight: 600 !important; }
.cal-months [disabled] { color: #CDC7BC; pointer-events: none; }
.cal-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 12px; max-width: 360px; justify-content: space-between; }
.cal-picked { font-size: 16px; color: var(--muted); }
.cal-picked.has { color: var(--ink); font-weight: 400; }
.cal-unknown {
  font: inherit; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--muted); text-decoration: underline; text-underline-offset: 4px;
}
.cal-unknown.on { color: var(--accent-dark); font-weight: 500; }
@media (max-width: 560px) { .cal { max-width: none; } .cal-foot { max-width: none; } }
@media (max-width: 560px) { #stoly-mieszane { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------- opinie ---------- */
.op-intro { color: var(--muted); margin: -.6em 0 2em; }
.opinions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.op { margin: 0; background: var(--white); border-radius: 28px; padding: 22px 18px 18px; }
.op blockquote { margin: 0 4px 16px; font-size: 1.2rem; line-height: 1.35; color: var(--accent-ink); font-weight: 400; }
.op-shot { border-radius: 18px; overflow: hidden; border: 1px solid rgba(30,26,27,.1); background: #fff; }
.op-shot img { width: 100%; }
.op-shot img + img { border-top: 1px dashed rgba(30,26,27,.15); }
.op figcaption { margin: 12px 4px 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .opinions {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: -16px; padding: 0 16px 12px; scrollbar-width: none;
  }
  .opinions::-webkit-scrollbar { display: none; }
  .op { flex: 0 0 84%; scroll-snap-align: center; }
}

/* ---------- realizacje: jedna realizacja = jeden blok, zdjęcia po kolei ---------- */
.reals h2 { margin-bottom: .8em; }
.real { display: grid; gap: 8px; margin: 0 0 clamp(40px, 6vw, 72px); border-radius: 28px 0 28px 0; overflow: hidden; }
.real-row { display: flex; gap: 8px; }
.real figure { margin: 0; flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r); overflow: hidden; }
.real img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .real {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0;
    margin-inline: -16px; padding-inline: 16px; scrollbar-width: none;
  }
  .real::-webkit-scrollbar { display: none; }
  .real-row { display: contents; }
  .real figure { flex: 0 0 auto; height: 340px; width: calc(340px * var(--r)); scroll-snap-align: start; border-radius: 14px; }
}

/* ---------- ankieta: różowe tło, białe karty, czerwone akcenty ---------- */
:root { --blush: var(--paper-2); --blush-2: #F8F7F6; --line: rgba(201,111,107,.28); }
.form-section { background: var(--blush); }
.form-section h2 { color: var(--accent-dark); }
.form-intro { color: var(--muted); }
.form-section fieldset {
  background: var(--white); border-radius: 26px; padding: clamp(22px, 4vw, 34px);
  border-top: 5px solid var(--accent); margin-bottom: 22px;
  box-shadow: 0 10px 30px -18px rgba(142,63,59,.35);
}
.form-section legend { float: left; width: 100%; display: block; color: var(--ink); line-height: 1.3; }
.form-section legend + * { clear: both; }
.form-section legend span {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 10px 0 0; vertical-align: middle;
  display: inline-grid; place-items: center; background: var(--accent); color: var(--white);
  font-size: 16px; font-weight: 500;
}
.form-section label, .form-section .field-label { color: var(--accent-ink); }
.form-section input:not([type=checkbox]):not([type=radio]):not([type=file]), .form-section textarea {
  background: var(--blush-2); border: 1px solid var(--line);
}
.form-section input:focus, .form-section textarea:focus {
  border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(201,111,107,.18);
}
.form-section ::placeholder { color: #B79591; }
.form-section .check span { background: var(--blush-2); border-color: var(--line); color: var(--accent-ink); }
.form-section .check span:hover { border-color: var(--accent); }
.form-section .check input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.form-section .consent span { background: none; border: 0; }
.form-section .consent span::before { border-color: var(--accent); }
.form-section .consent input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.form-section .cal { background: var(--blush-2); border-color: var(--line); }
.form-section .cal-week span { color: var(--accent-dark); }
.form-section .cal-day:hover:not(.sel) { background: rgba(201,111,107,.14); }
.form-section .upload-box { background: var(--blush-2); border-color: var(--accent); }
.form-section .opt { color: #B08580; }
#submit { background: var(--accent); font-size: 18px; padding: 18px 40px; box-shadow: 0 12px 26px -14px rgba(142,63,59,.7); }
#submit:hover { background: var(--accent-dark); }
