/* ============================================
   KONTAKT – trofejovo.sk
   Loaded only on page-kontakt.php via functions.php
   ============================================ */

/* Táto stránka nemá nastavený Astra "Page Builder" content layout
   (na rozdiel od homepage), takže #primary má predvolený margin-top:60px
   z motívu — vytváralo to prázdnu medzeru pod breadcrumbom nad hero pásom. */
#primary {
  margin-top: 0 !important;
}

.tfl-kontakt {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.tfl-kontakt *,
.tfl-kontakt *::before,
.tfl-kontakt *::after {
  box-sizing: border-box;
}

.tfl-kontakt__wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 1.25rem 56px;
}

/* ---- QUICK CONTACT CARDS ---- */
.tfl-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.tfl-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(47, 25, 110, 0.1);
  border-left: 3px solid var(--tfl-accent);
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.tfl-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(47, 25, 110, 0.15);
}

.tfl-contact-card--static {
  cursor: default;
}

.tfl-contact-card__icon {
  color: var(--tfl-primary);
  margin-bottom: 4px;
}

.tfl-contact-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--tfl-muted);
}

.tfl-contact-card__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--tfl-primary);
}

/* ---- NOTICE (len online) ---- */
.tfl-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff7e6;
  border: 1px solid #f3d9a3;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b4e00;
}

.tfl-notice__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #b8860b;
}

.tfl-notice strong {
  display: block;
  margin-bottom: 2px;
  color: #4a3600;
}

/* ---- INFO GRID (fakturačné údaje / ako nás kontaktovať) ---- */
.tfl-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.tfl-info-box {
  background: #f9f9f9;
  border-radius: 10px;
  border-left: 3px solid var(--tfl-accent);
  padding: 22px 24px;
}

.tfl-info-box h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--tfl-primary);
}

.tfl-info-list {
  margin: 0;
}

.tfl-info-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13.5px;
}

.tfl-info-list > div:last-child {
  border-bottom: none;
}

.tfl-info-list dt {
  color: var(--tfl-muted);
  min-width: 170px;
  font-weight: 600;
}

.tfl-info-list dd {
  margin: 0;
  color: var(--tfl-text);
  font-weight: 600;
}

.tfl-info-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tfl-info-bullets li {
  font-size: 13.5px;
  line-height: 1.65;
  color: #444;
  padding-left: 18px;
  position: relative;
}

.tfl-info-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tfl-accent-dark);
}

.tfl-info-bullets a {
  color: var(--tfl-primary);
  font-weight: 700;
}

/* ---- FAQ ---- */
.tfl-faq__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #1a1a1a;
  text-align: center;
}

.tfl-faq__item {
  background: #fff;
  border: 1px solid rgba(47, 25, 110, 0.1);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.tfl-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tfl-primary);
  position: relative;
}

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

.tfl-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 12px;
  font-size: 20px;
  font-weight: 400;
  color: var(--tfl-accent-dark);
  transition: transform 0.2s ease;
}

.tfl-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.tfl-faq__answer {
  font-size: 13.5px;
  line-height: 1.7;
  color: #444;
  padding: 0 0 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 920px) {
  .tfl-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tfl-contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tfl-kontakt__wrap {
    padding: 24px 0.9rem 40px;
  }

  .tfl-info-box {
    padding: 18px 16px;
  }

  .tfl-info-list dt {
    min-width: 100%;
  }
}
