/* ============================================================
   FOOTER — Włastal 2026
   Architektura: fct (cta strip) | fb (body) | fbo (offices) | footer-bottom
   ============================================================ */

.site-footer {
  position: relative;
  background: var(--black);
  color: rgba(255,255,255,0.7);
  font-family: var(--sans);
  overflow: hidden;
}

/* Watermark dekoracyjny */
.fw {
  position: absolute;
  right: -60px;
  bottom: 80px;
  font-family: var(--serif);
  font-size: 320px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.fct {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fct::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--yellow);
}
.fct-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 54px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.fct-eye {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fct-eye::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--yellow);
  flex-shrink: 0;
}
.fct-h {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
}
.fct-h span { color: var(--yellow); }
.fct-sub {
  color: rgba(255,255,255,0.46);
  font-size: 14px;
  line-height: 1.7;
}
.fct-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.fct-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fct-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: white;
  padding: 16px 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: border-color 0.22s, background 0.22s;
  white-space: nowrap;
}
.fct-phone:hover {
  border-color: var(--yellow);
  background: rgba(254,240,19,0.04);
}
.fct-phone svg { color: var(--yellow); flex-shrink: 0; }
.fct-phone span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.fct-phone strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

/* ============================================================
   BODY — brand + nav
   ============================================================ */
.fb {
  position: relative;
  z-index: 2;
}
.fb-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 64px 28px 52px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(480px, 1.9fr);
  gap: 72px;
  align-items: start;
}

/* — Brand — */
.fb-brand {}

.fb-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.fb-logo img { width: 76px; height: 76px; object-fit: contain; }
.fb-logo-fb {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 30px; font-weight: 900;
  flex-shrink: 0;
}
.fb-logo-txt {
  color: white;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}
.fb-logo-txt small {
  display: block;
  margin-top: 7px;
  color: var(--yellow);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fb-desc {
  color: rgba(255,255,255,0.46);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 26px;
  max-width: 300px;
}

/* Stats */
.fb-stats {
  display: flex;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.fb-stats div {
  flex: 1;
  padding: 14px 10px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.fb-stats div:last-child { border-right: none; }
.fb-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.fb-stats span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}


/* Social */
.fb-social { display: flex; gap: 8px; }
.fb-soc {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.2s;
}
.fb-soc:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

/* — Nawigacja — */
.fb-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding-top: 6px;
}
.fb-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
  padding-bottom: 14px;
  position: relative;
}
.fb-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.fb-col h4::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 1px;
  background: var(--yellow);
  z-index: 1;
}
.fb-col ul { display: flex; flex-direction: column; gap: 9px; }
.fb-col a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.18s, padding-left 0.2s;
  display: block;
  padding-left: 0;
  position: relative;
}
.fb-col a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--yellow);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.fb-col a:hover {
  color: white;
  padding-left: 14px;
}
.fb-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* — Separator — */
.fb-sep {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px;
}
.fb-sep-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 44px;
}
.fb-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.12));
}
.fb-sep-line-r {
  background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.12));
}
.fb-sep-inner > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
}

/* ============================================================
   ODDZIAŁY
   ============================================================ */
.fbo {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px 60px;
}
.fbo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}

/* Card */
.fbo-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--black);
  overflow: hidden;
  transition: background 0.28s;
  border-top: 2px solid rgba(255,255,255,0.1);
}
.fbo-card:hover { background: #18191f; }
.fbo-main {
  border-top-color: var(--yellow);
}
.fbo-main:hover { background: #16171c; }

/* Wielka cyfra w tle */
.fbo-bg-num {
  position: absolute;
  right: -14px;
  bottom: -30px;
  font-family: var(--serif);
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  transition: color 0.28s;
}
.fbo-card:hover .fbo-bg-num { color: rgba(255,255,255,0.042); }

/* Badge */
.fbo-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 3px 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.4);
}
.fbo-badge-main {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* Miasto */
.fbo-city {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Adres */
.fbo-card address {
  font-style: normal;
  color: rgba(255,255,255,0.46);
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Telefony i e-mail */
.fbo-tel {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fbo-tel a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: color 0.18s;
}
.fbo-tel a:hover { color: white; }
.fbo-tel em {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
  min-width: 48px;
  flex-shrink: 0;
}
.fbo-main .fbo-tel a { color: rgba(254,240,19,0.72); }
.fbo-main .fbo-tel a:hover { color: var(--yellow); }

/* Godziny */
.fbo-hours { margin-bottom: 20px; }
.fbo-hours-lbl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.24);
  margin-bottom: 9px;
}
.fbo-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fbo-hours-row:last-child { border-bottom: none; }
.fbo-hours-row span {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
}
.fbo-hours-row strong {
  font-size: 13px;
  font-weight: 600;
  color: white;
}
.fbo-closed span { color: rgba(255,255,255,0.24) !important; font-size: 12px !important; }

/* Link mapy */
.fbo-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.fbo-map:hover { color: var(--yellow); }

/* ============================================================
   BOTTOM BAR
   ============================================================ */
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.25);
}
.footer-bottom-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.3);
  font-size: 11.5px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.34);
  text-decoration: none;
  transition: color 0.16s;
}
.footer-bottom-links a:hover { color: var(--yellow); }
.footer-credit { color: rgba(255,255,255,0.2); font-size: 11px; }
.footer-credit a { color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.16s; }
.footer-credit a:hover { color: var(--yellow); }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 1180px) {
  .fct-inner { grid-template-columns: 1fr; gap: 32px; }
  .fct-right { justify-content: flex-start; flex-wrap: wrap; }
  .fb-inner { grid-template-columns: 1fr; gap: 44px; }
  .fb-nav { grid-template-columns: repeat(3, 1fr); }
  .fbo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .fbo-grid { grid-template-columns: 1fr 1fr; }
  .fb-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .fct-right { flex-direction: column; align-items: stretch; }
  .fct-phone { justify-content: flex-start; }
  .fb-nav { grid-template-columns: 1fr 1fr; }
  .fbo-grid { grid-template-columns: 1fr; }
  .fb-desc { max-width: 100%; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .fw { font-size: 180px; right: -30px; bottom: 40px; }
}
