/* Preguntas frecuentes: página completa y bloque del home.
   Acordeón nativo <details>/<summary>, sin JavaScript.
   #8a6a32 es el dorado legible sobre --bg (≥ 4.5:1); --accent queda para el icono. */

.tenant-atmaia .faq-list {
  border-top: 1px solid rgba(89, 63, 36, 0.14);
}

.tenant-atmaia .faq-item {
  border-bottom: 1px solid rgba(89, 63, 36, 0.14);
}

.tenant-atmaia .faq-item > summary {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding: 18px 2px;
}

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

.tenant-atmaia .faq-q {
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

.tenant-atmaia .faq-item > summary:hover .faq-q {
  color: #8a6a32;
}

.tenant-atmaia .faq-item > summary:focus-visible {
  outline: 2px solid #8a6a32;
  outline-offset: 3px;
}

.tenant-atmaia .faq-icon {
  flex: none;
  height: 14px;
  position: relative;
  width: 14px;
}

.tenant-atmaia .faq-icon::before,
.tenant-atmaia .faq-icon::after {
  background: var(--accent);
  border-radius: 1px;
  content: "";
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tenant-atmaia .faq-icon::before {
  height: 2px;
  left: 0;
  top: 6px;
  width: 14px;
}

.tenant-atmaia .faq-icon::after {
  height: 14px;
  left: 6px;
  top: 0;
  width: 2px;
}

.tenant-atmaia .faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.tenant-atmaia .faq-a {
  color: var(--muted);
  line-height: 1.6;
  max-width: 68ch;
  padding: 0 34px 20px 2px;
}

.tenant-atmaia .faq-a p {
  margin: 0;
}

.tenant-atmaia .faq-a p + p {
  margin-top: 10px;
}

.tenant-atmaia .faq-a a,
.tenant-atmaia .faq-home__more {
  color: #8a6a32;
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.tenant-atmaia .faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.tenant-atmaia .faq-a a:focus-visible,
.tenant-atmaia .faq-home__more:focus-visible,
.tenant-atmaia .atmaia-faq-page .breadcrumb a:focus-visible,
.tenant-atmaia .faq-closing__cta:focus-visible,
.tenant-atmaia .faq-closing__secondary:focus-visible {
  border-radius: 2px;
  outline: 2px solid #8a6a32;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .tenant-atmaia .faq-icon::before,
  .tenant-atmaia .faq-icon::after {
    transition: none;
  }
}

/* Página completa */

.tenant-atmaia .atmaia-faq-page {
  padding-bottom: 48px;
}

.tenant-atmaia .faq-container {
  max-width: 760px;
}

.tenant-atmaia .faq-intro {
  padding-bottom: 8px;
}

.tenant-atmaia .atmaia-faq-page .page-title {
  margin: 16px 0 10px;
}

.tenant-atmaia .faq-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  line-height: 1.5;
  margin: 0;
  max-width: 650px;
}

.tenant-atmaia .faq-body {
  padding-top: 24px;
}

.tenant-atmaia .faq-group + .faq-group {
  margin-top: 36px;
}

.tenant-atmaia .faq-group__title {
  color: #8a6a32;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.tenant-atmaia .faq-closing {
  align-items: center;
  background: linear-gradient(180deg, #fbf6ea, #f6eedb);
  border: 1px solid rgba(201, 161, 91, 0.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
  padding: 26px 24px;
  text-align: center;
}

/* Cormorant autoalojada solo trae pesos 400–600: 600 evita negrita sintética. */
.tenant-atmaia .faq-closing__title {
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.tenant-atmaia .faq-closing__text {
  color: var(--muted);
  margin: -6px 0 4px;
  text-wrap: balance;
}

.tenant-atmaia .faq-closing__cta {
  max-width: 100%;
}

.tenant-atmaia .faq-closing__secondary {
  color: #8a6a32;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 4px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-wrap: balance;
}

/* Bloque del home */

.tenant-atmaia .faq-home .faq-list {
  margin-top: 18px;
  max-width: 760px;
}

.tenant-atmaia .faq-home__more {
  display: inline-block;
  margin-top: 18px;
}
