/* =========================================================
   01-BASE.CSS
   Globalne style – bez sekcji HERO
   ========================================================= */

/* RESET */
*{
  box-sizing: border-box;
}

html,body{
  height: 100%;
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.35;
}

img{
  max-width:100%;
  display:block;
}

.no-scroll{
  overflow:hidden;
}

/* TYPO */
.sectionTitle{
  margin:0 0 8px;
  letter-spacing:.2px;
}

.sectionDesc{
  margin:0;
  color:var(--muted);
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .15s ease;
}

.btn--primary{
  background: var(--brand);
  color:#fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}

.btn--primary:hover{
  filter:brightness(.98);
}

.btn--ghost{
  background: rgba(255,255,255,.75);
  border-color: rgba(0,0,0,.1);
}

.btn--ghost:hover{
  background: rgba(255,255,255,.9);
}


/* =========================================================
   TOPBAR – FIX (sticky, clean links, mobile safe)
   ========================================================= */

.topbar{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* inner row */
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  min-height: 44px; /* tap-safe */
}

/* reset linków (koniec fioletu / underline / visited) */
.topbar a,
.topbar a:visited{
  color: var(--ink);
  text-decoration: none;
}

/* brand: 2 linie, bez rozwalania paska */
.topbar__brand{
  display: flex;
  flex-direction: column;   /* KLUCZ: druga linia pod spodem */
  align-items: flex-start;
  gap: 2px;

  font-weight: 800;
  line-height: 1.1;

  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.topbar__brand strong{
  font-size: 15px;
  letter-spacing: .3px;
}

.topbar__brand span{
  font-size: 12px;
  font-weight: 500;
  opacity: .75;
}

/* CTA pill */
.topbar__cta{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  white-space: nowrap;
}

.topbar__cta:hover{ filter: brightness(.98); }
.topbar__cta:active{ transform: translateY(1px); }

/* mobile: jak jest mega ciasno, zmniejszamy brand */
@media (max-width: 420px){
  .topbar__brand strong{ font-size: 13px; }
  .topbar__brand span{ font-size: 11px; }
  .topbar__cta{ padding: 8px 10px; }
}



#interior{
  scroll-margin-top: 80px; /* dopasuj do wysokości topbara */
}
html{
  scroll-behavior: smooth;
}

/* ===== PREMIUM BACKGROUND ===== */

body{
  position: relative;
  min-height: 100vh;
  background: #f3f5f8; /* fallback */
  overflow-x: hidden;
}

/* Warstwa z obrazem */
body::before{
  content:"";
  position: fixed;
  inset: 0;

  background-image: url("/assets/images/living-premium.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: blur(2px);
  transform: scale(1.05); /* żeby blur nie obcinał krawędzi */

  z-index: -2;
}

/* Jasna warstwa przykrywająca */
body::after{
  content:"";
  position: fixed;
  inset: 0;

  background: rgba(255,255,255,0.75); /* reguluj 0.65–0.85 */

  z-index: -1;
}





/* 

.secHead--tag{ padding: 14px 14px 16px; }
.secHead_row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}

.secHead_title2{
  margin:0;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.secHead_tag{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.70);
  color: rgba(16,24,40,.65);
} */



/* ========================================================= */

/* ===== PREMIUM underline for drawer title (Interior/Exterior/Repairs) ===== */

.drawer__title{
  /* rozmiar: pomiędzy WHAT WE DO a tiles */
  font-size: 18px;           /* jeśli WHAT WE DO masz ~26-30, a tile label ~14 */
  font-weight: 850;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #101828;
  position: relative;
  display: inline-block;     /* ważne: underline dopasowuje się do tekstu */
  line-height: 1.1;
}

/* złote podkreślenie, mocne z lewej, wygasa do ~1/3 szerokości kontenera */
.drawer__title::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -6px;

  height: 8px;
  width: min(36vw, 240px);  /* ~1/3 okna na mobile; limit max */
  border-radius: 999px;

  /* gradient: mocno z lewej -> wygasa */
  background: linear-gradient(
    90deg,
    rgba(201,139,58,.62) 0%,
    rgba(201,139,58,.28) 45%,
    rgba(201,139,58,.00) 100%
  );

  /* delikatne “wycieniowanie” / glow */
  filter: blur(.25px);
  box-shadow:
    0 8px 18px rgba(201,139,58,.12),
    0 2px  6px rgba(201,139,58,.10);

  z-index: -1;              /* pod tekst */
  transform: translateY(1px);
}

/* desktop: trochę dłuższe podkreślenie */
@media (min-width: 900px){
  .drawer__title{
    font-size: 20px;
  }
  .drawer__title::after{
    width: min(22vw, 320px);
    height: 9px;
  }
}












/* =========================
   MOBILE: tiles -> immersive "in background" list
   (no HTML changes)
   ========================= */
@media (max-width: 720px){

  /* układ listy: jedna kolumna + małe przerwy */
  .tiles{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px; /* "papier toaletowy" */
  }

  /* kafelek staje się dużym, szerokim pasem */
  .tile{
    position: relative;
    min-height: 120px;
    border-radius: 18px;
    overflow: hidden;

    /* zdjęcie jako tło już masz inline, więc tylko dopracowanie */
    background-size: cover;
    background-position: center;

    /* mniej "ramki", bardziej premium */
    border: 1px solid rgba(16,24,40,.10);
    box-shadow: 0 14px 34px rgba(16,24,40,.18);
    padding: 14px 14px;
  }

  /* przyciemnienie + "wtopienie" zdjęcia */
  .tile::before{
    content:"";
    position:absolute; inset:0;
    background:
      linear-gradient(90deg,
        rgba(255,255,255,.92) 0%,
        rgba(255,255,255,.55) 48%,
        rgba(255,255,255,.15) 72%,
        rgba(255,255,255,0) 100%);
    pointer-events:none;
  }

  /* tytuł (Twoje .tile__label) wyciągamy na wierzch */
  .tile__label{
    position: relative;
    z-index: 2;
    display: block;
    font-weight: 900;
    color: #0b2440;
    font-size: 16px;
    letter-spacing: -0.01em;
  }

  /* opis bierzemy z data-desc (bez zmian w HTML) */
  .tile::after{
    content: attr(data-desc);
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 6px;
    max-width: 34ch;

    color: rgba(16,24,40,.72);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
  }

  /* hover nie ma sensu na mobile — ale możemy dać delikatny active */
  .tile:active{
    transform: translateY(1px);
  }
}






/* =========================
   GALLERY SECTION (cards)
   ========================= */
.workGallery{ padding: 26px 0 54px; }
.wgHead{ margin-bottom: 14px; }
.wgTitle{ margin:0 0 6px; font-weight: 950; letter-spacing:-.02em; }
.wgDesc{ margin:0; opacity:.75; }

.wgGrid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.wgCard{
  grid-column: span 4;
  border-radius: 18px;
  border: 1px solid rgba(16,24,40,.12);
  background: rgba(255,255,255,.75);
  box-shadow: 0 18px 60px rgba(16,24,40,.10);
  padding: 14px;
  cursor:pointer;
  transition: transform .15s ease;
}
.wgCard:hover{ transform: translateY(-2px); }

.wgCardTop{
  display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  margin-bottom: 10px;
}
.wgCardTop h3{ margin:0; font-weight: 950; }
.wgHint{ font-size:12px; opacity:.65; }

.wgThumbs{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wgThumb{
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(16,24,40,.10);
  min-height: 62px;
  background: #e9edf3;
  background-size: cover;
  background-position: center;
}

/* Mobile: cards one under another */
@media (max-width: 980px){
  .wgCard{ grid-column: span 12; }
  .wgThumb{ min-height: 74px; }
}

/* =========================
   GALLERY MODAL (toilet paper feed)
   ========================= */
.gmodal{
  position: fixed; inset:0;
  display:none;
  z-index: 99999;
}
.gmodal.open{ display:block; }

.gmodal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.66);
}

