/* ===== Zmienne i reset ===== */
:root {
  --cream: #f6f0e6;
  --cream-2: #efe6d6;
  --cream-3: #e7dcc7;
  --paper: #fbf8f1;
  --ink: #2e2a24;
  --ink-soft: #5a5247;
  --accent: #a98b5d;        /* złamane złoto */
  --accent-dark: #8a6f47;
  --line: #ddd0ba;
  --shadow: 0 18px 50px -25px rgba(70, 56, 35, .45);
  --radius: 18px;
  --maxw: 1140px;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; color: var(--ink); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ===== Przyciski ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.8rem;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .9rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--cream-3); color: var(--ink); border-color: var(--accent); }
.btn--small { padding: .6rem 1.2rem; font-size: .82rem; }
.btn--full { width: 100%; }

/* ===== Nawigacja ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 240, 230, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.logo__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 1.25rem;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: .92rem; letter-spacing: .03em; position: relative; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--accent-dark); }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--accent-dark); transition: width .25s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }

/* ===== Hero ===== */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: clamp(2.8rem, 6vw, 4.6rem); margin-bottom: 1.4rem; }
.hero__lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }
.hero__facts { list-style: none; display: flex; gap: clamp(1.2rem, 4vw, 2.6rem); flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--accent-dark); }
.hero__facts span { font-size: .82rem; color: var(--ink-soft); letter-spacing: .02em; }
.hero__media { position: relative; }
.hero__media-badge {
  position: absolute; bottom: -28px; left: -28px;
  width: 46%; aspect-ratio: 4/3; box-shadow: var(--shadow);
}

/* ===== Miejsca na zdjęcia ===== */
.photo {
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(169,139,93,.06) 14px, rgba(169,139,93,.06) 28px),
    var(--cream-2);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  min-height: 200px;
  color: var(--accent-dark);
}
.photo span {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  opacity: .85;
}
.photo--portrait { aspect-ratio: 4/5; box-shadow: var(--shadow); }
.photo--small { min-height: 120px; }
.photo--map { aspect-ratio: 16/9; margin-top: 2rem; }

/* ===== Pasek atutów ===== */
.strip { background: var(--ink); color: var(--cream); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.strip__item { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; position: relative; padding-left: 1.4rem; }
.strip__item::before { content: "✦"; position: absolute; left: 0; color: var(--accent); }

/* ===== Sekcje ===== */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--paper); }
.section__head { max-width: 56ch; margin-bottom: 3rem; }
.section__title { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .8rem; }
.section__sub { color: var(--ink-soft); font-size: 1.02rem; }

/* ===== Oferta ===== */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.section--alt .service { background: var(--cream); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.service__num { font-family: var(--font-head); font-size: 1.1rem; color: var(--accent); letter-spacing: .1em; }
.service h3 { font-size: 1.5rem; margin: .6rem 0 .7rem; }
.service p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.4rem; }
.service__price {
  display: inline-block;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
  border-top: 1px solid var(--line); padding-top: .9rem; width: 100%;
}

/* ===== Galeria ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1.2rem;
}
.gallery__a { grid-column: span 2; grid-row: span 2; }
.gallery__b { grid-column: span 2; }
.gallery__c { grid-column: span 1; }
.gallery__d { grid-column: span 1; }
.gallery__e { grid-column: span 2; }

/* ===== O nas ===== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.checklist { list-style: none; margin-top: 1.6rem; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--cream-3); color: var(--accent-dark);
  display: grid; place-items: center; font-size: .8rem; font-weight: 600;
}

/* ===== Opinie ===== */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.review {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  position: relative;
}
.review::before {
  content: "“"; font-family: var(--font-head); font-size: 4rem; color: var(--accent);
  position: absolute; top: .4rem; left: 1.2rem; opacity: .4; line-height: 1;
}
.review blockquote { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.4; margin-bottom: 1.2rem; padding-top: 1.4rem; }
.review figcaption { font-size: .88rem; color: var(--ink-soft); letter-spacing: .04em; }

/* ===== Kontakt ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__list { list-style: none; margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact__list li { display: grid; gap: .15rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.contact__label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); }
.contact__list a:hover { color: var(--accent-dark); }

.contact__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.contact__form h3 { font-size: 1.7rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; letter-spacing: .04em; margin-bottom: .45rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(169,139,93,.18);
}
.field textarea { resize: vertical; }
.form__note { margin-top: 1rem; font-size: .9rem; min-height: 1.2em; color: var(--accent-dark); }

/* ===== Stopka ===== */
.footer { background: var(--ink); color: var(--cream); padding: 3rem 0 2rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 1rem; max-width: 30ch; }
.footer__brand p { font-size: .92rem; opacity: .85; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__links a { font-size: .9rem; opacity: .85; transition: opacity .2s; }
.footer__links a:hover { opacity: 1; color: var(--accent); }
.footer__copy { width: 100%; border-top: 1px solid rgba(246,240,230,.15); padding-top: 1.5rem; font-size: .82rem; opacity: .65; }

/* ===== Animacja wejścia ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsywność ===== */
@media (max-width: 900px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .about__media { max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__a, .gallery__b, .gallery__e { grid-column: span 2; }
  .gallery__a { grid-row: auto; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-130%);
    transition: transform .35s ease;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: .8rem; border-bottom: 0 !important; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 520px) {
  .hero__media-badge { left: 0; bottom: -20px; }
  .strip__inner { justify-content: flex-start; gap: 1rem 1.6rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
