@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,600;1,700&display=swap');

:root {
  --ink: #171a15;
  --green: #344426;
  --green-2: #435632;
  --cream: #f5f0e5;
  --paper: #fffdf7;
  --gold: #c39c38;
  --gold-soft: #e2cf98;
  --muted: #6d7168;
  --line: rgba(52, 68, 38, .18);
  --shadow: 0 24px 70px rgba(31, 40, 24, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
}
.skip-link:focus { transform: none; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  min-height: 76px;
  padding: 10px 14px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 253, 247, .9);
  border: 1px solid rgba(52, 68, 38, .12);
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(42, 53, 32, .07);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 12px;
  z-index: 20;
}
.brand { min-width: 178px; height: 56px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 54px; height: 54px; flex: 0 0 auto; object-fit: contain; border-radius: 50%; }
.brand-wordmark { display: grid; line-height: 1; text-transform: uppercase; }
.brand-wordmark strong { font-size: .9rem; letter-spacing: .18em; }
.brand-wordmark small { margin-top: 5px; color: var(--green); font-size: .61rem; font-weight: 700; letter-spacing: .28em; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-header nav a:hover { color: var(--green-2); }
.header-cta {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  padding: 92px 24px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(52, 68, 38, .12);
  border-radius: 50%;
  right: -230px;
  top: 50px;
  box-shadow: 0 0 0 70px rgba(52, 68, 38, .025), 0 0 0 140px rgba(52, 68, 38, .025);
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold-soft); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.1rem, 6.1vw, 5.9rem);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 em {
  color: var(--green-2);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
}
.hero-lead { max-width: 680px; color: #4e534b; font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 34px 0 30px; }
.button {
  border: 0;
  border-radius: 12px;
  padding: 15px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 12px 24px rgba(52, 68, 38, .18); }
.button-gold { background: var(--gold); color: #16140e; }
.button-ghost { background: transparent; color: var(--green); border: 1px solid var(--line); }
.text-link { color: var(--green); font-weight: 700; text-underline-offset: 5px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: .83rem; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }

.hero-board {
  min-height: 500px;
  padding: 52px 46px;
  color: var(--cream);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--green);
  background-size: 22px 22px;
  border-radius: 8px 8px 80px 8px;
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(1.4deg);
}
.hero-board::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 2px 2px 67px 2px;
  pointer-events: none;
}
.board-pin { width: 13px; height: 13px; border-radius: 50%; background: var(--gold); position: absolute; top: 30px; right: 34px; box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.board-kicker { margin-bottom: 5px; color: var(--gold-soft); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.board-year { margin: 0; color: var(--gold); font-size: 1.15rem; font-weight: 800; }
.board-title { margin: 26px 0 24px; font-size: clamp(3.3rem, 5vw, 5.1rem); font-weight: 700; letter-spacing: -.05em; line-height: .92; text-transform: uppercase; }
.board-note { font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; font-style: italic; }
.board-sprig { position: absolute; right: 35px; bottom: 35px; width: 180px; fill: none; stroke: var(--gold-soft); stroke-width: 2; opacity: .85; }
.board-sprig path:nth-child(2) { fill: var(--gold-soft); stroke: none; }

.brand-ribbon {
  width: min(1120px, calc(100% - 40px));
  margin: -48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--cream);
  background: var(--green);
  border: 1px solid rgba(226, 207, 152, .45);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(31, 40, 24, .16);
  position: relative;
  z-index: 5;
  overflow: hidden;
}
.brand-ribbon::before {
  content: "TALERZ PROSZĘ";
  position: absolute;
  right: 20px;
  bottom: -18px;
  color: rgba(255,255,255,.035);
  font-size: 3.7rem;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}
.ribbon-item { min-height: 100px; padding: 20px 28px; display: flex; align-items: center; gap: 16px; position: relative; }
.ribbon-item + .ribbon-item { border-left: 1px solid rgba(255,255,255,.14); }
.ribbon-item svg { width: 42px; height: 42px; flex: 0 0 auto; fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ribbon-item span { display: grid; line-height: 1.1; }
.ribbon-item strong { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.ribbon-item small { margin-top: 7px; color: rgba(255,255,255,.65); font-size: .72rem; }

.offer { background: var(--paper); border-radius: 42px 42px 0 0; padding: 100px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { display: grid; grid-template-columns: .75fr 1.1fr 1fr; align-items: start; gap: 40px; margin-bottom: 54px; }
.section-heading .eyebrow { padding-top: 10px; }
.section-heading h2, .gallery-intro h2, .inquiry h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading p:last-child, .gallery-intro > p:last-child { color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: 1.15fr .925fr .925fr; gap: 18px; }
.offer-card {
  min-height: 380px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  background: #fffdf8;
}
.offer-card.featured { background: #efe8d8; border-color: transparent; }
.card-number { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.card-tag { width: fit-content; margin: 34px 0 12px; padding: 6px 9px; color: var(--green); background: rgba(52, 68, 38, .08); border-radius: 6px; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.offer-card:not(.featured) h3 { margin-top: 70px; }
.offer-card h3 { margin-bottom: 15px; font-size: 1.65rem; line-height: 1.1; }
.offer-card p { color: var(--muted); }
.offer-card ul { margin: 0 0 22px; padding-left: 20px; font-size: .88rem; }
.offer-card > a { margin-top: auto; color: var(--green); font-weight: 800; text-underline-offset: 5px; }

.gallery-wrap { margin-top: 112px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 220px 220px; gap: 14px; }
.gallery-photo {
  margin: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.gallery-photo::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(16,22,13,.03) 30%, rgba(16,22,13,.82) 100%); }
.gallery-photo img { width: 100%; height: 100%; position: absolute; z-index: 0; inset: 0; object-fit: cover; transition: transform .6s ease; }
.gallery-photo:hover img { transform: scale(1.035); }
.gallery-photo figcaption { position: relative; z-index: 2; display: grid; }
.photo-main { grid-row: 1 / 3; background: var(--green); }
.photo-warm { background: #af8137; }
.photo-dark { background: #20261d; }
.photo-main img { object-position: 50% 54%; }
.photo-warm img { object-position: 50% 38%; }
.photo-dark img { object-position: 72% 42%; }
.gallery-photo figcaption span { position: absolute; bottom: calc(100% + 12px); left: 0; font-size: .72rem; font-weight: 800; opacity: .75; }
.gallery-photo strong { font-size: 1.3rem; }
.gallery-photo small { opacity: .78; }

.inquiry {
  padding: 105px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 80px;
  color: var(--cream);
  background: var(--green);
}
.inquiry-copy > p:not(.eyebrow) { max-width: 640px; color: rgba(255,255,255,.7); }
.contact-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 34px 0 54px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.17); }
.contact-strip span { color: rgba(255,255,255,.65); }
.contact-strip a { color: var(--gold-soft); font-weight: 800; }
.faq h3 { margin-bottom: 15px; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.faq details { border-top: 1px solid rgba(255,255,255,.15); }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.faq summary { padding: 18px 34px 18px 0; cursor: pointer; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; color: var(--gold-soft); font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-right: 24px; color: rgba(255,255,255,.67); font-size: .9rem; }

.form-card { align-self: start; min-height: 600px; padding: clamp(28px, 4vw, 48px); color: var(--ink); background: var(--paper); border-radius: 28px; box-shadow: 0 25px 70px rgba(0,0,0,.2); }
.form-progress { height: 4px; margin-bottom: 18px; background: #e4e1d8; border-radius: 99px; overflow: hidden; }
.form-progress span { display: block; width: 33.33%; height: 100%; background: var(--gold); transition: width .3s ease; }
.step-label { margin-bottom: 12px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-step { display: none; }
.form-step.active { display: block; animation: appear .25s ease; }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 28px; font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; line-height: 1.13; letter-spacing: -.03em; }
.choice { display: block; margin-bottom: 10px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: 16px 45px 16px 17px; border: 1px solid var(--line); border-radius: 12px; position: relative; transition: all .2s ease; }
.choice span::after { content: ""; width: 17px; height: 17px; border: 1px solid #b9bbae; border-radius: 50%; position: absolute; right: 16px; top: 20px; }
.choice strong, .choice small { display: block; }
.choice small { color: var(--muted); }
.choice input:checked + span { border-color: var(--green); background: rgba(52,68,38,.06); }
.choice input:checked + span::after { border: 5px solid var(--green); }
.choice input:focus-visible + span { outline: 3px solid rgba(195,156,56,.35); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-step label:not(.choice):not(.consent) { display: block; margin-bottom: 15px; }
.form-step label > span { display: block; margin-bottom: 6px; font-size: .83rem; font-weight: 700; }
.form-step label em { color: var(--muted); font-weight: 400; font-style: normal; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195,156,56,.15); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: .8rem; }
.consent input { margin-top: 3px; accent-color: var(--green); }
.form-error { min-height: 23px; margin: 12px 0 0; color: #a73f2b; font-size: .82rem; }
.form-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.form-actions .button:last-child { margin-left: auto; }

.form-success { text-align: center; padding-top: 18px; animation: appear .3s ease; }
.success-mark { width: 58px; height: 58px; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 1.5rem; font-weight: 900; }
.form-success h3 { margin-bottom: 8px; font-size: 2rem; }
.form-success > p:not(.success-mark):not(.copy-status) { color: var(--muted); }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 16px; }
.contact-option { padding: 13px; color: var(--green); background: rgba(52,68,38,.07); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 800; }
.contact-option.whatsapp { color: white; background: #226f3a; border-color: #226f3a; }
.copy-button, .restart-button { border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-weight: 700; }
.restart-button { margin-top: 18px; color: var(--muted); font-size: .8rem; }
.copy-status { min-height: 20px; margin: 8px 0 0; color: #226f3a; font-size: .8rem; }

footer {
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  background: #202a19;
  color: rgba(255,255,255,.72);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: #fff; }
.footer-brand span { font-size: .78rem; }
.footer-links { display: flex; gap: 22px; }
.footer-note { margin: 0; font-size: .75rem; }
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; gap: 40px; }
  .hero-board { width: min(520px, 100%); min-height: 420px; }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .section-heading .eyebrow { padding-top: 0; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-card.featured { grid-column: 1 / 3; }
  .gallery-wrap { grid-template-columns: 1fr; gap: 34px; }
  .inquiry { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr auto; }
  .footer-note { grid-column: 1 / 3; }
}

@media (max-width: 600px) {
  body { padding-bottom: 66px; }
  .site-header { width: calc(100% - 24px); top: 8px; min-height: 66px; margin-top: 10px; padding: 7px 8px; }
  .brand { min-width: 154px; height: 48px; gap: 8px; }
  .brand img { width: 46px; height: 46px; }
  .brand-wordmark strong { font-size: .76rem; }
  .brand-wordmark small { font-size: .53rem; }
  .header-cta { display: none; }
  .hero { width: calc(100% - 24px); padding: 60px 4px 66px; }
  h1 { font-size: clamp(3rem, 14.8vw, 4.25rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button-primary { width: 100%; }
  .text-link { text-align: center; }
  .trust-list { display: grid; }
  .hero-board { min-height: 410px; padding: 48px 30px; border-radius: 7px 7px 55px 7px; }
  .board-title { font-size: 3.3rem; }
  .board-sprig { width: 135px; }
  .brand-ribbon { width: calc(100% - 24px); margin: -30px auto 22px; grid-template-columns: 1fr; }
  .brand-ribbon::before { font-size: 2.6rem; bottom: -8px; }
  .ribbon-item { min-height: 78px; padding: 14px 20px; }
  .ribbon-item + .ribbon-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .ribbon-item svg { width: 36px; height: 36px; }
  .offer { padding-top: 76px; border-radius: 28px 28px 0 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card.featured { grid-column: auto; }
  .offer-card { min-height: 340px; }
  .gallery-wrap { margin-top: 86px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 310px 180px; }
  .photo-main { grid-column: 1 / 3; grid-row: auto; }
  .inquiry { padding-top: 78px; gap: 50px; }
  .form-card { min-height: 560px; margin-inline: -10px; padding: 28px 20px; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-options { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding-bottom: 40px; }
  .footer-links { flex-wrap: wrap; }
  .footer-note { grid-column: auto; }
  .mobile-cta {
    display: block;
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 10px;
    padding: 14px;
    color: #17160f;
    background: var(--gold);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    text-align: center;
    text-decoration: none;
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
