/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.hero {
  background-image: url('images/kupujemy.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: scroll; /* zamiast fixed */
  color: white;
  padding: 80px 20px;
  text-align: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.hero .container {
  max-width: 600px; /* zmiana z 50% na konkretne px */
  width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

#ctaBtn, button {
  background-color: #ffb703;
  border: none;
  padding: 15px 30px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
}

.features {
  list-style: none;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.features li {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  gap: 10px;
}

.features li i { color: #ffb703; }

.popup {
  background: #ffb703;
  color: #003366;
  padding: 15px;
  line-height: 1.5;
  border-radius: 5px;
  font-size: 0.95em;
  display: none;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  overflow-y: auto; /* przewijanie */
}

/* Desktop */
@media screen and (min-width: 769px) {
  .popup {
    position: absolute;
    max-height: none; /* pełna treść */
  }
}

/* Mobile: popup przewijalny */
@media screen and (max-width: 768px) {
  .popup {
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90%;
    max-height: 80vh;  /* maksymalnie 80% wysokości ekranu */
    overflow-y: scroll; /* przewijanie zawsze widoczne */
    padding: 15px;
  }
}

.popup ul {
  padding-left: 20px;
  margin: 10px 0;
}
.popup li {
  margin-bottom: 5px;
}

/* Responsywność na mniejszych ekranach */
@media screen and (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    padding: 60px 15px;
  }

  .hero .container {
    max-width: 100%;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }
}

  h1 {
    font-size: 1.8em;
  }

  p {
    font-size: 1.1em;
  }

  .features li {
    font-size: 0.9em;
  }
}
/* Sekcja: Jak wygląda współpraca */
.how-it-works {
  background: #f6f9fc;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.steps {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  text-align: center;
}

.step {
  max-width: 200px;
}

.step i {
  color: #ffb703;
}

.step h3 {
  margin: 10px 0;
  font-size: 1.2em;
  color: #063970;
}

.step p {
  font-size: 1em;
  color: #333;
}

/* Sekcja: Opinie klientów */
.testimonial {
  max-width: 400px;
  background: rgba(255, 255, 255, 0.9);  /* Przezroczystość */
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);  /* Rozmycie za tłem */
}

.testimonial .quote-icon {
  font-size: 3em;
  color: #ffb703;
  position: absolute;
  top: -10px;
  left: 10px;
}

.testimonial p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 10px;
}

.testimonial .author {
  font-size: 1em;
  color: #063970;
  font-weight: bold;
}

.testimonials-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Formularz kontaktowy */
.contact-form {
  background: #69c5ff;
  color: #fff;
  padding: 50px 20px;
  border-radius: 10px;
}

.contact-form h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 300px;
  text-align: center;
  padding: 40px;
}

.ikona-konsultant {
  font-size: 60px;
  color: #fff;
  background: linear-gradient(145deg, #ffca3a, #ffb703);
  padding: 30px;
  border-radius: 50%;
  box-shadow: 
    4px 4px 10px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.4);
  display: inline-block;
}


.contact-info h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #ffb703;
}

.phone-number {
  font-size: 1.7em;
  font-weight: bold;
  color: #fff;
}

form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

form input,
form textarea {
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  background-color: #ffb703;
  padding: 15px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: #000;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #e0a800;
}


/* Responsywność */
@media screen and (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .testimonials-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .testimonial {
    max-width: 100%;
  }

  .contact-form form {
    width: 90%;
  }
}

.dlaczego-my {
  background-color: rgba(79, 104, 120, 0.5);
  color: white;
  padding: 40px 20px;
  max-width: 600px;
  margin: 40px auto;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.dlaczego-my h2 {
  margin-bottom: 20px;
  font-size: 2em;
}

.dlaczego-my p {
  font-size: 1.2em;
  line-height: 1.5;
}

.ikonka-zapytania {
  color: #ffb703; /* złoty kolor */
  margin-left: 8px; /* odstęp od tekstu */
  font-size: 1.2em; /* rozmiar ikony */
  vertical-align: middle; /* wyrównanie do środka w linii */
}

.faq {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem 2.5rem;
  background-color: #e6f0ff; /* bardzo jasny błękit */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  color: #003366; /* ciemny niebieski tekst */
  text-align: center;
}

.faq h2 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #002244;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #b3c7ff;
  padding-bottom: 0.75rem;
  text-align: left; /* pytania i odpowiedzi wyrównane do lewej */
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  font-size: 1.15rem;
  font-weight: bold;
  color: #0056b3;
  cursor: pointer;
  padding: 0.75rem 0;
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #003d80;
}

.faq-answer {
  display: none;
  padding-left: 1rem;
  color: #004080;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 300px;
  min-width: 280px;
  text-align: center;
}

form {
  flex: 1 1 400px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.form-section input,
.form-section select,
.form-section textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

button[type="submit"] {
  background-color: #ffb703;
  border: none;
  padding: 15px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  color: #000;
}

@media screen and (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }
}
.logo-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 20px auto;
}

/* Poświata */
.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 275px;     /* rozmiar poświaty */
  height: 275px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;       /* pod logo */
}

