/* =============== GLOBAL / BASE =============== */
:root{
  --brand:#003580; --blue:#2a6ebb; --cta:#febb02; --cta-text:#1b1f29;
  --text:#1b1f29; --muted:#5a6375; --shadow:none;
  /* HV vibe */
  --hv-black:#1C1C1C; --hv-ink:#111217; --hv-muted:#5d6473; --hv-line:#E6E8EC;
  --hv-card:#ffffff; --hv-accent:#BF5739; --hv-ink-contrast:#ffffff;
  --line:#e9edf2;     /* używane w wielu miejscach */
  --bg:#f7f9fc;       /* tło sekcji intro */
  --header-h:72px;    /* wysokość sticky headera desktop */
}
@media (max-width:900px){ :root{ --header-h:64px } }
@media (max-width:560px){ :root{ --header-h:56px } }

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#fff;scroll-padding-top:calc(var(--header-h) + 12px)}
body{
  margin:0; color:var(--text); background:#fff; line-height:1.55;
  font-family:"Manrope", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:15px; font-weight:400;
}
@media (max-width:560px){ body{ font-size:14.5px } }

a{color:#1f5fb8;text-decoration:none}
a:hover{text-decoration:underline}

.container{width:min(1320px,96%);margin:0 auto}
.container.wide{width:min(1400px,96%)}

/* Wyłączony stary niebieski pasek */
.bluebar{display:none !important}

/* =============== HEADER (WHITE / HV) =============== */
.hv-headerbar{
  position:sticky; top:0; z-index:1001; /* wyżej niż hero */
  background:#fff; border-bottom:1px solid var(--line);
  transition:box-shadow .2s ease;
  position: sticky;
}
.hv-headerbar__wrap{
  display:flex; align-items:center; gap:18px; padding:6px 0;
  justify-content:space-between;
  position:relative; /* kotwica dla mobilnego .hv-nav (absolute) */
}
.hv-brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.hv-brand img{height:88px;width:auto;display:block;object-fit:contain}
@media (max-width:900px){ .hv-brand img{height:72px} }
@media (max-width:560px){ .hv-brand img{height:56px} }

.hv-nav{display:flex;gap:14px;margin-left:auto}
.hv-nav a{
  display:block; padding:8px 6px; border-radius:10px;
  color:var(--text); font-weight:500; font-size:14px; letter-spacing:.1px;
  text-decoration:none;
}
.hv-nav a:hover{background:#f7f9fc;text-decoration:none}

.hv-actions{display:flex;align-items:center;gap:8px}
.hv-act{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:10px; border:1px solid transparent;
  background:transparent; color:var(--text); cursor:pointer;
}
.hv-act:hover{background:#f7f9fc}
.hv-lang{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 10px; border:1px solid var(--line); border-radius:10px; cursor:pointer;
}
.hv-lang i{font-size:12px; color:var(--muted)}
.hv-signin{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 12px; border-radius:10px; border:1px solid transparent;
  background:#ff6400; color:#1b1f29 !important; font-weight:500; text-decoration:none;
}
.hv-signin:hover{filter:brightness(.96);text-decoration:none}

/* focus (z fallbackiem do color-mix) */
.hv-nav a:focus-visible,
.hv-act:focus-visible,
.hv-lang:focus-visible,
.hv-signin:focus-visible{
  outline:2px solid #2b6cb0;
  outline-offset:2px;
  outline-color:color-mix(in oklab, #2b6cb0 60%, white);
}

/* Burger – mobile */
.hv-burger{
  display:none;border:0;background:transparent;font-size:28px;line-height:1;padding:6px;cursor:pointer;
}
.hv-burger i{pointer-events:none;} /* klik na cały przycisk */
@media (max-width:992px){
  .hv-burger{display:inline-flex;align-items:center;justify-content:center}
  .hv-nav{
    display:none; position:absolute; top:100%; left:0; right:0; background:#fff;
    border-top:1px solid #e9edf3; border-bottom:1px solid #e9edf3;
    flex-direction:column; gap:0; padding:8px 0;
  }
  .hv-headerbar.is-open .hv-nav{display:block}
  .hv-nav a{padding:14px 16px}
  .hv-nav a:hover{background:#f6f8fb}
}

/* cień po scrollu (dodaj klasę .hv-scrolled na body w JS) */
.hv-scrolled .hv-headerbar{box-shadow:0 10px 30px rgba(18,22,34,.08)}

@media (max-width:900px){
  .hv-headerbar__wrap{gap:16px}
  .hv-nav{gap:12px;overflow-x:auto;scrollbar-width:none}
  .hv-nav::-webkit-scrollbar{display:none}
  .hide-m{display:none !important}
}
@media (max-width:560px){
  .hv-headerbar__wrap{gap:12px}
  .hv-nav{gap:8px}
  .hide-s{display:none !important}
}

/* =============== BREADCRUMBS =============== */
.hvv .crumbs{font-size:12.5px;color:#6c7486;padding:18px 0 10px;border-bottom:1px solid #eef2f7}
.hvv .crumbs a{color:#6c7486}
.hvv .crumbs span{margin:0 6px}

/* =============== HERO + THUMBS =============== */
.hv-hero{margin:12px 0 18px}
.hv-hero--stack .hv-hero-wrap{position:relative}
.hv-hero--stack .hv-hero-main{
  display:block; position:relative; border:0; background:transparent; border-radius:1rem; overflow:hidden; cursor:pointer;
  height:clamp(320px,56vw,560px); width:100%; aspect-ratio:16/9;
}
.hv-hero--stack .hv-hero-main img{width:100%;height:100%;object-fit:cover;display:block}

/* Strzałki */
.hv-hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:40px;height:40px;border:none;border-radius:999px;
  background:rgba(0,0,0,.35);color:#fff;font-size:20px;line-height:1;
  display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3
}
.hv-hero-arrow:hover{background:rgba(0,0,0,.5)}
.hv-hero-arrow--prev{left:10px}
.hv-hero-arrow--next{right:10px}

/* Miniatury */
.hv-thumbs{
  display:flex;gap:.5rem;align-items:center;margin-top:.6rem;overflow-x:auto;padding:.25rem .25rem .35rem;
  scrollbar-width:thin;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch
}
.hv-thumbs::-webkit-scrollbar{height:8px}
.hv-thumbs::-webkit-scrollbar-thumb{background:#d7dbe3;border-radius:20px}
.hv-thumb{
  --thumb:92px;
  flex:0 0 auto;width:var(--thumb);height:var(--thumb);
  border:0;padding:0;background:transparent;border-radius:.6rem;overflow:hidden;cursor:pointer;position:relative;
  box-shadow:inset 0 0 0 0 transparent;transition:box-shadow .15s ease;scroll-snap-align:start
}
@media (min-width:780px){ .hv-thumb{--thumb:108px} }
.hv-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .18s ease;vertical-align:middle}
.hv-thumb:hover img{transform:scale(1.03)}
.hv-thumb.is-active{box-shadow:inset 0 0 0 2px #111}

/* CTA pod miniaturami */
.hv-photos-cta{display:flex;justify-content:flex-end;margin-top:.4rem}
.hv-link{background:#fff;color:#000;border:1px solid #000;border-radius:.5rem;padding:.55rem .9rem;font-weight:500;cursor:pointer}
.hv-link:hover{background:#f7f7f7}

/* =============== BODY GRID (content + sidebar) =============== */
.hv-body{display:block}
@media (min-width:768px){
  .hv-body{
    display:grid;gap:2.2rem;align-items:start;
    grid-template-columns:minmax(0,1fr) clamp(246px, calc((100vw - 13.5rem) * 0.32), 390px);
  }
}
.hv-main{display:flex;flex-direction:column;gap:1rem}

.hv-header h1{
  margin:0; font-family:"Source Serif 4",ui-serif,Georgia,"Times New Roman",serif;
  font-weight:600; letter-spacing:.01rem; font-size:clamp(24px,2.6vw,34px); line-height:1.15; color:var(--hv-ink);
}
.hv-sub{color:#4b4b4b;margin-top:.25rem}

/* =============== CARDS / SECTIONS =============== */
.hv-card{background:#fff;border-radius:14px;padding:.9rem;border:1px solid #eef2f7;box-shadow:none}
.hv-card h2{
  margin:.1rem 0 .7rem; font-family:"Source Serif 4",ui-serif,Georgia,"Times New Roman",serif;
  font-weight:500; font-size:1.1rem; color:#1b1f29;
}

/* Udogodnienia */
.hv-amen-list{
  display:grid;gap:.5rem 1rem;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  margin:0;padding:0;list-style:none
}
.hv-amen-list li{display:flex;align-items:center;gap:.6rem;background:#F3F3F3;border-radius:.75rem;padding:.6rem .85rem;font-weight:500;font-size:.95rem}
.hv-amen-list i{opacity:.95}

/* =============== SIDEBAR (sticky rate card) =============== */
.hv-sidebar{position:relative}
@supports (position:sticky){
  .hv-sidebar{position:sticky; top:calc(var(--header-h) + 16px)}
}
.hv-ratecard{border:1px solid #E8EEED;border-radius:1rem;padding:1rem;background:#fff}
.hv-price{font-size:1.35rem;font-weight:600}
.hv-price span{font-size:.95rem;font-weight:500;color:#6b7280;margin-right:.35rem}
.hv-form{display:grid;gap:.6rem;margin-top:.5rem}
.hv-form label{font-weight:800;font-size:.9rem}

/* Daty + stepper */
.hv-date{display:flex;align-items:center;gap:.6rem;border:1px solid #cfd7e6;border-radius:.75rem;padding:.55rem .7rem;background:#fff}
.hv-date i{opacity:.7}
.hv-date input{border:none;outline:none;width:100%;font:inherit;padding:.1rem 0;background:transparent}

.hv-stepper{display:inline-flex;align-items:center;gap:.4rem;border:1px solid #cfd7e6;border-radius:.75rem;padding:.35rem;background:#fff}
.hv-stepper input{width:40px;text-align:center;border:none;outline:none;background:transparent;font-weight:800}
.stepper-btn{width:32px;height:32px;border:none;border-radius:.6rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;background:#f2f4f8;font-size:18px;line-height:1}
.stepper-btn:hover{filter:brightness(.96)}

.hv-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;border-radius:.625rem;font-weight:600;border:none;cursor:pointer}
.hv-btn--block{width:100%}
.hv-btn--primary {
  background: #003580; /* inspirowany Booking.com */
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.hv-btn--primary:hover {
  background: #002a66;
}

.hv-btn--lg{padding:.9rem 1.1rem;font-size:1rem}
.hv-btn--ghost{background:#fff;color:#1b1f29;border:1px solid #e6e9ef;padding:.55rem .8rem;border-radius:.6rem;font-weight:600;text-decoration:none}

.hv-trust{margin-top:.6rem;font-size:.85rem;color:#48536a}
.map-open{display:inline-flex;align-items:center;gap:8px;border:1px solid #E8EEED;border-radius:10px;padding:8px 12px;font-weight:800;color:#1f5fb8;text-decoration:none}

/* =============== MAPA =============== */
.hv-map{width:100%;height:420px;border:0;border-radius:1rem}
.hv-mini-map{margin-top:14px;border:1px solid #E8EEED;border-radius:1rem;padding:0;overflow:hidden;background:#fff}
.hv-mini-map .map-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #E8EEED}
.hv-mini-map iframe{width:100%;height:220px;border:0}

/* =============== KALENDARZ / CENY =============== */
.hv-card--calendar{padding:1rem 1rem 0 1rem}
#kalendarz .cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
#kalendarz .cal-head h2{margin:0}
#priceCalendar{min-height:480px;border-top:1px solid #eef2f7}

/* =============== LIGHTBOX =============== */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:.2s;z-index:9999}
.lightbox.active{opacity:1;visibility:visible}
.lightbox__img,.lightbox__iframe{max-width:92%;max-height:88%;border-radius:10px;background:#000;border:0}
.lightbox .close{position:absolute;top:14px;right:18px;color:#fff;font-size:34px;cursor:pointer}
.lightbox .nav{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center}
.lightbox .nav button{background:transparent;border:none;color:#fff;font-size:34px;padding:20px;cursor:pointer}
.hidden{display:none !important}

/* =============== MOBILE BOTTOM BAR =============== */
.hv-mobilebar{
  position:fixed;left:0;right:0;bottom:0;z-index:999;background:#fff;
  display:flex;gap:1rem;align-items:center;justify-content:space-between;
  padding:.9rem 1rem;box-shadow:0 -4px 12px rgba(0,0,0,.08)
}
.hv-mobilebar__price{font-size:1rem}
.hv-mobilebar__price strong{font-size:1.1rem;font-weight:600}
@media (min-width:1024px){ .hv-mobilebar{display:none} }

/* =============== PŁYWAJĄCY FORMULARZ (DOCK) =============== */
.hv-float-book{
  position:fixed;right:18px;bottom:18px;z-index:1100;
  display:flex;align-items:center;gap:.75rem;background:#fff;
  border:1px solid #E8EEED;border-radius:1rem;padding:.6rem .7rem;
  box-shadow:0 10px 30px rgba(10,29,58,.12)
}
.fb-price{font-weight:800;white-space:nowrap}
.fb-price span{font-size:.9rem;color:#6b7280;margin-right:.35rem}
.fb-fields{display:flex;gap:.5rem;align-items:center}
.fb-date{min-width:160px}
.fb-stepper input{width:36px}
.fb-cta{white-space:nowrap}
@media (max-width:980px){ .hv-float-book{display:none} }

/* =============== LISTY / BULLETS =============== */
.hv-bullets{margin:.2rem 0 0 1.1rem}

/* =============== FOOTER =============== */
footer{margin-top:36px;background:#0e1f3d;color:#cfe0ff;padding:26px 0;text-align:center}

/* =============== SAFARI PARITY / INPUTS =============== */
.hv-img,.hv-thumb,.hv-hero-arrow,.hv-btn,.stepper-btn,.hv-date input,.hv-hero-main{
  -webkit-appearance:none;appearance:none;background-clip:padding-box
}
.hv-hero-main{overflow:hidden;border-radius:1rem}
.hv-hero-arrow{pointer-events:auto}
.hv-thumb img{vertical-align:middle}
.hv-thumb:focus,.hv-hero-arrow:focus,.hv-img:focus{outline:2px solid rgba(0,0,0,.25);outline-offset:2px;border-radius:inherit}
.hv-date input[type="date"]{font:inherit;line-height:1.2;padding:.1rem 0}
.hv-date input[type="date"]::-webkit-date-and-time-value{text-align:left}
.hv-date input[type="date"]::-webkit-calendar-picker-indicator{opacity:.75;filter:grayscale(0);margin-left:.2rem;cursor:pointer}
.hv-date input[type="date"].safari-fallback::-webkit-datetime-edit{color:#9aa3b2}
.fa-solid,.fa-regular{font-style:normal}

/* =============== HOMEPAGE (namespace .homepg-*) =============== */
/* HERO (spójna jedna wersja) */
.homepg-hero{position:relative;isolation:isolate;background:#000;color:#fff}
.homepg-hero__bg{position:absolute;inset:0;z-index:-1;overflow:hidden}
.homepg-hero__bg img{width:100%;height:100%;object-fit:cover;object-position:center}
.homepg-hero__overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.35));
  z-index:0; pointer-events:none; /* NIE zasłania headera / burgera */
}
.homepg-hero__inner{padding:90px 0 120px}
/* .homepg-title{
  margin:0 0 10px;
  font-family:"Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600; line-height:1.1;
  font-size:clamp(34px,5vw,60px);
  color:#fff !important;
 */ 

.homepg-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:14px; font-weight:600; letter-spacing:.15px;
  background:rgba(255,255,255,.16); color:#fff;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px; padding:6px 10px;
}
.homepg-title{ margin:0 0 22px;font-size:clamp(48px,2.2vw,20px);opacity:.96 ; font-family:"Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;}
.homepg-lead{margin:0 0 22px;font-size:clamp(16px,2.2vw,20px);opacity:.96}
.homepg-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}

/* HERO XL + SEARCH */
.homepg-hero--xl .homepg-hero__inner{
  min-height:clamp(460px,72vh,720px);
  display:flex; align-items:flex-start; justify-content:center;
  padding:80px 0 70px;
}
.homepg-hero__content{
  width:100%; max-width:760px;
  display:flex; flex-direction:column; align-items:flex-start;
  text-align:left; gap:10px;
}
.homepg-search{
  display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap;
  margin:6px 0 6px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.35);
  backdrop-filter:saturate(130%) blur(6px);
  border-radius:16px; padding:10px;
  box-shadow:0 6px 18px rgba(0,0,0,.10);
}
.homepg-search .hs-field{
  display:flex; flex-direction:column; gap:6px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:12px; padding:10px 12px; min-width:200px;
}
.homepg-search label{ font-size:12px; color:#3a3f51; font-weight:500; letter-spacing:.1px }
.homepg-search input[type="date"], .homepg-search select{
  border:0; outline:none; background:transparent; font:inherit; color:var(--text); padding:4px 0;
}
.homepg-search .hs-submit{ padding:12px 16px; border-radius:12px; font-weight:600; white-space:nowrap }
@media (max-width:900px){
  .homepg-hero--xl .homepg-hero__inner{ min-height:60vh; padding:64px 0 }
  .homepg-search{ gap:8px; padding:8px }
  .homepg-search .hs-field{ min-width:180px; padding:9px 10px }
}
@media (max-width:560px){
  .homepg-search{ flex-direction:column; align-items:stretch }
  .homepg-search .hs-field{ width:100% }
  .homepg-search .hs-submit{ width:100%; text-align:center }
  .homepg-hero--xl .homepg-hero__inner{ min-height:56vh; padding:60px 0 }
  .homepg-title{ font-size:clamp(30px, 6vw, 48px) }
}

/* SEKCJE (head) – ujednolicone */
.homepg-section{margin:24px auto}
.homepg-head{text-align:center}
.homepg-head h2{
  margin:.1rem auto .2rem;
  font-family:"Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600; font-size:26px; color:#1b1f29;
  padding-bottom:20px;
}
.homepg-head .muted{
  display:block; margin:.1rem auto 0; text-align:center; max-width:720px;
  color:#5a6375;
}

/* INTRO */
.homepg-intro{background:var(--bg);padding:40px 0}
.homepg-intro__wrap{max-width:900px;margin:0 auto;text-align:center}
.homepg-intro__wrap h2{
  margin:.1rem 0 .4rem;
  font-family:"Outfit", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:600; letter-spacing:.2px;
  font-size:26px; color:#1b1f29;
}
.homepg-intro__wrap p{margin:0; max-width:800px; color:#3b3f48; font-size:15.5px; line-height:1.7}

/* USP */
.homepg-usp{background:#f9fafc;padding:60px 0}
.homepg-usp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-top:30px}
.homepg-usp .hv-card{background:#fff;border-radius:12px;padding:24px;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,0.06);transition:transform .25s ease, box-shadow .25s ease}
.homepg-usp .hv-card:hover{transform:translateY(-6px);box-shadow:0 6px 18px rgba(0,0,0,0.1)}
.homepg-usp-ico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;background:#f2f5f9;margin-bottom:14px}
.homepg-usp-ico svg{width:30px;height:30px;display:block}
.homepg-usp h3{font-size:18px;font-weight:600;margin-bottom:10px;color:#1b1f29}
.homepg-usp p{font-size:15px;line-height:1.5;color:#5a6375;margin:0}

/* Bulleted list (Intro) */
.homepg-bullets{margin:18px 0 20px;padding:0;list-style:none;display:grid;grid-template-columns:1fr;gap:10px 18px}
@media (min-width:768px){ .homepg-bullets{grid-template-columns:1fr 1fr} }
.homepg-bullets li{position:relative;padding:10px 12px 10px 44px;background:#fff;border:1px solid var(--hv-line);border-radius:12px;color:var(--text);line-height:1.5;box-shadow:0 4px 10px rgba(0,0,0,.04)}
.homepg-bullets li::before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:var(--brand);box-shadow:0 1px 0 rgba(0,0,0,.05) inset}
.homepg-bullets li::after{content:"✓";position:absolute;left:12px;top:50%;transform:translate(5px,-52%);font-size:14px;font-weight:800;color:#fff}

/* APARTAMENTY */
.homepg-apts{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){ .homepg-apts{grid-template-columns:1fr} }
.homepg-apt{padding:0;overflow:hidden}
.homepg-photo{position:relative;display:block;border-radius:14px 14px 0 0;overflow:hidden;aspect-ratio:16/10}
@supports not (aspect-ratio:16/10){ .homepg-photo{height:clamp(200px,30vw,280px)} }
.homepg-photo img{width:100%;height:100%;object-fit:cover;display:block}
.homepg-badge{
  position:absolute;left:14px;top:14px;background:rgba(17,17,17,.82);color:#fff;
  padding:8px 12px;border-radius:999px;font-weight:600;font-size:12.5px;display:inline-flex;align-items:center;gap:8px
}
.homepg-apt__body{padding:14px}
.homepg-apt__title{margin:0 0 6px;font-size:20px;color:#111217;font-weight:600}
.homepg-amen{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin-top:10px}
.homepg-price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.homepg-price strong{color:var(--hv-accent);font-weight:600}

/* ATRAKCJE */
/* --- ATRAKCJE: dwie szerokie karty obok siebie --- */
.homepg-attr{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* domyślnie pełna szerokość (mobile-first) */
.homepg-attr__item{ grid-column: span 12; }

/* na ≥992px każda „wide” zajmuje 6/12 kolumn -> 2 kolumny */
@media (min-width: 992px){
  .homepg-attr__item--wide{ grid-column: span 6; }
}

/* upewnij się, że karta wypełnia całą wysokość komórki */
.hv-card.homepg-attr__item,
.hv-card.homepg-attr__item--wide{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* linkowana karta też na pełną szerokość/wysokość */
.homepg-attr__link{
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* obrazek ma równy kadr (16:9), nie „rozpycha” karty */
.homepg-photo.homepg-photo--card{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.homepg-photo.homepg-photo--card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.homepg-attr__body{padding:14px}
.homepg-attr__body h3{margin:0 0 6px;font-size:17px;font-weight:600}
.homepg-attr__body p{margin:0 0 10px;color:#444}
.homepg-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

/* WEEKENDOWE PROPOZYCJE */
.weekend-deals{padding:28px 0}
.weekend-grid{display:grid;gap:18px}
@media(min-width:700px){ .weekend-grid{grid-template-columns:repeat(2,1fr)} }
.deal-card{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff;display:flex;gap:0}
.deal-left{width:28%;max-width:260px;min-width:160px}
.deal-left figure{margin:0;width:100%;aspect-ratio:4/3;overflow:hidden}
.deal-left img{width:100%;height:100%;object-fit:cover;display:block}
.deal-right{flex:1;display:flex;flex-direction:column;padding:12px 14px;gap:8px}
.deal-title{font-weight:700;font-size:1rem;line-height:1.25}
.deal-options{display:grid;gap:10px}
.deal-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border:1px solid #eef0f3;border-radius:10px;padding:8px 10px}
.deal-row .meta{color:#6b7280;font-size:.92rem}
.deal-row .price{font-weight:700}
.deal-row form .hv-btn{white-space:nowrap}
@media(max-width:680px){
  .deal-card{flex-direction:column}
  .deal-left{width:100%;max-width:none}
  .deal-row{grid-template-columns:1fr}
  .deal-row form .hv-btn{width:100%}
}

/* =============== TESTIMONIALS / OPINIE =============== */
.homepg-testimonials{ background:#fff; padding:60px 0; }
.testi-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  margin-top:26px;
}
@media (min-width:768px){ .testi-grid{ grid-template-columns:repeat(3,1fr); } }

.testi-card{
  padding:20px 18px;
  border-radius:14px;
  border:1px solid #eef2f7;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  background:#fff;
}

.testi-top{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}

.testi-avatar{
  width:42px; height:42px; border-radius:50%;
  background:linear-gradient(135deg,#2a6ebb,#003580);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:14px;
}

.testi-meta{ display:flex; flex-direction:column; text-align:left; }
.testi-name{ font-weight:600; color:#1b1f29; line-height:1.2; }
.testi-date{ font-size:12px; color:#5a6375; }

/* Gwiazdki – kompatybilne z stars_markup() */
.testi-stars{ display:flex; align-items:center; gap:2px; }
.testi-stars .star{ font-size:15px; line-height:1; display:inline-flex; }
.testi-stars .star.full{ color:#f5a623; }   /* złoty */
testi-stars .star.half{ color:#f5a623; }   /* jeśli generujesz pół */
.testi-stars .star.empty{ color:#cfd6e3; }  /* jasny */
.testi-stars .star-score{ margin-left:6px; font-size:12px; color:#5a6375; }

/* Treść */
.testi-text{
  margin:6px 0 2px;
  color:#1b1f29;
  line-height:1.6;
}
.testi-text:before{ content:"“"; color:#cfd6e3; font-size:20px; margin-right:4px; }
.testi-text:after{ content:"”"; color:#cfd6e3; font-size:20px; margin-left:2px; }

/* ===== Layout siatki ===== */
.prop-wrap { padding: 16px 0 40px; }
.prop-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.prop-col  { grid-column: span 6; }
@media (max-width: 991px){ .prop-col{ grid-column: span 12; } }

/* ===== Karta ===== */
.prop-card.hv-card{ display:flex; flex-direction:column; height:100%; overflow:hidden; }

/* ===== Foto ===== */
.prop-photo{ position:relative; display:block; border-radius:14px; overflow:hidden; }
.prop-photo img{ width:100%; height: clamp(200px, 28vw, 260px); object-fit:cover; object-position:center; display:block; }

/* ===== Overlay tytułu ===== */
.prop-title-overlay{
  position:absolute; inset:auto 0 auto 0; top:0; z-index:2;
  display:flex; align-items:flex-start; justify-content:space-between; gap:8px;
  padding:10px 12px;
  background:linear-gradient(180deg, rgba(17,24,39,.85), rgba(17,24,39,.35) 70%, transparent);
  color:#fff;
}
.prop-title-overlay h3{
  margin:0; font-size:1.06rem; font-weight:800; letter-spacing:.2px;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.prop-badge{
  margin-left:auto;
  background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.22);
  padding:.25rem .55rem; border-radius:10px; font-weight:700; font-size:.8rem; white-space:nowrap;
}

/* ===== Body ===== */
.prop-body{ display:flex; flex-direction:column; gap:8px; padding:10px 2px 2px; }
.prop-desc{ color:#667085; margin:0; }

/* ===== Metryki ===== */
.homepg-amen{ display:flex; flex-wrap:wrap; gap:.5rem 12px; margin:0; padding:0; }
.homepg-amen li{ list-style:none; color:#98A2B3; }

/* ===== Stopka ===== */
.prop-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.prop-price{ display:flex; align-items:center; gap:.35rem; font-size:1rem; font-weight:800; }
.muted{ color:#98A2B3; }

/* ===== CTA ===== */
.hv-btn.prop-cta{
  border:0; border-radius:12px; padding:.6rem .95rem; font-weight:800;
  background:linear-gradient(180deg,#2a6ebb,#1f5aa6); color:#fff !important;
  box-shadow:0 6px 16px rgba(42,110,187,.22); text-decoration:none;
}
.hv-btn.prop-cta:hover{ filter:brightness(.98); }

/* ===== Debug ===== */
.dbg{ font:12px/1.25 ui-monospace,monospace; background:#111; color:#eee; padding:6px 8px; border-radius:6px; }

/* Drobne poprawki responsywne */
@media (max-width:560px){
  .testi-card{ padding:18px 16px; }
  .testi-avatar{ width:40px; height:40px; font-size:13px; }
}