/* ================================================================
   FAQ (ID 2499) — estilos específicos de página
   Depende de: blocksy-child-custom (--ib-*, .hero-*, .btn, .section, .breadcrumb)
   ================================================================ */

/* ── Hero background fallback (sin imagen hero queda blanco) ─── */
.hero-bg { background-color: var(--ib-marron-dark); }

/* ── Hero text layout ────────────────────────────────────────── */
.hero-content {
  padding: 120px 24px 80px;
  justify-content: center;
  align-items: center;
}

/* ── Hero FAQ label + sub ────────────────────────────────────── */
.hero-faq-label {
  display: inline-block; margin-bottom: 20px;
  font-family: var(--ib-font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--ib-azul);
  background: rgba(156,213,225,.12);
  padding: 6px 20px; border-radius: 20px;
  border: 1px solid rgba(156,213,225,.25);
}

.hero-faq-sub {
  font-family: var(--ib-font-body);
  font-size: 17px; color: rgba(245,241,229,.75);
  margin-bottom: 36px; line-height: 1.75;
}

.hero-faq-ctas {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 24px;
}

.hero-trust {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(245,241,229,.08);
  border: 1px solid rgba(245,241,229,.15);
  padding: 9px 22px; border-radius: 24px;
  font-family: var(--ib-font-body);
  font-size: 13px; color: rgba(245,241,229,.6);
}
.hero-trust .stars { color: var(--ib-amarillo); letter-spacing: 1px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1da852; opacity: 1; text-decoration: none; }

/* ── TOC ─────────────────────────────────────────────────────── */
.toc-wrap {
  background: var(--ib-blanco-card);
  border-bottom: 1px solid var(--ib-border);
  padding: 28px 0; position: relative; z-index: 3;
}
.toc-box {
  max-width: 820px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ib-border);
  border-left: 4px solid var(--ib-rojo);
  border-radius: var(--ib-radius);
  padding: 24px 32px;
}
.toc-title {
  font-family: var(--ib-font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ib-marron-muted);
  margin-bottom: 16px;
}
.toc-links {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
}
.toc-links li a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ib-font-display);
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  color: var(--ib-marron-text);
  background: var(--ib-blanco-dark);
  border: 1px solid var(--ib-border);
  padding: 7px 16px; border-radius: 20px;
  text-decoration: none; transition: background .15s, color .15s;
}
.toc-links li a:hover {
  background: var(--ib-azul-light); color: var(--ib-rojo);
  text-decoration: none; border-color: var(--ib-azul);
}

/* ── Section white ───────────────────────────────────────────── */
.section-white { background: var(--ib-blanco-card); }

/* ── FAQ section headings ────────────────────────────────────── */
.faq-section-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
}
.faq-section-head h2 {
  font-family: var(--ib-font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; color: var(--ib-marron-text); letter-spacing: .3px;
  margin: 0;
}
.faq-section-num {
  font-family: var(--ib-font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ib-marron-dark);
  background: var(--ib-azul); padding: 4px 14px;
  border-radius: 20px; flex-shrink: 0;
}
.faq-section-divider {
  width: 48px; height: 3px; background: var(--ib-rojo);
  border-radius: 2px; margin-bottom: 24px;
}
.faq-section-intro {
  font-family: var(--ib-font-body);
  font-size: 15px; color: var(--ib-marron-muted); margin-bottom: 28px;
}
.faq-section-intro a { color: var(--ib-rojo); }

/* ── Accordion ───────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--ib-border); overflow: hidden; }
.faq-item:first-of-type { border-top: 1px solid var(--ib-border); }

.faq-q {
  width: 100%; padding: 20px 4px;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer;
  font-family: var(--ib-font-display);
  font-size: 17px; font-weight: 600;
  color: var(--ib-marron-text); text-align: left;
}
.faq-q .faq-icon {
  color: var(--ib-rojo); font-size: 20px;
  transition: transform .25s; flex-shrink: 0;
  margin-left: 16px; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner {
  padding: 0 4px 20px;
  font-family: var(--ib-font-body);
  font-size: 17px; color: var(--ib-marron-muted); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 700px; }

.faq-a-inner a { color: var(--ib-rojo); }
.faq-a-inner ul { padding-left: 20px; margin-top: 10px; }
.faq-a-inner ul li { margin-bottom: 6px; }

/* ── Section CTA link ────────────────────────────────────────── */
.section-link {
  max-width: 760px; margin: 32px auto 0; text-align: right;
}
.section-link a {
  font-family: var(--ib-font-display);
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  color: var(--ib-rojo);
  display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none;
}
.section-link a:hover { text-decoration: underline; }

/* ── CTA final ───────────────────────────────────────────────── */
.cta-final {
  background: var(--ib-marron-dark);
  text-align: center; padding: 90px 24px;
  position: relative; z-index: 3;
}
.cta-final h2 {
  font-family: var(--ib-font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--ib-blanco); margin-bottom: 14px; font-weight: 800;
}
.cta-final > p {
  font-family: var(--ib-font-body);
  font-size: 17px; color: rgba(245,241,229,.7);
  margin-bottom: 36px; max-width: 500px;
  margin-left: auto; margin-right: auto; line-height: 1.75;
}
.cta-final-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.cta-final-note {
  margin-top: 22px; font-family: var(--ib-font-body);
  font-size: 14px; color: rgba(245,241,229,.4);
}
.cta-final-note a { color: rgba(245,241,229,.5); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .toc-links li a { font-size: 12px; padding: 6px 12px; }
}
@media (max-width: 640px) {
  .hero-faq-ctas { flex-direction: column; align-items: center; }
  .cta-final-btns { flex-direction: column; align-items: center; }
  .toc-links { gap: 8px; }
  .section-link { text-align: center; }
  .toc-box { padding: 16px 20px; }
  .faq-q { font-size: 15px; }
  .faq-a-inner { font-size: 15px; }
}