.site-logo {
  display: block;
  max-width: 88%;
  height: auto;
  position: relative;
  z-index: 1;       /* nad poświatą */
  margin: 0 auto;
}

/* Mobilnie */
@media (max-width: 768px) {
  .logo-glow {
    width: 150px;
    height: 150px;
    filter: blur(25px);
  }

  .site-logo {
    max-width: 60%;
  }
}

/* Zapobiega przesuwaniu w bok na telefonie */
html, body {
  overflow-x: hidden;
}


/* Wycentrowanie i odstęp radio na wszystkich ekranach */
.radio-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

/* Mobilne dopasowanie */
@media screen and (max-width: 768px) {
  .radio-group {
    flex-direction: column;  /* radio jedno pod drugim */
    gap: 15px;
    width: 100%;
    align-items: center;     /* centrowanie w poziomie */
  }

  .custom-radio {
    font-size: 1.2em;       /* większy tekst na telefonie */
  }
}

.custom-radio {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 1em;
  user-select: none;
  color: #003366;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-btn {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #ffb703;
  border-radius: 50%;
  transition: 0.3s;
}

.custom-radio input:checked ~ .radio-btn {
  background-color: #ffb703;
  border-color: #ffb703;
}

.radio-btn::after {
  content: "";
  position: absolute;
  display: none;
}

.custom-radio input:checked ~ .radio-btn::after {
  display: block;
}

.custom-radio .radio-btn::after {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
}
#klaro {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
}
.info-warning {
  margin: 22px 0;
  padding: 18px 20px;
  background: #fffaf0; /* bardzo jasny krem / warstwa */
  color: #1f2937;
  font-size: 1em;
  line-height: 1.6;
  border-radius: 10px;

  /* efekt warstwy */
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  position: relative;
}

/* cienka linia akcentu */
.info-warning::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffb703, #ffd166);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* nagłówek */
.info-warning strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05em;
  color: #7c2d12;
}

/* akcent na „kula u nogi” */
.info-warning em {
  font-style: normal;
  font-weight: 700;
  color: #92400e;
  background: rgba(255, 183, 3, 0.25);
  padding: 3px 6px;
  border-radius: 4px;
}
/* ---- BONUS BOX ---- */
.bonus-highlight {
  background: linear-gradient(145deg, #fff9e6, #fff3cc);
  border: 2px solid #ffb703;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.bonus-box { margin: 20px 0 10px; }

.bonus-label {
  display: block;
  font-weight: 600;
  color: #92400e;
  font-size: 1.2em;
  text-transform: uppercase;
}

.bonus-amount {
  display: block;
  font-size: 2.8em;
  font-weight: 900;
  color: #ffb703;
  margin-top: 5px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.bonus-subtext {
  font-size: 1.1em;
  color: #1f2937;
  margin-bottom: 15px;
}

.bonus-highlight .phone-number {
  display: inline-block;
  font-size: 1.8em;
  font-weight: bold;
  background: #ffb703;
  color: #003366;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.bonus-highlight .phone-number:hover {
  background: #e0a800;
  color: #000;
  transform: scale(1.05);
}

/* Mobile */
@media screen and (max-width: 768px) {
  .bonus-highlight {
    background: linear-gradient(145deg, #fff9e6, #fff3cc);
    border: 2px solid #ffb703;
    border-radius: 15px;
    padding: 25px 15px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  .bonus-box .bonus-label {
    font-size: 1.2em;
  }

  .bonus-box .bonus-amount {
    font-size: 2.5em;
  }

  .bonus-subtext {
    font-size: 1em;
  }

  .bonus-highlight .phone-number {
    font-size: 1.8em;
    padding: 12px 20px;
  }
}
/* Mobile: naprawa numeru telefonu w bonusie */
@media screen and (max-width: 768px) {
  .bonus-highlight .phone-number {
    display: inline-block !important;
    font-size: 1.8em !important;
    font-weight: bold !important;
    background: #ffb703 !important;
    color: #003366 !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
  }
}
@media screen and (max-width: 768px) {
  .contact-content {
    flex-direction: column; /* kolumny jedna pod drugą */
    align-items: center;    /* wycentrowanie */
    gap: 20px;              /* mniejszy odstęp */
  }

  .contact-info {
    flex: 1 1 100%;         /* zajmuje całą szerokość */
    max-width: 400px;       /* opcjonalnie ograniczenie */
    min-width: 280px;       /* żeby bonus-box się nie spłaszczył */
    text-align: center;     /* centrowanie treści */
  }

  .bonus-highlight {
    width: 100%;            /* dostosowanie szerokości */
    max-width: 400px;
    margin: 0 auto 20px;
    padding: 25px 15px;
  }

  .bonus-highlight .phone-number {
    font-size: 1.8em;
    padding: 12px 20px;
  }
}
.kw-field {
  margin-bottom: 20px;
}

.kw-input-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.kw-input-wrapper input {
  width: 70px; /* dopasuj szerokość do zawartości */
  text-align: center;
  padding: 8px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.kw-input-wrapper span {
  font-weight: bold;
  font-size: 1.2em;
}
