/* =============================================================
   KONTAKT.CSS — Arguumedia strona kontaktowa
   Zawiera: testimonial-slider, contact
   ============================================================= */

/* ── team-contacts ────────────────────────────────────────── */
.team-contacts-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.team-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.team-contact-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
}

.team-contact-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-contact-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 1rem 1rem 0.25rem;
}

.team-contact-role {
  font-size: 0.82rem;
  color: #ffffff;
  margin: 0 1rem 0.75rem;
}

.team-contact-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.team-contact-wa {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  text-decoration: none;
}

.team-contact-wa:hover {
  background: #1ebe5d;
  transform: scale(1.1);
}

.team-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1rem;
  text-align: center;
}

.team-contact-details p {
  font-size: 0.8rem;
  color: var(--color-white);
  margin: 0;
  line-height: 1.5;
}

.team-contact-details span {
  color: var(--color-white);
  font-weight: 600;
}

.team-contact-details a {
  color: var(--color-white);
  text-decoration: none;
}

.team-contact-details a:hover {
  text-decoration: underline;
}

.team-contact-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.25rem 1rem 0;
  padding: 0.65rem 1.25rem;
  background: #1a2540;
  color: #fff;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.team-contact-call-btn i {
  color: #e040a0;
  font-size: 1rem;
}

.team-contact-call-btn:hover {
  background: #243060;
  transform: scale(1.03);
}

@media (max-width: 480px) {
  .team-contacts-grid {
    gap: 0.6rem;
    padding: 0 0.75rem;
  }
  .team-contact-name {
    font-size: 0.95rem;
    margin: 0.6rem 0.5rem 0.2rem;
  }
  .team-contact-role {
    font-size: 0.72rem;
    margin: 0 0.5rem 0.5rem;
  }
  .team-contact-details p {
    font-size: 0.68rem;
  }
  .team-contact-details {
    padding: 0 0.5rem;
  }
  .team-contact-wa {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

/* ── testimonial-slider.css ───────────────────────────────── */
.kontakt-hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.kontakt-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1rem;
  color: var(--color-white);
}

.kontakt-hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-slider-section {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.testimonial-slider-heading {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
}

.testimonial-slider-viewport {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 50, 0.6),
    rgba(20, 20, 30, 0.6)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.testimonial-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--color-primary, #b30a18);
  opacity: 0.6;
}

.testimonial-text {
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--color-white);
  font-weight: 400;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 0, 0, 0.4);
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}
.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--color-text);
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.testimonial-arrow-prev {
  left: 0;
}
.testimonial-arrow-next {
  right: 0;
}

@media (hover: hover) {
  .testimonial-arrow:hover {
    background: var(--color-primary, #b30a18);
    border-color: var(--color-primary, #b30a18);
    transform: translateY(-50%) scale(1.1);
  }
}

.testimonial-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.75rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--color-primary, #b30a18);
  width: 28px;
  border-radius: 5px;
}

@media (hover: hover) {
  .testimonial-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.4);
  }
}

@media (max-width: 768px) {
  .testimonial-slider {
    padding: 0;
  }
  .testimonial-slide {
    padding: 1.75rem 1.25rem 1.5rem;
    gap: 1rem;
  }
  .testimonial-quote-icon {
    font-size: 2rem;
  }
  .testimonial-text {
    font-size: 1rem;
  }
  .testimonial-arrow {
    display: none;
  }
  .testimonial-author {
    gap: 0.75rem;
  }
  .testimonial-avatar {
    width: 44px;
    height: 44px;
  }
  .testimonial-author-name {
    font-size: 0.95rem;
  }
  .testimonial-author-role {
    font-size: 0.78rem;
  }
}

/* ── contact.css ──────────────────────────────────────────── */
.contact-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-info-item:hover,
.contact-info-item:active {
  transform: scale(1.1);
}

.contact-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.15rem;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.contact-info-item:hover .contact-icon-wrap,
.contact-info-item:active .contact-icon-wrap {
  border-color: #b30a18;
  background: #b30a18;
  color: #fff;
}

.contact-info-value {
  font-size: 1.05rem;
  color: #fff;
  word-break: break-word;
  transition: color 0.25s ease;
}

.contact-info-value a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-info-item:hover .contact-info-value,
.contact-info-item:hover .contact-info-value a,
.contact-info-item:active .contact-info-value,
.contact-info-item:active .contact-info-value a {
  color: #b30a18;
}

.contact-email-link {
  color: #fff !important;
}
.contact-info-item:hover .contact-email-link,
.contact-info-item:active .contact-email-link {
  color: #b30a18 !important;
}

.contact-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  overflow: visible;
  padding: 6px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  will-change: transform;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.25s ease;
}

.contact-social-link i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  color: #fff;
}

.contact-social-link span {
  font-size: 1.05rem;
  transition: color 0.25s ease;
}

.contact-social-link:hover,
.contact-social-link:active {
  transform: scale(1.1);
  color: #b30a18;
}

.contact-social-link:hover i,
.contact-social-link:active i {
  border-color: #b30a18;
  background: #b30a18;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(179, 10, 24, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  padding: 14px 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-fast);
  align-self: flex-start;
  cursor: pointer;
}

.form-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(179, 10, 24, 0.4);
}
.form-submit:active {
  transform: scale(0.98);
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
  display: block;
}
.form-message.error {
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
  display: block;
}

.file-upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.form-file-input {
  display: none;
}

.file-upload-label {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  min-height: 50px;
}

.file-upload-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.file-upload-label i {
  font-size: 1.2rem;
}

.file-name {
  font-size: 0.85rem;
  color: var(--color-text);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  display: none;
  word-break: break-word;
}

.file-name.active {
  display: block;
  color: var(--color-primary);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .file-upload-label {
    flex-direction: column;
    padding: 20px;
    min-height: 70px;
    font-size: 0.9rem;
  }
  .file-upload-label i {
    font-size: 1.5rem;
  }
  .file-name {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
  .form-submit {
    width: 100%;
    align-self: stretch;
  }
}