.gmodal__panel{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(980px, calc(100% - 18px));
  height: min(90vh, 860px);
  background: rgba(255,255,255,.98);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
}

.gmodal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top:0;
  z-index: 5;
}

.gmodal__t{ font-weight: 950; letter-spacing:-.01em; color:#0b2440; margin-bottom: 6px; }
.gmodal__nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.glink{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 850;
  font-size: 13px;
  color: rgba(11,36,64,.88);
  opacity:.82;
  cursor:pointer;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(16,24,40,.03);
}
.glink:hover{ opacity:1; }

.gmodal__close{
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.14);
  background: rgba(16,24,40,.04);
  cursor:pointer;
  font-weight: 900;
}

.gmodal__body{
  padding: 12px;
  overflow:auto;
}

/* feed */
.gGroup{ margin: 12px 0 18px; }
.gGroupTitle{
  margin: 10px 2px 10px;
  font-weight: 950;
  color:#0b2440;
}
.gFeed{
  display:flex;
  flex-direction:column;
  gap: 6px; /* "papier toaletowy" */
}

.gShot{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(16,24,40,.10);
  background:#eef1f6;
  min-height: 220px;
  position: relative;
  cursor:pointer;
}
.gShot::before{
  content:"";
  position:absolute; inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.gShot::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
}
.gCap{
  position:absolute;
  left: 12px; right: 12px; bottom: 10px;
  z-index: 2;
  color: rgba(255,255,255,.96);
  font-weight: 850;
  text-shadow: 0 10px 24px rgba(0,0,0,.45);
  font-size: 13px;
  line-height:1.25;
}










