/* ==========================================================
   HOME: PREGUNTAS FRECUENTES
   ========================================================== */
.amr-faq-section {
  position: relative;
  font-family: var(--amr-font);
  padding: 96px 24px;
  background:
    radial-gradient(40% 50% at 0% 0%, rgba(var(--amr-c1-rgb), .06), transparent 70%),
    radial-gradient(35% 45% at 100% 100%, rgba(var(--amr-c2-rgb), .10), transparent 70%),
    #ffffff;
}

.amr-faq-section * { box-sizing: border-box; }

.amr-faq-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

/* Columna izquierda */
.amr-faq-head { position: sticky; top: 110px; }

.amr-faq-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--amr-c1-soft);
  color: var(--amr-c1);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.amr-faq-title {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0b1e36;
}

.amr-faq-title em {
  font-style: normal;
  color: var(--amr-c1);
  background: linear-gradient(transparent 66%, rgba(var(--amr-c2-rgb), .45) 66%, rgba(var(--amr-c2-rgb), .45) 90%, transparent 90%);
}

.amr-faq-text {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
}

.amr-faq-help {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--amr-c1-dark), var(--amr-c1));
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 44px -22px rgba(var(--amr-c1-rgb), .7);
}

.amr-faq-help::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(var(--amr-c2-rgb), .25);
  filter: blur(6px);
}

.amr-faq-help-ico {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .15);
  margin-bottom: 12px;
}

.amr-faq-help-ico svg { width: 22px; height: 22px; fill: none; stroke: #ffffff; }

.amr-faq-help p {
  position: relative;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.amr-faq-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--amr-c2);
  color: var(--amr-c2-text) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px -8px rgba(var(--amr-c2-rgb), .7);
  transition: background-color .2s ease, translate .2s ease;
}

.amr-faq-btn:hover { background: var(--amr-c2-dark); translate: 0 -2px; }

.amr-faq-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Lista desplegable */
.amr-faq-list { display: flex; flex-direction: column; gap: 12px; }

.amr-faq-item {
  border: 1px solid #ece6f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .03);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.amr-faq-item:hover { border-color: rgba(var(--amr-c1-rgb), .25); }

.amr-faq-item[open] {
  border-color: rgba(var(--amr-c1-rgb), .3);
  box-shadow: 0 18px 36px -20px rgba(var(--amr-c1-rgb), .35);
}

.amr-faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.amr-faq-q::-webkit-details-marker { display: none; }
.amr-faq-q::marker { content: ""; }

.amr-faq-q:focus-visible { outline: 3px solid rgba(var(--amr-c1-rgb), .35); outline-offset: 2px; border-radius: 18px; }

.amr-faq-num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  color: rgba(var(--amr-c1-rgb), .45);
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}

.amr-faq-item[open] .amr-faq-num { color: var(--amr-c1); }

.amr-faq-q-text {
  flex: 1 1 auto;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #0b1e36;
}

.amr-faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amr-c1-softer);
  transition: background-color .3s ease, rotate .35s cubic-bezier(.2, .8, .2, 1);
}

.amr-faq-toggle::before,
.amr-faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--amr-c1);
  transition: rotate .35s cubic-bezier(.2, .8, .2, 1), background-color .3s ease;
}

.amr-faq-toggle::after { rotate: 90deg; }

.amr-faq-item[open] .amr-faq-toggle { background: var(--amr-c1); rotate: 180deg; }
.amr-faq-item[open] .amr-faq-toggle::before,
.amr-faq-item[open] .amr-faq-toggle::after { background: #ffffff; }
.amr-faq-item[open] .amr-faq-toggle::after { rotate: 0deg; }

/* Respuesta con apertura suave */
.amr-faq-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1);
}

.amr-faq-item.is-closing .amr-faq-a,
.amr-faq-item.is-opening .amr-faq-a { grid-template-rows: 0fr; }

.amr-faq-a-inner { overflow: hidden; }

.amr-faq-a p {
  margin: 0;
  padding: 0 22px 22px 55px;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}

/* Responsive */
@media (max-width: 960px) {
  .amr-faq-section { padding: 72px 20px; }
  .amr-faq-inner { grid-template-columns: 1fr; gap: 0; }
  /* Móvil: título, luego preguntas y al final la tarjeta de ayuda */
  .amr-faq-head { display: contents; }
  .amr-faq-kicker { justify-self: center; }
  .amr-faq-title { font-size: 32px; text-align: center; }
  .amr-faq-text { text-align: center; margin-bottom: 28px; }
  .amr-faq-list { order: 2; }
  .amr-faq-help { order: 3; margin-top: 28px; text-align: left; }
}

@media (max-width: 600px) {
  .amr-faq-q { padding: 16px; gap: 12px; }
  .amr-faq-q-text { font-size: 15.5px; }
  .amr-faq-a p { padding: 0 16px 18px; font-size: 14.5px; }
  .amr-faq-num { display: none; }
  .amr-faq-toggle { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .amr-faq-a, .amr-faq-toggle, .amr-faq-toggle::before, .amr-faq-toggle::after { transition: none; }
}
