/* ========================================
   INFORMATION PAGE LAYOUT

   Visual/structural prototype -- mirrors gallery.css's page-header
   pattern (botanical + section-label + section-title + intro copy) so
   this reads as the same site, not a bolted-on legal page.
   ======================================== */

.information-page {
  min-height: 100svh;
  padding: 120px 24px 100px;
}

.information-container {
  width: min(760px, 100%);
  margin: 0 auto;
}

.information-header {
  position: relative;
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.information-botanical {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 130px;
  opacity: 0.4;
  transform: rotate(18deg);
}

.information-header .section-label {
  display: block;
}

.information-header h1 {
  margin: 0 0 18px;
}

.information-intro {
  margin: 0 auto;
  color: var(--ink);
  font-family: "Bodoni Moda", serif;
  font-size: 18px;
  line-height: 1.75;
  font-variation-settings: "opsz" 5;
}

/* ========================================
   ACCORDION LIST
   ======================================== */

.info-list {
  border-top: 1px solid var(--line);
}

.info-item {
  border-bottom: 1px solid var(--line);
}

.info-trigger {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 24px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.info-trigger-index {
  flex-shrink: 0;
  width: 26px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.45;
}

.info-trigger-title {
  flex: 1;
  font-family: "Bodoni Moda", serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  font-variation-settings: "opsz" 7;
}

.info-trigger-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.info-trigger-icon::before,
.info-trigger-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--burgundy);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.info-trigger-icon::before {
  width: 12px;
  height: 1px;
}

.info-trigger-icon::after {
  width: 1px;
  height: 12px;
}

.info-item.is-open .info-trigger-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.info-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.info-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.info-item.is-open .info-panel {
  grid-template-rows: 1fr;
}

.info-panel-content {
  padding: 0 4px 32px;
  max-width: 620px;
}

.info-panel-content p {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  line-height: 1.75;
  font-variation-settings: "opsz" 5;
}

.info-panel-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   FAQ PAIRS
   ======================================== */

.info-faq + .info-faq {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(130, 22, 22, 0.14);
}

.info-faq h3 {
  margin: 0 0 8px;
  font-family: "Bodoni Moda", serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  font-variation-settings: "opsz" 7;
}

/* ========================================
   DOCUMENT SECTIONS (GDPR / VOP placeholders)
   ======================================== */

.info-document-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(130, 22, 22, 0.28);
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--burgundy);
  background: transparent;
  color: var(--burgundy);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: 0.5;
}

.info-panel-content p.info-download-note {
  margin: 10px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.info-document-body {
  margin-top: 28px;
}

.info-document-section + .info-document-section {
  margin-top: 24px;
}

.info-document-section h3 {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-family: "Bodoni Moda", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  font-variation-settings: "opsz" 8;
}

/* ========================================
   FAQ (nested Category -> Question -> Answer accordion)

   A second, independent accordion nested inside the top-level "FAQ"
   info-item's panel. Categories are the primary level (bolder Bodoni
   Moda, +/- icon, matching .info-trigger's language at a smaller
   scale); questions are the secondary level (lighter weight, a
   chevron instead of +/- so open/closed state never relies on color
   alone, indented under a hairline rule to read as nested).
   ======================================== */

.faq-categories {
  border-top: 1px solid rgba(130, 22, 22, 0.14);
}

.faq-category {
  border-bottom: 1px solid rgba(130, 22, 22, 0.14);
}

.faq-category-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-category-title {
  flex: 1;
  font-family: "Bodoni Moda", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  font-variation-settings: "opsz" 7;
}

.faq-category-icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.faq-category-icon::before,
.faq-category-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--burgundy);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-category-icon::before {
  width: 11px;
  height: 1px;
}

.faq-category-icon::after {
  width: 1px;
  height: 11px;
}

.faq-category.is-open .faq-category-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-category-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-category-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-category.is-open .faq-category-panel {
  grid-template-rows: 1fr;
}

.faq-questions {
  margin: 0 0 22px 2px;
  padding-left: 18px;
  border-left: 1px solid rgba(130, 22, 22, 0.14);
}

