/* =========================================
   STYLE DEDYKOWANE DLA PODSTRONY: KONTAKT
   Rozszerzają style bazowe (style4.css)
   ========================================= */

/* --- HERO --- */
.contact-hero {
  position: relative;
  background-color: var(--color-dark);
  background-image: linear-gradient(rgba(47, 63, 73, 0.9), rgba(47, 63, 73, 0.8)), url('../img/solutions/wolnostojace.webp');
  background-size: cover;
  background-position: center;
  padding: 160px 0 80px;
  color: #fff;
  text-align: center;
}

.contact-hero__content { max-width: 800px; margin: 0 auto; }
.contact-hero__title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; line-height: 1.1; }
.contact-hero__desc { font-size: 1.2rem; line-height: 1.6; opacity: 0.9; font-weight: 300; }

/* --- TŁO SEKCJI (LEWA #49616E / PRAWA BIAŁA) --- */
.contact-main {
  background: linear-gradient(90deg, #49616E 0%, #49616E 50%, #ffffff 50%, #ffffff 100%);
}

/* --- CONTACT GRID --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

/* --- WSPÓLNE NAGŁÓWKI PANELI --- */
.contact-panel-title {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  margin-bottom: 2rem;
  line-height: 1.2;
  text-align: left;
}

/* --- LEWA KOLUMNA: INFO --- */
.contact-info {
  background: transparent;
  padding: 4rem 3rem;
  border: 0;
  border-radius: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,0.92);
}

.contact-info .contact-panel-title {
  color: #ffffff;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-block .icon {
  color: #ffffff;
  font-size: 2rem;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}

.info-block h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.info-block p {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

.info-block a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.info-block a:hover {
  text-decoration: underline;
}

/* --- Separator: krótka kreska pod nagłówkiem "Dane rejestrowe" --- */
.separator {
  height: 0;
  background: transparent;
  margin: 1.75rem 0 1.25rem;
  margin-top: auto;
  align-self: flex-start;
  width: fit-content;
}

.reg-data h4 {
  position: relative;
  font-size: 1rem;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  display: inline-block;
  padding-top: 0;
}

.reg-data h4::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 0.65rem;
  background: rgba(255,255,255,0.28);
}

.reg-data p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.court-info {
  margin-top: 1rem;
  font-size: 0.85rem !important;
  font-style: italic;
  color: rgba(255,255,255,0.75) !important;
}

/* --- PRAWA KOLUMNA: FORMULARZ --- */
.contact-form-wrapper {
  background: transparent;
  padding: 4rem 3rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-wrapper .contact-panel-title {
  color: var(--color-text-heading);
}

.b2b-form .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.b2b-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
}

.b2b-form input,
.b2b-form textarea {
  padding: 0.9rem;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.b2b-form input:focus,
.b2b-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(235,101,48,0.1);
  background: #fff;
}

/* Stylizacja input file */
.file-input {
  display: none;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: #f1f5f9;
  border: 1px dashed #cbd5e0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  color: #4a5568;
  transition: all 0.2s;
  width: 100%;
}

.file-label:hover {
  background: #e2e8f0;
  border-color: #a0aec0;
}

.file-name {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: 5px;
}

/* Checkbox */
.checkbox-group {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.8rem;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.4;
}

/* --- MAPA --- */
.contact-map {
  margin-top: 0;
  padding-bottom: 0;
}

.contact-map iframe {
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.contact-map iframe:hover {
  filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-main { background: #ffffff; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-hero__title { font-size: 2.5rem; }

  .contact-info {
    background: #49616E;
    padding: 2.5rem 1.5rem;
    height: auto;
  }

  .contact-form-wrapper {
    padding: 2.5rem 1.5rem;
    height: auto;
  }
}

@media (max-width: 576px) {
  .form-group-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrapper { padding: 1.5rem; }
  .contact-info { padding: 1.5rem; }
}

/* Crafted with ❤️ by PixelShark.eu */
