/* =============================================
   TELPROJMONT – Strona zastępcza
   ============================================= */

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

html, body {
  height: 100%;
  font-family: 'Outfit', sans-serif;
}

.page {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ============================
   LEFT PANEL
   ============================ */
.left-panel {
  position: relative;
  width: 52%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: url('images/bg.jpg') center center / cover no-repeat;
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  
  z-index: 1;
}

/* LOGO: top-left, absolute */
.logo-wrap {
  position: absolute;
  top: 36px;
  left: 48px;
  z-index: 3;
}

.logo {
  width: min(531px, 90%);
  height: auto;
  filter: brightness(0) invert(1);
}

/* CONTENT: vertically centered */
.content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 88px 48px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  color: #ffffff;
}

/* ---- HEADLINE BLOCK ---- */
.main-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* "STRONA W TRAKCIE BUDOWY" — Bebas Neue, gruby */
.headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.0;
  text-transform: uppercase;
  color: #ffffff;
}

/* "TELPROJMONT Sp. z o.o." — Outfit light, w tym samym bloku */
.company-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-top: 2px;
}

/* "GENERALNE WYKONAWSTWO..." — Bebas Neue */
.tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  margin-top: 14px;
}

/* ---- CONTACT GRID ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

.contact-grid a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
.contact-grid a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 2px;
  color: #ffffff;
}

/* ---- EXTRA CONTACT ---- */
.extra-contact {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.9;
  color: rgba(255,255,255,0.86);
}

.extra-contact .label {
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.note {
  color: rgba(255,255,255,0.60);
}

/* ============================
   RIGHT PANEL
   ============================ */
.right-panel {
  width: 48%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  /* Push image 100px from right edge */
  padding-right: 100px;
  background: #0f0a3c; /* match overlay colour behind padding */
}

.truck-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .page { flex-direction: column; }

  .left-panel,
  .right-panel { width: 100%; min-height: unset; }

  .left-panel { min-height: 65vh; }

  .right-panel {
    height: 50vw;
    min-height: 260px;
    padding-right: 0;
  }

  .logo-wrap { top: 28px; left: 28px; }
  .content { padding: 128px 28px 68px 28px; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-wrap { top: 22px; left: 20px; }
  .content { padding: 88px 20px 40px; gap: 20px; }
  .headline { font-size: 30px; }
  .company-name { font-size: 16px; }
  .tagline { font-size: 12px; }
}
