/* ABI Noclegi — arkusz stylów
   Jeden plik, bez zależności zewnętrznych: strona ma działać szybko
   na telefonie z kiepskim zasięgiem, bo tak ją najczęściej otwierają. */

:root {
  --ink:        #151a20;
  --ink-2:      #4d5a67;
  --ink-3:      #6f7d8a;
  --paper:      #ffffff;
  --sand:       #f8f5f0;
  --sand-2:     #efe8de;
  --line:       #e3dbd0;
  --brand:      #a94c1b;
  --brand-dk:   #85390f;
  --brand-tint: #fdf2ea;
  --ok:         #1c7a4f;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --cien:    0 1px 2px rgba(21,26,32,.06), 0 4px 16px rgba(21,26,32,.06);
  --cien-lg: 0 2px 4px rgba(21,26,32,.05), 0 18px 44px rgba(21,26,32,.11);

  --szer: 1180px;
  --pion: clamp(3.5rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dk); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.pomin {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; z-index: 200; border-radius: 0 0 var(--r-sm) 0;
}
.pomin:focus { left: 0; color: #fff; }

/* ---------- układ ---------- */

.kontener { width: 100%; max-width: var(--szer); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.sekcja { padding-block: var(--pion); }
.sekcja--sand { background: var(--sand); }
.sekcja--ink  { background: var(--ink); color: #c3ced8; }
.sekcja--ink h2, .sekcja--ink h3 { color: #fff; }

.naglowek-sekcji { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.naglowek-sekcji.srodek { margin-inline: auto; text-align: center; }
.nadtytul {
  display: block; font-size: .8rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .7rem;
}
.sekcja--ink .nadtytul { color: #e39a63; }
.wiodacy { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--ink-2); }
.sekcja--ink .wiodacy { color: #b3c0cc; }

/* ---------- przyciski ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 650; line-height: 1.2;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--glowny  { background: var(--brand); color: #fff; box-shadow: var(--cien); }
.btn--glowny:hover  { background: var(--brand-dk); color: #fff; }
.btn--obrys   { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--obrys:hover   { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn--jasny   { background: #fff; color: var(--ink); }
.btn--jasny:hover   { background: var(--sand-2); color: var(--ink); }
.btn--duzy    { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn svg { flex: none; }

.przyciski { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- nagłówek ---------- */

.gora {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* Lekkie prześwitywanie tylko tam, gdzie rozmycie faktycznie zadziała —
   bez niego tekst spod nagłówka przebijał przez półprzezroczyste tło. */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .gora {
    background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: saturate(1.6) blur(12px);
    backdrop-filter: saturate(1.6) blur(12px);
  }
}
.gora__rzad { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.gora__logo { flex: none; display: flex; align-items: center; }
.gora__logo img { width: 178px; height: auto; }

.menu { margin-left: auto; }
.menu ul { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: .55rem .85rem; border-radius: var(--r-sm);
  color: var(--ink); font-weight: 600; font-size: .96rem; text-decoration: none;
}
.menu a:hover { background: var(--sand); color: var(--ink); }
.menu a[aria-current="page"] { color: var(--brand); }

.gora__tel {
  flex: none; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 700; padding: .7rem 1.15rem; border-radius: 999px; font-size: .97rem;
}
.gora__tel:hover { background: var(--brand-dk); color: #fff; }

.hamburger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .18s ease, top .18s ease;
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: inline-flex; }
  .gora__tel { order: 3; padding: .6rem .9rem; }
  .gora__tel .tel-tekst { display: none; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--cien-lg); padding: .6rem clamp(1.1rem, 4vw, 2rem) 1.2rem;
    display: none;
  }
  .menu[data-otwarte="tak"] { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu a { padding: .85rem .4rem; border-bottom: 1px solid var(--sand-2); border-radius: 0; font-size: 1.05rem; }
}

/* ---------- hero ---------- */

.hero { background: var(--sand); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__siatka {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
  grid-template-columns: 1.05fr .95fr;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.hero__tresc p.wiodacy { max-width: 46ch; }
.hero h1 { margin-bottom: .45em; }
.hero__marka {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem;
  background: var(--brand-tint); color: var(--brand-dk); border: 1px solid #f0d6c2;
  padding: .4rem .9rem; border-radius: 999px; font-size: .84rem; font-weight: 650;
}
.hero__foto { position: relative; }
.hero__foto img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--cien-lg);
}
.hero__plakietka {
  position: absolute; left: -14px; bottom: -18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: .9rem 1.15rem; box-shadow: var(--cien-lg); max-width: 210px;
}
.hero__plakietka strong { display: block; color: var(--ink); font-size: 1.5rem; line-height: 1.1; }
.hero__plakietka span { font-size: .82rem; color: var(--ink-3); }

@media (max-width: 860px) {
  .hero__siatka { grid-template-columns: 1fr; }
  /* Zdjęcie pod tekstem: nagłówek ma powiedzieć, gdzie się trafiło,
     zanim użytkownik zacznie oglądać pokoje. */
  .hero__plakietka {
    left: auto; right: 12px; bottom: -14px;
    max-width: 172px; padding: .7rem .95rem;
  }
  .hero__plakietka strong { font-size: 1.2rem; }
  .hero__plakietka span { font-size: .75rem; line-height: 1.4; display: block; }
}

/* ---------- statystyki ---------- */

.statystyki {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line);
}
.statystyki div { background: var(--paper); padding: 1.6rem 1.1rem; text-align: center; }
.statystyki strong { display: block; color: var(--ink); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 780; letter-spacing: -.03em; }
.statystyki span { font-size: .84rem; color: var(--ink-3); }
@media (max-width: 700px) { .statystyki { grid-template-columns: repeat(2, 1fr); } }

/* ---------- karty obiektów ---------- */

.obiekty { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .obiekty { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.obiekt {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--cien); transition: transform .18s ease, box-shadow .18s ease;
}
.obiekt:hover { transform: translateY(-3px); box-shadow: var(--cien-lg); }
.obiekt__foto { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--sand-2); }
.obiekt__tresc { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.obiekt__miasto {
  font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .35rem;
}
.obiekt h3 { margin-bottom: .8rem; }
.obiekt__liczby { display: flex; gap: 1.6rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.obiekt__liczby strong { display: block; color: var(--ink); font-size: 1.35rem; font-weight: 750; line-height: 1.1; }
.obiekt__liczby span { font-size: .8rem; color: var(--ink-3); }
.obiekt p { font-size: .95rem; margin-bottom: 1.3rem; }
.obiekt .btn { margin-top: auto; align-self: flex-start; }

/* ---------- udogodnienia ---------- */

.udogodnienia { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .udogodnienia { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .udogodnienia { grid-template-columns: 1fr; } }

.udogodnienia li {
  display: flex; gap: .95rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.15rem 1.25rem;
}
.sekcja--sand .udogodnienia li { background: var(--paper); }
.udogodnienia .ikona {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
}
.udogodnienia b { display: block; color: var(--ink); font-size: .99rem; margin-bottom: .12rem; }
.udogodnienia small { font-size: .875rem; color: var(--ink-3); line-height: 1.5; display: block; }

/* ---------- galeria ---------- */

.galeria { display: grid; gap: .8rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
.galeria img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: var(--sand-2); }
.galeria .duze { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; } }
@media (max-width: 520px) { .galeria { grid-auto-rows: 135px; } .galeria .duze { grid-row: span 2; } }

/* ---------- kroki ---------- */

.kroki { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; counter-reset: krok; }
@media (max-width: 860px) { .kroki { grid-template-columns: 1fr; } }
.kroki li { counter-increment: krok; position: relative; padding-top: 3.4rem; }
.kroki li::before {
  content: counter(krok); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 750; font-size: 1.1rem;
}
.kroki h3 { margin-bottom: .35em; }
.kroki p { font-size: .95rem; margin: 0; }

/* ---------- pas CTA ---------- */

.pas-cta { background: var(--ink); color: #b6c2cd; }
.pas-cta__siatka { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.pas-cta h2 { color: #fff; margin-bottom: .5em; }
.pas-cta p { margin-bottom: 0; }
.pas-cta__akcje { display: flex; flex-direction: column; gap: .75rem; }
.pas-cta__akcje .btn { width: 100%; }
.pas-cta__mini { font-size: .87rem; color: #8d9aa6; text-align: center; margin: .2rem 0 0; }
@media (max-width: 820px) { .pas-cta__siatka { grid-template-columns: 1fr; } }

/* ---------- treść artykułu ---------- */

.tresc { max-width: 68ch; }
.tresc h2 { margin-top: 2.2em; }
.tresc h2:first-child { margin-top: 0; }
.tresc h3 { margin-top: 1.8em; }
.tresc ul { padding-left: 1.15rem; margin: 0 0 1.3em; }
.tresc li { margin-bottom: .45em; }

.dwie-kolumny { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .dwie-kolumny { grid-template-columns: 1fr; } }

.ramka {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem); position: sticky; top: 96px;
}
.sekcja--sand .ramka { background: var(--paper); }
.ramka h3 { margin-bottom: .8rem; }
.ramka dl { margin: 0 0 1.4rem; }
.ramka dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; }
.ramka dd { margin: .1rem 0 .95rem; color: var(--ink); font-weight: 600; }
.ramka dd:last-of-type { margin-bottom: 0; }
.ramka .btn { width: 100%; }
@media (max-width: 900px) { .ramka { position: static; } }

/* ---------- lista ptaszków ---------- */

.ptaszki { list-style: none; margin: 0 0 1.5em; padding: 0; }
.ptaszki li { position: relative; padding-left: 1.9rem; margin-bottom: .6em; }
.ptaszki li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a94c1b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3 3 6-6.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.sekcja--ink .ptaszki li::before { background-color: rgba(227,154,99,.16); }

/* ---------- strona wewnętrzna: pasek tytułowy ---------- */

.pasek-tytulu { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 4rem); }
.pasek-tytulu h1 { margin-bottom: .35em; }
.pasek-tytulu p { max-width: 60ch; margin-bottom: 0; }

.okruszki { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; padding: 0; font-size: .86rem; color: var(--ink-3); }
.okruszki li::after { content: "›"; margin-left: .45rem; color: var(--line); }
.okruszki li:last-child::after { content: ""; }
.okruszki a { color: var(--ink-3); text-decoration: none; }
.okruszki a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- kontakt ---------- */

.kontakt-siatka { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.kontakt-kafel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; text-align: center;
}
.kontakt-kafel .ikona {
  width: 48px; height: 48px; margin: 0 auto .9rem; border-radius: 13px;
  background: var(--brand-tint); color: var(--brand); display: grid; place-items: center;
}
.kontakt-kafel b { display: block; color: var(--ink); margin-bottom: .3rem; }
.kontakt-kafel a { font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.kontakt-kafel small { display: block; color: var(--ink-3); font-size: .85rem; margin-top: .4rem; }

.dane-firmy { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem 2rem; margin: 0; }
.dane-firmy dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; margin-bottom: .25rem; }
.dane-firmy dd { margin: 0; color: var(--ink); font-weight: 600; }

/* ---------- stopka ---------- */

.stopka { background: var(--ink); color: #97a4b0; padding-block: clamp(3rem, 5vw, 4rem) 2rem; font-size: .93rem; }
.stopka__siatka { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .stopka__siatka { grid-template-columns: 1fr 1fr; } .stopka__marka { grid-column: 1 / -1; } }
@media (max-width: 480px) { .stopka__siatka { grid-template-columns: 1fr; } }
.stopka h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.stopka ul { list-style: none; margin: 0; padding: 0; }
.stopka li { margin-bottom: .55rem; }
.stopka a { color: #b6c2cd; text-decoration: none; }
.stopka a:hover { color: #fff; text-decoration: underline; }
.stopka__marka img { width: 150px; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .95; }
.stopka__marka p { max-width: 34ch; font-size: .9rem; }
.stopka__dol {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.11);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: #7d8b97;
}
.stopka__dol p { margin: 0; }

/* ---------- pływający pasek telefonu (telefon) ---------- */

.tel-mobile { display: none; }
@media (max-width: 640px) {
  .tel-mobile {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    gap: .6rem;
    opacity: 0; visibility: hidden; transform: translateY(130%);
    transition: opacity .2s ease, transform .24s ease, visibility .24s;
  }
  .tel-mobile[data-widoczny="tak"] { opacity: 1; visibility: visible; transform: none; }
  .tel-mobile .btn { flex: 1; box-shadow: var(--cien-lg); }
  body { padding-bottom: 76px; }
}

/* Na najwęższych ekranach dwa przyciski hero układały się schodkowo
   o różnej szerokości — pełna szerokość czyta się spokojniej. */
@media (max-width: 520px) {
  .hero .przyciski { flex-direction: column; align-items: stretch; }
  .hero .przyciski .btn { width: 100%; }
}
