:root {
  --color-1: #f36378;
  --color-2: #1e5a7a;
  --color-3: #5b5379;
  --color-4: #c56884;
  --color-5: #feba91;
  --faq-text: #222222;
}

.moumou-faq {
  max-width: 1000px;
  margin: 4rem auto;
  font-family: inherit;
  color: var(--faq-text);
  padding: 0 20px;
}

.moumou-faq h2 { 
  text-align: center; 
  margin-bottom: 3.5rem; 
  font-weight: 800; 
  font-size: 3.5rem; 
  color: #1e5a7a; 
}


.moumou-faq h3 { 
  margin: 3.5rem 0 1.5rem; 
  font-size: 1.7em; 
  font-weight: 700; 
  display: flex;
  align-items: center;
  gap: 15px;
}

.moumou-faq h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 32px;
  background: currentColor;
  border-radius: 4px;
  flex-shrink: 0;
}

.group-1 h3 { color: var(--color-1); }
.group-2 h3 { color: var(--color-2); }
.group-3 h3 { color: var(--color-3); }
.group-4 h3 { color: var(--color-4); }
.group-5 h3 { color: #d68f63; }


.faq-item {
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  font-weight: 700;
  font-size: 1.5rem;
  outline: none;
}

.faq-summary::-webkit-details-marker { display: none; }


.group-1 .faq-item { background: #fff6f7; border-color: #ffe0e3; }
.group-1 .faq-summary:hover { background: #ffe9eb; }
.group-2 .faq-item { background: #f4f9fb; border-color: #e2f0f6; }
.group-2 .faq-summary:hover { background: #ebf4f8; }
.group-3 .faq-item { background: #f7f6fa; border-color: #e8e6f1; }
.group-3 .faq-summary:hover { background: #efedf5; }
.group-4 .faq-item { background: #fbf5f7; border-color: #f3e4ea; }
.group-4 .faq-summary:hover { background: #f7ebef; }
.group-5 .faq-item { background: #fffaf7; border-color: #fff1e6; }
.group-5 .faq-summary:hover { background: #fff5ed; }

.faq-chev {
  transition: transform 0.4s ease;
  flex-shrink: 0;
  opacity: 0.5;
}

.faq-item[open] { 
  box-shadow: 0 12px 30px rgba(0,0,0,0.07); 
  border-color: currentColor;
}
.faq-item[open] .faq-chev { transform: rotate(180deg); opacity: 1; }

.faq-content {
  padding: 0 1.8rem 1.8rem;
  line-height: 1.8;
  font-size: 1.35rem;
  color: #333;
}

.faq-content p { margin: 0 0 1.2rem; }

@media (max-width: 768px) {
  .moumou-faq h2 { font-size: 2rem; }
  .moumou-faq h3 { font-size: 1.5rem; }
  .faq-summary { padding: 1.2rem; font-size: 1.1rem; }
  .faq-content { font-size: 1.05rem; }
}

/* 1) TLAČÍTKO  */
.faq-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 8px 15px;
  border: 1px solid #1e5a7a;
  background: #fff;
  color: #1e5a7a;
  cursor: pointer;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.2s ease;
}
.faq-open-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #1e5a7a;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
}
.faq-open-btn:hover { background: #f4f9fb; transform: translateY(-1px); }

.faq-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 74, 96, 0.7);
  z-index: 999999;
  display: none;
  backdrop-filter: blur(5px);
}
.faq-overlay.is-open { display: flex; align-items: center; justify-content: center; }


.faq-modal {
  width: min(1000px, calc(100% - 20px)); 
  max-height: 90vh;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.faq-head {
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-modal-title { font-weight: 800; font-size: 1.8rem; color: #1e5a7a; }
.faq-close { background: #f5f5f5; border: none; width: 40px; height: 40px; cursor: pointer; border-radius: 50%; font-size: 20px; font-weight: bold; }

.faq-body { 
  padding: 15px 25px 35px;
  overflow-y: auto; 
}


.moumou-faq-popup h3 { 
  font-size: 1.8rem; 
  margin: 30px 0 15px; 
  display: flex; 
  align-items: center; 
  gap: 12px;
}
.moumou-faq-popup h3::before { 
  content:""; 
  width:8px; 
  height:30px; 
  background:currentColor; 
  border-radius:4px; 
}

.faq-group.group-1 h3 { color: #f36378; }
.faq-group.group-2 h3 { color: #1e5a7a; }

.faq-item { border-radius: 16px; margin-bottom: 15px; border: 1px solid #eee; background: #fafafa; }
.faq-summary { 
  padding: 18px 22px; 
  font-size: 1.4rem; 
  font-weight: 700; 
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-item[open] { border-color: #1e5a7a; background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

.faq-content { 
  padding: 0 22px 22px; 
  font-size: 1.25rem; 
  line-height: 1.7; 
  color: #333; 
}

@media (max-width: 600px) {
  .faq-modal { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; }
  .faq-modal-title { font-size: 1.6rem; }
  .faq-summary { font-size: 1.4rem; padding: 15px; } 
  .faq-content { font-size: 1.25rem; padding: 0 15px 15px; }
  .moumou-faq-popup h3 { font-size: 1.5rem; margin: 20px 0 10px; }
  .faq-body { padding: 10px 15px; }
}
