/* ========================================= */
/* --- STYLE TYLKO DLA ZAKŁADKI KONTAKT --- */
/* ========================================= */

.kontakt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section - dopasowane do fixed headera (padding-top) */
.hero-contact {
  /* Odsunięcie od góry, żeby pasek nawigacyjny nie zasłaniał tytułu */
  padding-top: 120px;
  /* Zastąp URL prawdziwym zdjęciem z realizacji! */
  background:
    linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content-contact h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 15px;
}

.hero-content-contact p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Grid Kart Kontaktu */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: -80px; /* Wyciąga karty na zdjęcie z Hero */
  margin-bottom: 80px;
  position: relative;
  z-index: 10;
}

.contact-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  /* Używamy Twojego niebieskiego w cieniu */
  box-shadow: 0 15px 35px rgba(0, 78, 146, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 180, 219, 0.15);
}

.card-icon {
  font-size: 45px;
  margin-bottom: 20px;
}

.contact-card h3 {
  margin-bottom: 15px;
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1.3rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-link {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition, 0.3s);
}

.contact-link:hover {
  color: var(--accent-blue, #00b4db);
}

.contact-card span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  font-weight: 600;
}

/* Sekcja "W 3 krokach" */
.how-it-works {
  padding: 60px 0 100px;
}

.section-title-contact {
  text-align: center;
  margin-bottom: 70px;
}

.section-title-contact h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-navy);
  font-weight: 800;
  letter-spacing: -1px;
}

.underline-contact {
  width: 80px;
  height: 4px;
  background: var(--grad-action); /* Twój globalny gradient */
  margin: 20px auto 0;
  border-radius: 5px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
}

.step-item {
  position: relative;
  padding-top: 50px;
}

.step-num {
  font-size: 80px;
  font-weight: 800;
  color: rgba(0, 180, 219, 0.08); /* Jasny błękit w tle */
  position: absolute;
  top: -10px;
  left: 0;
  z-index: -1;
  line-height: 1;
}

.step-item h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--primary-navy);
  font-weight: 700;
}

.step-item p {
  color: #555;
  line-height: 1.7;
}

/* Sekcja z Mapą Google */
.map-section-contact {
  width: 100%;
  height: 450px;
  line-height: 0; /* Usuwa mikro-odstęp pod iframe */
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  filter: grayscale(0.2) contrast(1.1); /* Opcjonalnie: lekki filtr, żeby pasowała do stylu premium */
  transition: all 0.5s ease;
}

.map-section-contact:hover {
  filter: grayscale(0); /* Mapa odzyskuje kolory po najechaniu */
}

.map-section-contact iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsywność dla kontaktów */
@media (max-width: 768px) {
  .contact-grid {
    margin-top: 40px; /* Na telefonie blokujemy nakładanie na zdjęcie */
  }
  .hero-contact {
    padding-top: 100px;
    height: auto;
    padding-bottom: 60px;
  }
}
