/* Homepage FAQ under testimonials — flat chrome, 6 + faded peek + more. */
.site-home .home-faq-container {
  width: 100%;
  box-sizing: border-box;
  padding-top: clamp(2.8rem, 5vw, 4.2rem);
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.site-home .hf-section {
  --hf-navy: #103d65;
  --hf-ink: #183752;
  --hf-gold: #e5af12;
  --hf-muted: #526778;
  margin: 0;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  font-family: var(--font-ui, "Estedad", Tahoma, sans-serif);
  direction: rtl;
  scroll-margin-top: 7rem;
}

.site-home .hf-section,
.site-home .hf-section * {
  box-sizing: border-box;
}

.site-home .hf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  position: relative;
  margin-bottom: 1.1rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.site-home .hf-header h2 {
  color: var(--hf-navy);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0;
  flex: 0 0 auto;
}

.site-home .hf-tabs {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 1 auto;
  max-width: 100%;
  padding: 0.22rem;
  border-radius: 14px;
  border: 1px solid #d7e4ee;
  background: #f4f8fb;
  gap: 0.15rem;
  margin: 0;
}

.site-home .hf-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #466079;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 0.9rem;
  min-height: 42px;
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.site-home .hf-tab:hover {
  color: var(--hf-navy);
  background: rgba(16, 61, 101, 0.05);
}

.site-home .hf-tab.is-active {
  background: linear-gradient(145deg, #f8d878, #e5aa27);
  border-color: transparent;
  color: #0c3658;
  box-shadow: 0 6px 14px rgba(16, 61, 101, 0.12);
}

.site-home .hf-tab-badge {
  display: inline-flex;
  border-radius: 6px;
  background: rgba(16, 61, 101, 0.08);
  color: #3f5d74;
  padding: 0.12rem 0.4rem;
  font-size: 0.66rem;
  font-weight: 700;
}

.site-home .hf-tab.is-active .hf-tab-badge {
  color: #0c3658;
  background: rgba(12, 54, 88, 0.12);
}

.site-home .hf-panel[hidden] {
  display: none !important;
}

.site-home .hf-list-wrap {
  position: relative;
  z-index: 1;
}

.site-home .hf-list {
  position: relative;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  grid-auto-rows: max-content;
  overflow: hidden;
  padding: 0.05rem 0.1rem 0;
}

.site-home .hf-list-wrap.is-expanded .hf-list {
  max-height: none !important;
  overflow: visible;
}

.site-home .hf-fade {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 245, 240, 0), #f5f5f0 72%);
  z-index: 2;
}

.site-home .hf-list-wrap.is-clipped .hf-fade {
  display: block;
}

.site-home .hf-list-wrap.is-expanded .hf-fade {
  display: none;
}

.site-home .hf-more {
  appearance: none;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: fit-content;
  margin: -1.55rem auto 0;
  padding: 0.2rem 0.35rem;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hf-navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.18s ease;
}

.site-home .hf-more:hover {
  color: #0a3456;
}

.site-home .hf-more-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  transition: transform 0.2s ease;
}

.site-home .hf-list-wrap.is-expanded + .hf-more {
  margin-top: 0.7rem;
}

.site-home .hf-list-wrap.is-expanded + .hf-more .hf-more-icon {
  transform: rotate(180deg);
}

.site-home .hf-more[hidden] {
  display: none !important;
}

.site-home .hf-item {
  border: 1px solid #e2eaf1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  overflow: hidden;
  min-height: max-content;
  height: auto;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-home .hf-item:hover {
  border-color: #c5d7e8;
  box-shadow: 0 8px 22px rgba(11, 47, 76, 0.07);
}

.site-home .hf-item[open] {
  border-color: rgba(16, 61, 101, 0.28);
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 47, 76, 0.1);
}

.site-home .hf-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.82rem 0.9rem;
  min-height: 3.25rem;
  font-weight: 800;
  color: var(--hf-ink);
  font-size: clamp(0.84rem, 1.2vw, 0.94rem);
  line-height: 1.65;
}

.site-home .hf-summary::-webkit-details-marker {
  display: none;
}

.site-home .hf-num {
  display: inline-grid;
  place-items: center;
  min-width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  background: linear-gradient(145deg, #123f68, #0d6487);
  color: #ffe7ad;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-home .hf-item[open] .hf-num {
  background: linear-gradient(145deg, #f8d878, #e5aa27);
  color: #0c3658;
}

.site-home .hf-q {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-home .hf-chevron {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid #d7e2eb;
  display: grid;
  place-items: center;
  color: var(--hf-navy);
  background: #f4f8fb;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-home .hf-chevron svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.22s ease;
}

.site-home .hf-item[open] .hf-chevron {
  background: rgba(16, 61, 101, 0.08);
  border-color: rgba(16, 61, 101, 0.2);
}

.site-home .hf-item[open] .hf-chevron svg {
  transform: rotate(180deg);
}

.site-home .hf-answer {
  padding: 0.75rem 0.9rem 1rem;
  margin: 0;
  color: var(--hf-muted);
  font-size: 0.88rem;
  line-height: 1.95;
  border-top: 1px solid #eef3f7;
}

.site-home .hf-item[open] .hf-answer {
  animation: hfAnswerIn 0.28s ease;
}

.site-home .hf-answer ul {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.site-home .hf-answer li {
  position: relative;
  padding-right: 1.1rem;
  line-height: 1.9;
}

.site-home .hf-answer li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.78rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--hf-gold);
  box-shadow: 0 0 0 3px rgba(229, 175, 18, 0.18);
}

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

@media (max-width: 760px) {
  .site-home .home-faq-container {
    padding-bottom: 2.3rem;
  }

  .site-home .hf-header {
    gap: 0.65rem;
    margin-bottom: 0.95rem;
  }

  .site-home .hf-header h2 {
    font-size: 1.3rem;
  }

  .site-home .hf-tabs {
    width: 100%;
    display: flex;
  }

  .site-home .hf-tab {
    flex: 1;
    min-width: 0;
    white-space: normal;
    line-height: 1.45;
    font-size: 0.74rem;
    padding: 0.62rem 0.35rem;
  }

  .site-home .hf-tab-badge {
    display: none;
  }

  .site-home .hf-summary {
    padding: 0.85rem 0.8rem;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-home .hf-item[open] .hf-answer,
  .site-home .hf-chevron svg,
  .site-home .hf-tab {
    animation: none !important;
    transition: none !important;
  }
}