/* =========================
   GALLERY SECTION (cards)
   ========================= */
.workGallery{ padding: 26px 0 54px; }
.wgHead{ margin-bottom: 14px; }
.wgTitle{ margin:0 0 6px; font-weight: 950; letter-spacing:-.02em; }
.wgDesc{ margin:0; opacity:.75; }

.wgGrid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.wgCard{
  grid-column: span 4;
  border-radius: 18px;
  border: 1px solid rgba(16,24,40,.12);
  background: rgba(255,255,255,.75);
  box-shadow: 0 18px 60px rgba(16,24,40,.10);
  padding: 14px;
  cursor:pointer;
  transition: transform .15s ease;
}
.wgCard:hover{ transform: translateY(-2px); }

.wgCardTop{
  display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  margin-bottom: 10px;
}
.wgCardTop h3{ margin:0; font-weight: 950; }
.wgHint{ font-size:12px; opacity:.65; }

.wgThumbs{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wgThumb{
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(16,24,40,.10);
  min-height: 62px;
  background: #e9edf3;
  background-size: cover;
  background-position: center;
}

/* Mobile: cards one under another */
@media (max-width: 980px){
  .wgCard{ grid-column: span 12; }
  .wgThumb{ min-height: 74px; }
}

/* =========================
   GALLERY MODAL (toilet paper feed)
   ========================= */
.gmodal{
  position: fixed; inset:0;
  display:none;
  z-index: 99999;
}
.gmodal.open{ display:block; }

.gmodal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.66);
}

.gmodal__panel{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(980px, calc(100% - 18px));
  height: min(90vh, 860px);
  background: rgba(255,255,255,.98);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
}

.gmodal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top:0;
  z-index: 5;
}

.gmodal__t{ font-weight: 950; letter-spacing:-.01em; color:#0b2440; margin-bottom: 6px; }
.gmodal__nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.glink{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 850;
  font-size: 13px;
  color: rgba(11,36,64,.88);
  opacity:.82;
  cursor:pointer;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(16,24,40,.03);
}
.glink:hover{ opacity:1; }

.gmodal__close{
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.14);
  background: rgba(16,24,40,.04);
  cursor:pointer;
  font-weight: 900;
}

.gmodal__body{
  padding: 12px;
  overflow:auto;
}

/* feed */
.gGroup{ margin: 12px 0 18px; }
.gGroupTitle{
  margin: 10px 2px 10px;
  font-weight: 950;
  color:#0b2440;
}
.gFeed{
  display:flex;
  flex-direction:column;
  gap: 6px; /* "papier toaletowy" */
}

.gShot{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(16,24,40,.10);
  background:#eef1f6;
  min-height: 220px;
  position: relative;
  cursor:pointer;
}
.gShot::before{
  content:"";
  position:absolute; inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.gShot::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
}
.gCap{
  position:absolute;
  left: 12px; right: 12px; bottom: 10px;
  z-index: 2;
  color: rgba(255,255,255,.96);
  font-weight: 850;
  text-shadow: 0 10px 24px rgba(0,0,0,.45);
  font-size: 13px;
  line-height:1.25;
}





