:root {
  --ivory: #FAF7F0;
  --ivory-deep: #F3EEE3;
  --gold: #C9A24B;
  --gold-dark: #A9843A;
  --ink: #2C2A26;
  --ink-soft: #6B665C;
  --line: #E7DFCF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* sticky footer — stopka zawsze na dole ekranu */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; width: 100%; }

/* Bardzo delikatne tło ze zdjęcia (public/images/bg.jpg).
   Steruj subtelnością przez --bg-opacity. Jeśli pliku nie ma — nic się nie dzieje. */
:root { --bg-opacity: 0.10; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../images/bg.jpg") center right / cover no-repeat;
  opacity: var(--bg-opacity);
}

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

img { max-width: 100%; display: block; }

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand__logo { height: 42px; width: auto; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.nav__link {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__link:hover { color: var(--ink); }
.nav__link--active { color: var(--gold-dark); border-bottom-color: var(--gold); }

.lang { display: flex; align-items: center; gap: .35rem; }
.lang__btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: .8rem; letter-spacing: .1em;
  color: var(--ink-soft); padding: 2px 4px;
}
.lang__btn[aria-pressed="true"] { color: var(--gold-dark); font-weight: 500; }
.lang__sep { color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero--sub { padding: 3rem 1.5rem 1rem; }
.hero__logo { height: 150px; width: auto; margin: 0 auto 1.5rem; }
.hero__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: .06em;
  margin: 0;
}
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--gold-dark);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: .5rem 0 0;
}

/* ---------- Sections ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
  letter-spacing: .05em;
  margin: 0 0 1.75rem;
}
.section__title::after {
  content: "";
  display: block;
  width: 48px; height: 1px;
  background: var(--gold);
  margin: .6rem auto 0;
}

.services { padding: 3rem 0 3.5rem; }
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 720px;
  margin: 0 auto;
}
.service-group { text-align: center; }
.services__grid .service-group:first-child { border-right: 1px solid var(--line); }
.service-group h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--gold-dark);
}
.service-group h3::after {
  content: "";
  display: block;
  width: 36px; height: 1px;
  background: var(--gold);
  margin: .55rem auto 0;
}
.service-group ul { list-style: none; margin: 0; padding: 0; }
.service-group li {
  padding: .5rem 0;
  font-size: 1.08rem;
  letter-spacing: .04em;
  color: var(--ink);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}
.contact__row { margin: 0 0 1.25rem; }
.contact__label {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .15rem;
}
.contact__value {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  transition: color .2s;
}
a.contact__value:hover { color: var(--gold-dark); }

/* telefon — główne źródło umawiania, mocno wyeksponowany */
.contact__value--phone {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1.1;
}

/* kontakt na stronie głównej — bez mapy, wyśrodkowany */
.contact--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.contact--center .social { align-items: center; }
.contact--center .btn-call { margin-left: auto; margin-right: auto; }

/* godziny otwarcia */
.hours { list-style: none; margin: .1rem 0 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  padding: .2rem 0;
}
.hours li span:last-child { color: var(--gold-dark); white-space: nowrap; }
.contact__note { color: var(--ink-soft); font-size: .9rem; margin: 0 0 1.75rem; }

/* ---------- Buttons ---------- */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: .06em;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  margin: .5rem 0 1.75rem;
  transition: background .2s, transform .1s;
}
.btn-call:hover { background: var(--gold-dark); }
.btn-call:active { transform: translateY(1px); }
.btn-call svg { width: 18px; height: 18px; fill: currentColor; }

/* przyklejony przycisk „zadzwoń" — tylko na mobile */
.call-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.call-fab svg { width: 24px; height: 24px; fill: #fff; }

.social { display: flex; flex-direction: column; gap: .5rem; }
.social__link {
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--gold-dark);
  border-bottom: 1px solid transparent;
  align-self: start;
  transition: border-color .2s;
}
.social__link:hover { border-bottom-color: var(--gold); }

.contact__map iframe {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.contact__map--lg iframe { height: 460px; }

/* ---------- Gallery ---------- */
.gallery { padding: 1.5rem 0 4rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery__item {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory-deep);
  border: 1px dashed var(--line);
  border-radius: 4px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}

/* ---------- FAQ ---------- */
.faq { padding: 1.5rem 0 4rem; max-width: 760px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 .5rem;
}
.faq__q::before { content: "—"; color: var(--gold); margin-right: .5rem; }
.faq__a { margin: 0; color: var(--ink-soft); }
.faq__note {
  text-align: center;
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-dark);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: .8rem;
  letter-spacing: .05em;
}
.footer__made {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink-soft);
  font-size: .78rem;
  letter-spacing: .04em;
  transition: color .2s;
}
.footer__made:hover { color: var(--ink); }
.footer__made:hover .footer__brand { color: var(--gold-dark); }
.footer__logo { height: 22px; width: 22px; opacity: .95; border-radius: 5px; }
.footer__brand { font-weight: 500; color: var(--ink); letter-spacing: .02em; transition: color .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .contact { grid-template-columns: 1fr; }
  .contact__map iframe { height: 260px; }
  .topbar { justify-content: center; text-align: center; }
  .call-fab { display: flex; }
  .services__grid { grid-template-columns: 1fr; gap: 2rem; }
  .services__grid .service-group:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.5rem;
  }
  .footer__inner { flex-direction: column; text-align: center; }
  .brand__name { font-size: 1.2rem; }
  .contact__value--phone { font-size: 2rem; }
  .contact__map--lg iframe { height: 300px; }
}
