/* ====== ABOUT US ====== */
#aboutus {
  background-color: #f2f2f2;
  padding: 6rem 2rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
}

.about-text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 2;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-text.light {
  font-weight: 300;
  color: #666;
  font-style: italic;
}

/* ====== FAQ ====== */
#faq {
  background-color: #111111;
  background-image: url(photo/tło.svg);
  background-size: 100%;
  background-position: left 50%;
  padding: 6rem 2rem;
}

.faq-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-item {
  max-width: 750px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(204, 51, 79, 0.25);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item:hover {
  border-color: rgba(204, 51, 79, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item.open {
  border-color: #cc334f;
  background: rgba(204, 51, 79, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
}

.faq-question p {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 600;
  color: white;
  flex: 1;
  margin-right: 1rem;
  line-height: 1.5;
}

.faq-icon {
  font-size: 1.5rem;
  color: #cc334f;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  width: 24px;
  text-align: center;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.8rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.8rem 1.5rem;
}

.faq-answer p {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.faq-answer ul {
  list-style: none;
  padding-top: 0.8rem;
}

.faq-answer ul li {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.6;
}

.faq-answer ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #cc334f;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ====== FOOTER ====== */
footer {
  background-color: #111111;
  border-top: 2px solid rgba(204, 51, 79, 0.4);
  padding: 2.5rem 2rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-link:hover {
  color: #cc334f;
}

.footer-icon {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  width: auto !important;
  padding: 0 !important;
  display: inline-block !important;
}

/* Scroll arrow */
.footer-arrow {
  display: flex;
  justify-content: center;
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(180deg);
  cursor: pointer;
  padding: 0.5rem;
}

.arrow span {
  display: block;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  border-right: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  margin: -3px;
  animation: arrowBounce 2s infinite;
}

.arrow:hover span {
  border-color: #cc334f;
}

.arrow span:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrowBounce {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-8px, -8px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(8px, 8px);
  }
}

.footer-brand img {
  height: 50px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.footer-brand img:hover {
  opacity: 0.8;
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  #aboutus {
    padding: 4rem 1.5rem;
  }

  #faq {
    padding: 4rem 1.2rem;
  }

  .faq-question {
    padding: 1.2rem 1.2rem;
  }

  .faq-answer {
    padding: 0 1.2rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 1.2rem 1.2rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-link {
    justify-content: center;
  }

  .footer-brand img {
    height: 40px;
  }
}