/* =========================
   FOOTER MOCK (3 columns like screenshot)
   Paste at END of 01-base.css
   ========================= */

.footerMock{ padding: 52px 0 58px; }
.footerMock a{ text-decoration:none; color: rgba(16,24,40,.84); }
.footerMock a:visited{ color: rgba(16,24,40,.84); }

.footerMock_wrap{
  background: transparent;           /* ma być jak w mocku (widać kuchnię) */
}

.footerMock_grid{
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: start;
  padding: 28px 0 22px;
}

.footerMock_div{
  width: 1px;
  height: 100%;
  background: rgba(16,24,40,.18);
  opacity: .45;
}

.footerMock_h{
  margin: 0 0 14px;
  font-size: 44px;
  letter-spacing: -0.03em;
}

.footerMock_p{
  margin: 0 0 18px;
  max-width: 360px;
  color: rgba(16,24,40,.70);
  line-height: 1.5;
}

.footerMock_cta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.footerMock_btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(16,24,40,.22);
  background: rgba(255,255,255,.22);    /* delikatnie, ale wciąż widać kuchnię */
  box-shadow: 0 10px 26px rgba(16,24,40,.10);
}

.footerMock_btn--accent{
  background: var(--accent, #c98b3a);
  border-color: rgba(0,0,0,.10);
  color: #fff !important;
}

.footerMock_contact{
  display: grid;
  gap: 10px;
  margin: 10px 0 14px;
}

.footerMock_social{
  display: inline-flex;
  gap: 10px;
  margin-top: 6px;
}

.footerMock_soc{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(16,24,40,.14);
  background: rgba(255,255,255,.20);
}



.footerMock_list{
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.footerMock_list a::before{
  content: "›";
  display: inline-block;
  margin-right: 10px;
  color: rgba(16,24,40,.55);
}

.footerMock_bar{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(16,24,40,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footerMock_brandName{
  font-weight: 900;
  letter-spacing: .10em;
}

.footerMock_brandTag{
  margin-top: 6px;
  color: rgba(16,24,40,.62);
  font-size: 13px;
}

.footerMock_meta{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: rgba(16,24,40,.62);
  font-size: 13px;
}

/* MOBILE: stacked */
@media (max-width: 820px){
  .footerMock_grid{
    grid-template-columns: 1fr;
    padding: 22px 0 10px;
    gap: 22px;
    text-align: left;
  }
  .footerMock_div{ display:none; }
  .footerMock_h{ font-size: 34px; }
  .footerMock_btn{ width: 100%; max-width: 360px; }
  .footerMock_cta{ flex-direction: column; align-items: flex-start; }
  .footerMock_bar{ flex-direction: column; align-items: flex-start; }
  .footerMock_meta{ justify-content: flex-start; }
}


/* ============================================================= */
/* =========================
   FOOTER SOCIAL ICONS
   ========================= */

.footerMock_social{
  display: inline-flex;
  gap: 10px;
  margin-top: 10px;
}

/* baza */
.socialLink{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(16,24,40,.10);   /* neutral (premium) */
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.socialLink:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
}

.socialIcon{
  width: 20px;
  height: 20px;
  fill: #fff; /* jeśli footer jest jasny i chcesz czarne ikonki -> zmień na #101828 */
  transition: .18s ease;
}

/* focus (klawiatura) */
.socialLink:focus-visible{
  outline: 2px solid rgba(201,139,58,.65); /* brand #c98b3a */
  outline-offset: 3px;
}

/* hover – per platforma */
.socialLink.whatsapp:hover{ background:#25D366; }
.socialLink.facebook:hover{ background:#1877F2; }
.socialLink.google:hover{ background:#c98b3a; } /* brand PRO-RE-FAB */
.socialLink.instagram:hover{
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

/* mobile – trochę mniejsze */
@media (max-width: 420px){
  .socialLink{ width: 40px; height: 40px; }
  .socialIcon{ width: 19px; height: 19px; }
}
