:root {
  --cream: #f6efe6;
  --cream-2: #efe4d6;
  --paper: #fbf8f3;
  --caramel: #a7744a;
  --caramel-dark: #7e5434;
  --ink: #3b2a20;
  --muted: #7a6a5e;
  --blush: #f3d3d6;
  --blush-deep: #e5a9b0;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --script: "Pinyon Script", cursive;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--caramel); }

.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--caramel); margin-bottom: 1rem; font-weight: 400;
}
.script { font-family: var(--script); font-size: 1.7rem; color: var(--caramel); line-height: 1.2; }
.center { text-align: center; margin-top: 2.5rem; }

section { padding: clamp(4.5rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem); max-width: 1240px; margin: 0 auto; }
.section-head { max-width: 720px; margin-bottom: 3.5rem; }

/* przyciski */
.btn {
  display: inline-block; background: var(--caramel); color: #fff; text-decoration: none;
  padding: .95rem 2rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 400 .9rem var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.btn:hover { background: var(--caramel-dark); transform: translateY(-2px); }
.btn-small { padding: .6rem 1.3rem; font-size: .75rem; }
.link-arrow { text-decoration: none; border-bottom: 1px solid var(--caramel); color: var(--caramel-dark); padding-bottom: 2px; }

/* nawigacja */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(167,116,74,.12);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--caramel); }
.brand span { font-family: "Lora", Georgia, serif; font-size: 1.55rem; font-weight: 600; margin-top: .9rem; }
.brand-eye { width: 46px; height: 47px; --sw: 20px; }
.badge svg { --sw: 16px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .92rem; letter-spacing: .04em; }
.nav-links a:not(.btn):hover { color: var(--caramel); }
.nav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 7px 4px; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center;
  padding-top: clamp(3rem, 7vw, 6rem);
}
.lead { font-family: var(--serif); font-size: 1.7rem; font-style: italic; margin: 1.2rem 0 2.4rem; color: var(--muted); }
.hero-cta { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero-visual { position: relative; height: 560px; }

/* placeholdery zdjęć */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(150deg, var(--blush) 0%, var(--cream-2) 60%, #e3cdb5 100%);
}
.photo > span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--script); font-size: 1.6rem; color: rgba(126,84,52,.45);
}
.photo.has-img { background: var(--img) var(--pos, center)/cover no-repeat; }
.contact-photo { aspect-ratio: 3/2; margin-top: 2rem; }
.photo.has-img > span { display: none; }

.photo-a { position: absolute; left: 0; top: 0; width: 62%; height: 78%; border-radius: 200px 200px var(--radius) var(--radius); }
.photo-b { position: absolute; right: 0; bottom: 0; width: 48%; height: 58%; border: 8px solid var(--paper); }
.badge {
  position: absolute; right: 6%; top: 6%;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--cream); color: var(--caramel);
  display: grid; place-items: center; align-content: center; gap: .2rem;
  box-shadow: 0 10px 30px rgba(126,84,52,.15);
  animation: float 6s ease-in-out infinite;
}
.badge svg { width: 56px; height: 57px; }
.badge .script { font-size: 1.15rem; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* o nas */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.about-copy p + p { margin-top: 1.2rem; }
.about-copy p:first-child { font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.person { text-align: center; }
.person .photo { aspect-ratio: 3/4; border-radius: 200px 200px var(--radius) var(--radius); margin-bottom: 1rem; }
.person a { display: block; font-size: .88rem; color: var(--caramel); text-decoration: none; }
.person a.tel { color: var(--muted); margin-top: .15rem; }

/* oferta */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card.card-feature {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
  color: var(--paper);
  background:
    linear-gradient(to top, rgba(59,42,32,.92) 0%, rgba(59,42,32,.6) 45%, rgba(59,42,32,.05) 100%),
    url('img/realizacja-4.jpg') center/cover no-repeat, var(--caramel);
}
.card-feature h3 { font-size: 2.2rem; }
.card.card-feature p { font-size: 1.02rem; color: rgba(251,248,243,.92); }
.card.card-feature .num { color: var(--blush); }
.card {
  background: var(--cream); border-radius: var(--radius); padding: 2.2rem 1.8rem;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(126,84,52,.12); }
.num { font-family: var(--serif); font-style: italic; color: var(--blush-deep); font-size: 1.4rem; }
.card h3 { margin: .8rem 0 .8rem; }
.card p { font-size: .95rem; color: var(--muted); }

/* współpraca */
.process { max-width: none; background: var(--caramel); color: var(--cream); }
.process-inner { max-width: 1240px; margin: 0 auto; }
.section-head.light .eyebrow { color: var(--blush); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { counter-increment: s; border-top: 1px solid rgba(246,239,230,.35); padding-top: 1.4rem; }
.steps li::before {
  content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--blush); display: block; line-height: 1;
  margin-bottom: .8rem;
}
.steps h3 { margin-bottom: .5rem; }
.steps p { font-size: .95rem; opacity: .88; }

/* realizacje */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1.2rem; }
.g { margin: 0; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(251,248,243,.92); padding: .35rem .9rem; border-radius: 999px;
  font-size: .82rem; letter-spacing: .03em;
}

/* kontakt */
.contact-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem;
  background: var(--cream); border-radius: calc(var(--radius) * 1.6); padding: clamp(2rem, 5vw, 4rem);
}
.contact-text p:not(.eyebrow) { margin: 1.2rem 0 2rem; color: var(--muted); }
.contact-list { list-style: none; display: grid; gap: .9rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-list span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel); }
.contact-list a { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; }
.contact-form { display: grid; gap: 1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 300 1rem var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid rgba(167,116,74,.25); border-radius: 12px;
  padding: .8rem 1rem; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--blush-deep); border-color: transparent; }
.contact-form .btn { justify-self: start; margin-top: .4rem; }

/* stopka */
.footer { text-align: center; padding: 4rem 1rem 3rem; color: var(--caramel); }
.logo-full { display: inline-flex; align-items: flex-end; gap: .2rem; text-align: left; }
.footer-eye { width: 120px; height: 122px; flex: none; margin-right: -38px; }
.footer-name { font-family: "Lora", Georgia, serif; font-size: 3rem; font-weight: 600; line-height: 1; padding-left: 30px; }
.tagline { font-family: "Open Sans", sans-serif; font-style: italic; font-size: 1.15rem; color: #9a7448; margin-top: .4rem; }
.footer .small { font-size: .8rem; color: var(--muted); margin-top: 1.5rem; }

/* animacja wejścia */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge { animation: none; }
}

/* responsywność */
@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .card-feature { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 1.2rem; padding: 1.5rem;
    background: var(--paper); border-bottom: 1px solid rgba(167,116,74,.15);
    display: none;
  }
  .nav-links.open { display: flex; }
  .hero, .about-grid, .contact-card { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { height: 420px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .g:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .steps, .contact-form .row { grid-template-columns: 1fr; }
  .card-feature { grid-column: auto; }
  .card-feature h3 { font-size: 1.8rem; }
  .hero-visual { height: 360px; }
  .badge { width: 110px; height: 110px; }
  .badge svg { width: 40px; height: 41px; }
  .footer-eye { width: 84px; height: 86px; margin-right: -28px; }
  .footer-name { font-size: 2.1rem; padding-left: 22px; }
  .tagline { font-size: .85rem; }
  .badge .script { font-size: .9rem; }
  .gallery { grid-template-columns: 1fr; }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
}
