/* ===== Reset & tokens ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf5ec;        /* ciepły, jasny beż */
  --bg-alt: #f3e9da;    /* nieco głębszy beż na przemienne sekcje */
  --surface: #ffffff;   /* karty / formularz */
  --line: #e7dccb;      /* delikatne ciepłe obramowania */
  --text: #2b2118;      /* ciepły grafit */
  --muted: #7a6a58;     /* stonowany brąz-szary */
  --accent: #e2691c;    /* pomarańcz */
  --accent-2: #c9942f;  /* ciepły amber/złoto */
  --radius: 16px;
  --container: 1120px;
  --shadow: 0 20px 50px -24px rgba(120, 80, 40, .35);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

h1, h2, h3 { line-height: 1.1; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin-bottom: .6rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #ff6b3d; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,245,236,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 700; }
.logo__mark { font-size: 1.5rem; }
.logo__text { font-family: "Anton", sans-serif; letter-spacing: .06em; font-size: 1.35rem; }
.logo__text span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.btn { color: #fff; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) 0; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(250,245,236,.66), rgba(250,245,236,.82)),
    radial-gradient(55% 55% at 82% 8%, rgba(226,105,28,.16), transparent 62%),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero__inner { position: relative; z-index: 1; max-width: 780px; }
.hero__eyebrow { color: var(--accent-2); font-weight: 600; letter-spacing: .04em; margin-bottom: 1.2rem; }
.hero__title { font-family: "Anton", sans-serif; font-size: clamp(3rem, 9vw, 6rem); letter-spacing: .01em; text-transform: uppercase; }
.hero__title span { color: var(--accent); }
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.25rem); max-width: 620px; margin: 1.5rem 0 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: "Anton", sans-serif; font-size: 2.4rem; color: var(--text); line-height: 1; }
.hero__stats span { color: var(--muted); font-size: .9rem; margin-top: .3rem; }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

/* Zdjęcia w tle sekcji (kremowa nakładka dla czytelności tekstu).
   Aby podmienić na prawdziwe zdjęcie: wgraj plik do images/ pod tą samą nazwą. */
#o-mnie      { --sec-img: url("images/o-mnie.jpg"); }
#oferta      { --sec-img: url("images/oferta.jpg"); }
#dzialalnosc { --sec-img: url("images/dzialalnosc.jpg"); }
#kontakt     { --sec-img: url("images/kontakt.jpg"); }
#o-mnie, #oferta, #dzialalnosc, #kontakt {
  background-image:
    linear-gradient(rgba(250,245,236,.72), rgba(250,245,236,.80)),
    var(--sec-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section__head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section__sub { color: var(--muted); margin-top: .8rem; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__photo { position: relative; }
.about__photo-inner {
  aspect-ratio: 1; border-radius: var(--radius);
  background: url("images/portret.jpg") center/cover, linear-gradient(145deg, #ffe6c7, #f4d5a8);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 0; /* ukrywa emoji-placeholder */
  box-shadow: var(--shadow);
}
.about__badge {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-weight: 700;
  padding: .5rem 1.4rem; border-radius: 999px; font-size: .95rem;
  box-shadow: var(--shadow);
}
.about__text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1.2rem; }
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.about__list { list-style: none; margin-top: 1.5rem; display: grid; gap: .7rem; }
.about__list li { position: relative; padding-left: 1.8rem; }
.about__list li::before { content: "🥁"; position: absolute; left: 0; font-size: .95rem; }

/* Odwrócony układ (zdjęcie po prawej) */
.about--reverse .about__photo { order: 2; }
.about__photo-inner--stage {
  background: url("images/dzialalnosc.jpg") center/cover;
  font-size: 0;
}

/* Wyższe sekcje z treścią wyśrodkowaną w pionie */
#o-mnie, #oferta { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }

/* Oferta — duży tekst wprowadzający (jak w sekcji O mnie) */
.offer__intro { max-width: 760px; margin-bottom: 0; }
.offer__intro h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1.2rem; }
.offer__intro p { color: var(--muted); margin-bottom: 1rem; }
.offer__intro strong { color: var(--text); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card__icon { font-size: 2.4rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; align-items: stretch; }
.price {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.2rem 2rem; display: flex; flex-direction: column;
}
.price--featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(226,105,28,.09), var(--surface)); transform: translateY(-8px); box-shadow: var(--shadow); }
.price__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.price h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.price__amount { font-family: "Anton", sans-serif; font-size: 2.6rem; margin-bottom: 1.4rem; }
.price__amount span { font-family: "Inter", sans-serif; font-size: .95rem; color: var(--muted); font-weight: 400; }
.price ul { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.price li { color: var(--muted); position: relative; padding-left: 1.6rem; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price .btn { margin-top: auto; }
.pricing__note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.8rem; }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.review {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
}
.review p { font-size: 1.02rem; margin-bottom: 1.2rem; }
.review footer { color: var(--accent-2); font-weight: 600; font-size: .95rem; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact__info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.contact__info > p { color: var(--muted); margin-bottom: 1.8rem; max-width: 420px; }
.contact__list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; color: var(--muted); }
.contact__list a:hover { color: var(--accent); }
.contact__socials { display: flex; gap: 1.2rem; }
.contact__socials a { color: var(--accent-2); font-weight: 600; }
.contact__socials a:hover { text-decoration: underline; }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: .75rem .9rem; color: var(--text);
  font-family: inherit; font-size: .95rem; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form__status { margin-top: 1rem; font-size: .9rem; color: var(--accent-2); min-height: 1.2rem; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 0; background: var(--bg-alt); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { color: var(--muted); font-size: .9rem; }
.footer__top { color: var(--muted); font-weight: 600; }
.footer__top:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: .8rem 0; }
  .nav__links a.btn { width: 100%; margin-top: .5rem; }
  .nav__toggle { display: flex; }
  #o-mnie, #oferta, #dzialalnosc, #kontakt { background-attachment: scroll; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 300px; margin-inline: auto; }
  .contact { grid-template-columns: 1fr; }
}
