/* =====================================
   SECURITY MASTERS - TECHNOLOGY FAQ
   ===================================== */

.sm-tech-faq {
  margin: 0;
  padding: 85px 0 100px;

  background: #f5f8fd;

  border-top: 1px solid #e8eef7;
  border-bottom: 1px solid #e8eef7;

  font-family: "Inter", sans-serif;
}

.sm-tech-faq .container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* =====================================
   UKLAD DWUKOLUMNOWY
   ===================================== */

.sm-tech-faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
  align-items: start;
}

/* =====================================
   LEWA KOLUMNA
   ===================================== */

.sm-tech-faq__intro h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #172b43;
}

.sm-tech-faq__intro h2 span {
  color: #0865c7;
}

.sm-tech-faq__intro > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #59677c;
}

/* =====================================
   KONTAKT
   ===================================== */

.sm-tech-faq__contact {
  margin-top: 16px;
}

.sm-tech-faq__contact > p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #59677c;
}

/* Telefon i e-mail */

.sm-tech-faq__contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 7px;
  row-gap: 4px;
  margin: 0;
}

.sm-tech-faq__contact-links a {
  color: #172b43;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.sm-tech-faq__contact-links a:hover {
  color: #0865c7;
}

.sm-tech-faq__contact-links span {
  color: #0865c7;
  font-size: 16px;
}

/* =====================================
   PRZYCISK KONTAKTOWY
   ===================================== */

.sm-tech-faq__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 12px 26px;

  background: #0b4fa8;
  color: #ffffff;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.sm-tech-faq__contact > .sm-tech-faq__button {
  margin-top: 24px;
}

.sm-tech-faq__button:hover {
  background: #083b83;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.sm-tech-faq__button:focus-visible {
  outline: 3px solid #70aaff;
  outline-offset: 3px;
}

/* =====================================
   PRAWA KOLUMNA - PYTANIA
   ===================================== */

.sm-tech-faq__questions {
  display: flex;
  flex-direction: column;
}

.sm-tech-faq__item {
  border-top: 1px solid #dce3ec;
}

.sm-tech-faq__item:last-child {
  border-bottom: 1px solid #dce3ec;
}

.sm-tech-faq__item[open] {
  border-top-color: #0865c7;
}

/* Naglowek pytania */

.sm-tech-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 22px 0;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #172b43;

  text-align: left;
  cursor: pointer;
  list-style: none;

  transition: color 0.2s ease;
}

.sm-tech-faq__item summary::-webkit-details-marker {
  display: none;
}

.sm-tech-faq__item summary::marker {
  content: "";
}

/* Ikona plus */

.sm-tech-faq__item summary::after {
  content: "+";
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  font-size: 24px;
  font-weight: 400;
  color: #0865c7;
}

/* Ikona minus */

.sm-tech-faq__item[open] summary::after {
  content: "-";
}

.sm-tech-faq__item summary:hover {
  color: #0865c7;
}

.sm-tech-faq__item summary:focus-visible {
  outline: 2px solid #0865c7;
  outline-offset: 4px;
  border-radius: 4px;
}

/* =====================================
   ODPOWIEDZI
   ===================================== */

.sm-tech-faq__answer {
  padding: 0 40px 24px 0;
}

.sm-tech-faq__answer p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #59677c;
}

/* =====================================
   TABLET
   ===================================== */

@media (max-width: 900px) {
  .sm-tech-faq {
    padding: 65px 0 85px;
  }

  .sm-tech-faq__grid {
    gap: 40px;
  }
}

/* =====================================
   MOBILE
   ===================================== */

@media (max-width: 720px) {
  .sm-tech-faq {
    padding: 55px 0 70px;
  }

  .sm-tech-faq .container {
    padding: 0 20px;
  }

  .sm-tech-faq__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .sm-tech-faq__intro h2 {
    font-size: 27px;
  }

  .sm-tech-faq__contact {
    margin-top: 14px;
  }

  .sm-tech-faq__item summary {
    font-size: 14px;
    padding: 20px 0;
  }

  .sm-tech-faq__answer {
    padding-right: 20px;
  }
}

@media (max-width: 560px) {
  .sm-tech-faq__contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .sm-tech-faq__contact-links span {
    display: none;
  }

  .sm-tech-faq__contact > .sm-tech-faq__button {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-tech-faq__button {
    transition: none;
  }

  .sm-tech-faq__button:hover {
    transform: none;
  }
}
