/* ═══════════════════════════════════════════════════════════════════════════
   SEO ADDITIONS – FAQ section + extended Footer (NAP)
   Tyto styly mají být přidány na konec produkčního style.css při deployi.
   Žádná z hodnot nemění existující design tokeny ani komponenty – pouze přidává.
═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────── FAQ section ─────────────────── */
.faq-section {
  background: var(--off-white);
  padding: 120px 48px;
}

.faq-section .s-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}

.faq-item[open] {
  border-color: rgba(245,184,0,.5);
  box-shadow: 0 12px 36px rgba(0,0,0,.06);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.2px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  user-select: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform .3s var(--ease-out);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item summary:hover { color: var(--accent-dark); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 10px;
}

.faq-answer {
  padding: 0 28px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: #444;
  animation: faqFadeIn .35s var(--ease-out);
}

.faq-answer p { margin-bottom: .6em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text); font-weight: 700; }
.faq-answer a {
  color: var(--accent-dark);
  border-bottom: 1px solid rgba(217,162,0,.35);
  transition: border-color .2s;
}
.faq-answer a:hover { border-bottom-color: var(--accent-dark); }

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────── Extended FOOTER (NAP, links, social) ─────────────────── */
/* Override of the existing minimal footer__inner layout */
.footer {
  padding: 64px 48px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 56px;
  align-items: flex-start;
  text-align: left;
}

.footer__brand .footer__logo {
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: .85rem;
  line-height: 1.5;
  color: rgba(255,255,255,.5);
  max-width: 320px;
}

.footer__h {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-size: .87rem;
  color: rgba(255,255,255,.62);
  transition: color .2s;
  line-height: 1.4;
}

.footer__nav a:hover { color: var(--white); }

.footer__nap {
  font-style: normal;
  font-size: .87rem;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
}

.footer__nap p { margin-bottom: 12px; }
.footer__nap p:last-of-type { margin-bottom: 16px; }

.footer__nap a {
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: color .2s, border-color .2s;
}
.footer__nap a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}

.footer__social a:hover {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer__bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  text-align: center;
}

.footer__bottom .footer__copy {
  font-size: .72rem;
  color: rgba(255,255,255,.22);
}

/* ─────────────────── Responsive ─────────────────── */
@media (max-width: 1100px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .faq-section { padding: 80px 28px; }
  .faq-item summary { padding: 18px 22px; font-size: 1rem; }
  .faq-answer { padding: 0 22px 20px; font-size: .94rem; }

  .footer { padding: 48px 28px 0; }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }
  .footer__bottom { margin-top: 36px; text-align: center; }
}

@media (max-width: 640px) {
  .faq-section { padding: 64px 20px; }
  .faq-item summary { padding: 16px 18px; font-size: .95rem; }
}

/* ─────────────────── Print (a small a11y win) ─────────────────── */
@media print {
  .faq-item { break-inside: avoid; }
  .faq-answer { display: block !important; }
  .footer__social { display: none; }
}