.faq-question + .faq-question {
  border-top: 1px solid rgba(130, 22, 22, 0.1);
}

.faq-question-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  font-variation-settings: "opsz" 5;
}

.faq-question-trigger span:first-child {
  flex: 1;
}

.faq-question-icon {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
}

.faq-question-icon::before,
.faq-question-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 6px;
  height: 1px;
  background: var(--burgundy);
}

.faq-question-icon::before {
  left: 0;
  transform: rotate(45deg);
  transform-origin: left center;
}

.faq-question-icon::after {
  right: 0;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.faq-question.is-open .faq-question-icon {
  transform: rotate(180deg);
}

.faq-question-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-question-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-question.is-open .faq-question-panel {
  grid-template-rows: 1fr;
}

.faq-answer {
  padding: 0 2px 20px;
  max-width: 560px;
}

.faq-answer p {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  line-height: 1.75;
  font-variation-settings: "opsz" 5;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-category-trigger:focus-visible,
.faq-question-trigger:focus-visible {
  outline: 1px solid var(--burgundy);
  outline-offset: 2px;
}

/* ========================================
   GDPR / LEGAL DOCUMENT (inline, within the standard accordion)

   "Ochrana osobných údajov" uses the exact same .info-item /
   .info-trigger / .info-panel accordion as every other item on this
   page -- no separate interaction system. The only difference is
   .info-panel-content-wide below: a long legal document with tables
   reads poorly squeezed into the ~620px width used for a short FAQ
   answer, so this one item's content is allowed the full width of the
   page's own .information-container instead.
   ======================================== */

.info-panel-content-wide {
  max-width: none;
}

/* ---- document typography ---- */

.legal-document-title {
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--burgundy);
  font-family: "Bodoni Moda", serif;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  font-variation-settings: "opsz" 10;
}

.legal-document h2 {
  margin: 34px 0 14px;
  color: var(--burgundy);
  font-family: "Bodoni Moda", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  font-variation-settings: "opsz" 8;
}

.legal-document h2:first-child,
.legal-document-title + h2 {
  margin-top: 0;
}

.legal-document p {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  line-height: 1.75;
  font-variation-settings: "opsz" 5;
}

.legal-document ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--ink);
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  line-height: 1.7;
  font-variation-settings: "opsz" 5;
}

.legal-document li {
  margin-bottom: 6px;
}

/* ---- tables ---- */

.legal-table-wrap {
  margin: 0 0 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.legal-table th {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: rgba(130, 22, 22, 0.05);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  white-space: nowrap;
}

.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(130, 22, 22, 0.12);
  color: var(--ink);
  font-family: "Bodoni Moda", serif;
  font-size: 14px;
  line-height: 1.5;
  font-variation-settings: "opsz" 5;
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* ---- checklist ---- */

.legal-checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.legal-checklist li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(130, 22, 22, 0.1);
}

.legal-checklist li:last-child {
  border-bottom: 0;
}

.legal-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: default;
}

.legal-checklist input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--burgundy);
}

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

@media (max-width: 760px) {
  .information-page {
    padding: 100px 16px 70px;
  }

  .information-header {
    margin-bottom: 40px;
  }

  .information-botanical {
    width: 90px;
    top: -46px;
    right: -10px;
    opacity: 0.3;
  }

  .info-trigger {
    padding: 18px 2px;
    gap: 12px;
  }

  .info-trigger-title {
    font-size: 16px;
  }

  .info-trigger-index {
    width: 20px;
    font-size: 9px;
  }

  .info-panel-content {
    padding: 0 2px 26px;
  }

  .faq-category-trigger {
    padding: 16px 2px;
  }

  .faq-category-title {
    font-size: 16px;
  }

  .faq-questions {
    margin-left: 0;
    padding-left: 14px;
  }

  .faq-question-trigger {
    padding: 14px 2px;
    font-size: 15px;
  }

  .legal-document-title {
    padding-bottom: 18px;
    margin-bottom: 20px;
  }

  .legal-document h2 {
    font-size: 18px;
  }

  .legal-table th,
  .legal-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
}
