/* ===== Paleta: podmień wartości na kolory z wizytówki ===== */
:root {
  --green-900: #2f4a3a;
  --green-700: #45664f;
  --green-500: #6f8f74;
  --green-300: #a9bfa6;
  --green-100: #e3ebdf;
  --beige-50:  #fbf8f2;
  --beige-100: #f4ede1;
  --beige-300: #e2d4bd;
  --sand:      #c8b08c;
  --ink:       #2d3a31;
  --muted:     #5f6b62;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(47, 74, 58, .10);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--beige-50);
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.55rem; }
h1 em, h2 em { color: var(--green-500); }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700;
  color: var(--green-500); margin-bottom: .8em;
}
.eyebrow--light { color: var(--green-300); }

/* ===== Przyciski ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.7em; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(69,102,79,.3); }
.btn--primary:hover { background: var(--green-900); }
.btn--ghost { border-color: var(--green-500); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--green-100); }
.btn--sm { padding: .5em 1.2em; font-size: .92rem; }
.btn--block { width: 100%; }

/* ===== Nagłówek ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-300);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand__logo { width: 52px; height: 52px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--green-900); line-height: 1.05; }
.brand__sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--green-500); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 10%, var(--green-100) 0, transparent 55%),
    radial-gradient(ellipse at 0% 100%, var(--beige-100) 0, transparent 60%);
  padding: clamp(56px, 9vw, 110px) 0;
}
.hero__inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__card {
  background: #fff; border-radius: 28px; padding: 36px 32px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--beige-300);
}
.hero__logo { width: 100%; max-width: 280px; height: auto; margin: 0 auto 18px; }
.hero__name { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--green-900); margin: 0; }
.hero__role { color: var(--muted); margin-bottom: 20px; }
.hero__facts { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--beige-300); text-align: left; }
.hero__facts li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .95rem; }
.hero__facts svg { width: 18px; height: 18px; fill: var(--green-500); flex: none; }
.hero__facts a { text-decoration: none; }

/* ===== Sekcje ===== */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--beige-100); }
.section--deep { background: var(--green-900); color: #e9efe6; }
.section--deep h2 { color: #fff; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head p:last-child { color: var(--muted); }

/* O mnie */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.about__photo { display: flex; justify-content: center; }
.photo {
  margin: 0; position: sticky; top: 110px; width: 100%; max-width: 340px;
  aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow); outline: 1px solid var(--beige-300); outline-offset: 10px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__text strong { color: var(--green-700); }
.badges { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  background: var(--green-100); color: var(--green-900); font-size: .9rem; font-weight: 600;
  padding: .45em 1em; border-radius: 999px;
}
.about__invite {
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; color: var(--green-900);
  border-left: 3px solid var(--sand); padding-left: 20px; margin-top: 28px;
}
.about__invite em { color: var(--green-500); }

/* Oferta */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
  transition: transform .25s;
}
.service:hover { transform: translateY(-4px); }
.service__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green-100);
  display: grid; place-items: center; margin-bottom: 18px;
}
.service__icon svg { width: 26px; height: 26px; fill: var(--green-700); }
.service p { color: var(--muted); margin: 0; }
.areas__title { text-align: center; margin: 64px 0 24px; }
.areas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.areas li {
  background: var(--beige-50); border: 1px solid var(--beige-300); border-radius: 14px;
  padding: 16px 18px 16px 42px; position: relative; font-weight: 600; font-size: .95rem;
}
.areas li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50% 0; background: var(--green-500); transform: rotate(45deg);
}

/* Cennik */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 28px; }
.price {
  background: #fff; border: 1px solid var(--beige-300); border-radius: 24px;
  padding: 40px 32px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.price--featured { background: var(--green-100); border-color: var(--green-300); }
.price__value { font-family: var(--serif); font-size: 3.8rem; font-weight: 600; color: var(--green-900); line-height: 1; margin: 10px 0 6px; }
.price__value span { font-size: 1.6rem; }
.price__note { color: var(--muted); margin-bottom: 26px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green-300); font-weight: 700; }
.contact__list a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--green-500); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--green-700); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.7); }

.form {
  background: var(--beige-50); color: var(--ink); border-radius: 26px; padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25); scroll-margin-top: 100px;
}
.form__title { font-size: 2.1rem; margin-bottom: .2em; }
.form__intro { color: var(--muted); margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  border: 1.5px solid var(--beige-300); background: #fff; border-radius: 12px; padding: .75em .9em;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px var(--green-100);
}
.field .invalid, .field input.invalid { border-color: #b5654a; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.consent input { margin-top: 5px; accent-color: var(--green-700); width: 17px; height: 17px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 14px 0 0; font-weight: 600; text-align: center; min-height: 1.5em; }
.form__status.ok { color: var(--green-700); }
.form__status.err { color: #a0513a; }

/* Stopka */
.footer { background: #26392d; color: #b9c7b9; padding: 40px 0 90px; font-size: .9rem; }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; text-align: left; color: #e9efe6; }
.footer__logo { width: 52px; height: 52px; background: var(--beige-50); border-radius: 50%; padding: 5px; }
.footer a { color: #e9efe6; }
.footer p { margin: 0; }
.consent a { color: var(--green-700); }

/* RODO */
.rodo {
  width: 100%; max-width: 860px; text-align: left;
  border: 1px solid rgba(233, 239, 230, .18); border-radius: 14px; background: rgba(255,255,255,.03);
}
.rodo summary {
  cursor: pointer; padding: 14px 20px; font-weight: 700; color: #e9efe6; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.rodo summary::-webkit-details-marker { display: none; }
.rodo summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--green-300); transition: transform .25s; }
.rodo[open] summary::after { transform: rotate(45deg); }
.rodo__body { padding: 0 20px 18px; font-size: .85rem; line-height: 1.65; }
.rodo__body ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.rodo__body strong { color: #e9efe6; }

/* Pływający przycisk (mobile) */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none;
  background: var(--green-700); color: #fff; text-decoration: none; font-weight: 700;
  padding: .9em 1.5em; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Animacje wejścia */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsywność ===== */
@media (max-width: 980px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .hero__card { max-width: 420px; }
  .about__photo { justify-content: flex-start; }
  .photo { max-width: 280px; }
  .photo { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--beige-50); border-bottom: 1px solid var(--beige-300);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 400px; }
  .nav a:not(.btn) { padding: 14px 0; width: 100%; text-align: center; }
  .nav .btn { margin: 10px 0 20px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fab { display: inline-block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__sub { display: none; }
  .services, .pricing, .field-row { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .form { padding: 28px 20px; }
  .service { padding: 28px; }
}
