/* ===== Preguntas frecuentes (página 7) — bloques nativos =====
   Sustituye la maqueta de Elementor manteniendo tipografía, medidas y colores:
   H1 90/90, sección gris #F2F3F5, preguntas 18 px, respuestas 16/1.33 y
   cierre con el patrón Pattern-Bot. Los botones usan .ibp-btn del plugin. */

/* El kit de Elementor usaba Instrument Sans; el tema impone PT Serif a los
   títulos, así que la fuente se declara en cada sección y en cada título. */
.faq-hero,
.faq-acordeon,
.faq-soporte,
.faq-cta {
  font-family: "Instrument Sans", sans-serif;
}

.faq-hero {
  background: #FFFFFF;
  padding: 84px 0 56px;
}
.faq-hero .wp-block-heading {
  font-family: "Instrument Sans", sans-serif;
  font-size: 90px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #121212;
  margin: 0 0 22px;
}
.faq-sub {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #444444;
}

.faq-acordeon {
  background: #F2F3F5;
  padding: 56px 0;
}
.faq-item {
  border-bottom: 1px solid #DDE1E4;
}
.faq-item:first-of-type {
  border-top: 1px solid #DDE1E4;
}
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: #1F2124;
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: #0E7A5F;
  transition: transform .25s ease;
}
.faq-item[open] > summary::after {
  content: "\2212";
}
.faq-item > summary:hover { color: #0E7A5F; }
.faq-item > p {
  margin: 0 0 20px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.33;
  color: #444444;
}

.faq-soporte {
  background: #FFFFFF;
  padding: 70px 0;
}
.faq-soporte .wp-block-heading {
  font-family: "Instrument Sans", sans-serif;
  font-size: 50px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #212529;
  margin: 0 0 18px;
}
.faq-soporte p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
  color: #444444;
}

.faq-datos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 36px 0 0;
}
.faq-dato {
  padding: 28px;
  border: 1px solid #E6EBE9;
  border-radius: 16px;
  background: #FAFCFB;
}
.faq-dato strong {
  display: block;
  font-size: 52px;
  line-height: 1;
  font-weight: 400;
  color: #0E7A5F;
}
.faq-dato span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6B7A86;
}

.faq-testimonio {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 34px 0 0;
  padding: 26px 28px;
  max-width: 760px;
  border: 1px solid #E6EBE9;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 20px 40px -34px rgba(15,40,31,.45);
}
.faq-testimonio img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.faq-testimonio .faq-cita {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #26313D;
}
.faq-testimonio .faq-autor {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1F2124;
}
.faq-testimonio .faq-cargo {
  margin: 0;
  font-size: 13px;
  color: #6B7A86;
}

.faq-cta {
  background: #F2F3F5 url(https://googli.es/wp-content/uploads/2024/12/Pattern-Bot.png) center center / cover no-repeat;
  padding: 72px 0;
  text-align: center;
}
.faq-cta .wp-block-heading {
  font-family: "Instrument Sans", sans-serif;
  font-size: 50px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #212529;
  margin: 0 0 14px;
}
.faq-cta p {
  max-width: 520px;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.6;
  color: #444444;
}
.faq-cta .ibp-btn { margin: 0 auto; }

/* Botón propio del plugin, con la misma definición que en ibp-contacto.css:
   esta página no carga esa hoja, así que se declara aquí para no depender
   de Elementor. */
.ibp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.2;
  padding: 12px 24px; border: 1px solid transparent; border-radius: 3px;
  color: #FFFFFF; background: #0E7A5F; text-decoration: none; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}
.ibp-btn:hover { color: #FFFFFF; background: #0A5A46; transform: translateY(-2px); }
.ibp-btn:focus-visible { outline: 2px solid #8FE3A6; outline-offset: 3px; }
.ibp-btn--light { color: #121C2E; background: #FFFFFF; border-color: #E6EBE9; }
.ibp-btn--light:hover { color: #0E7A5F; background: #FFFFFF; border-color: #0E7A5F; }

@media (max-width: 900px) {
  .faq-hero { padding: 56px 0 40px; }
  .faq-hero .wp-block-heading { font-size: 54px; }
  .faq-acordeon { padding: 40px 0; }
  .faq-soporte { padding: 48px 0; }
  .faq-soporte .wp-block-heading,
  .faq-cta .wp-block-heading { font-size: 34px; }
  .faq-cta { padding: 52px 0; }
  .faq-datos { grid-template-columns: 1fr; }
  .faq-dato strong { font-size: 40px; }
}
