/**
 * FONDEA COMPRAS (8770)
 * Capa 2 por página: todo queda aislado bajo body.fc-page-8770.
 * El menú se conserva en la capa común, sin overrides desde este archivo.
 */

/* [01] Cover desktop — referencia Figma 2880×1800, verificada a 1440×900.
 * El snapshot conserva el estado inicial de una animación de Webflow, pero su
 * runtime se retira al servirlo: hacemos visible el contenido y mantenemos su
 * posición aprobada. El titular replica la tipografía computada de Personal
 * (Inter V Regular 400); la cursiva conserva Instrument Serif Regular 400. */
@media (min-width: 768px) {
  body.fc-page-8770 .hero-feature.product .hero-split {
    opacity: 1 !important;
    transform: translate3d(0, -25px, 0) !important;
  }

  body.fc-page-8770 .hero-feature.product .hero-headline-feature {
    font-family: "Inter V", "Inter", sans-serif !important;
    font-weight: 400 !important;
  }

  body.fc-page-8770 .hero-feature.product .hero-headline-feature i {
    display: contents !important;
    font-family: "Instrument Serif", serif !important;
    font-weight: 400 !important;
  }

  /* La base limita el asset a 1000px y deja demasiado aire bajo el copy.
   * Además aplica `contain:size` con una reserva artificial de 470px que deforma
   * su proporción. Fijamos la altura responsiva con el ratio real del asset
   * desktop (2560×1224); al 80% del viewport recupera la escala del frame de
   * Figma. En pantallas anchas pero bajas conservamos esa escala y desplazamos
   * hacia abajo el excedente (el cover ya recorta en su borde inferior), de modo
   * que el gráfico no vuelva a invadir el titular. */
  body.fc-page-8770 .hero-feature.product .image-28 {
    --fc-compras-art-height: min(38.25vw, 551px);

    bottom: min(0px, calc(100vh - 280px - var(--fc-compras-art-height))) !important;
    height: var(--fc-compras-art-height) !important;
    max-width: min(80%, 1152px) !important;
  }

  /* [02] Funcionamiento y costos — frame desktop de Figma (1440px).
   * Se conservan los assets existentes; sus dimensiones se desacoplan del
   * ancho de la tarjeta para que no vuelvan a forzar tarjetas excesivamente
   * altas. Los pesos siguen la escala canónica del proyecto. */
  body.fc-page-8770 .feature-display > .section-container {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 1440px;
    height: 372px;
    margin: 0 auto;
    padding: 0 64px 68px;
  }

  body.fc-page-8770 .feature-display > .section-container .section-wrapper {
    width: 100%;
  }

  body.fc-page-8770 .feature-display .section-headline-display {
    width: 100%;
    margin: 0;
  }

  body.fc-page-8770 .feature-display .section-headline-display.recovery {
    max-width: 1088px;
    margin: 0 auto;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 64px;
    letter-spacing: -1.2px;
  }

  body.fc-page-8770 .feature-display .section-headline-display.recovery i {
    display: block;
    font-family: "Instrument Serif", serif;
    font-weight: 500;
  }

  body.fc-page-8770 .feature-stack-2 {
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 64px;
    overflow: hidden;
  }

  body.fc-page-8770 .feature-stack-2 .stack-card-2 {
    box-sizing: border-box;
    flex: 1 1 0;
    width: 0;
    height: 680px;
    min-height: 680px;
    padding: 56px 56px 0;
    border-radius: 20px;
    background: #f8f8f8;
    overflow: hidden;
  }

  body.fc-page-8770 .feature-stack-2 .card-split {
    gap: 48px;
  }

  body.fc-page-8770 .feature-stack-2 .tag-feature-2.dm {
    box-sizing: border-box;
    margin: 0;
    padding: 7px 16px;
    border: 1px solid #939999;
    border-radius: 4px;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 2px;
  }

  body.fc-page-8770 .feature-stack-2 .bento-card-text {
    gap: 16px;
  }

  body.fc-page-8770 .feature-stack-2 .text-xl-2.is-medium.is-center {
    max-width: 440px;
    margin: 0 !important;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0;
  }

  body.fc-page-8770 .feature-stack-2 .text-lg-2.bento-text {
    max-width: 536px;
    margin: 0 !important;
    opacity: 1;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
  }

  body.fc-page-8770 .feature-stack-2 .stack-card-img {
    display: flex;
    flex: 0 0 408px;
    align-self: center;
    justify-content: center;
    align-items: flex-start;
    width: 272px;
    height: 408px;
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
  }

  body.fc-page-8770 .feature-stack-2 .stack-card-img img {
    display: block;
    width: 272px;
    max-width: none;
    height: 408px;
    object-fit: contain;
  }

  body.fc-page-8770 .section-container-copy {
    box-sizing: border-box;
    max-width: 1440px;
    padding: 16px 64px 64px;
  }

  body.fc-page-8770 .section-container-copy > .section-wrapper {
    display: none;
  }

  body.fc-page-8770 .credit-pricing-3 {
    box-sizing: border-box;
    width: 100%;
    height: 501px;
    margin: 0;
    padding: 56px;
    border-radius: 20px;
    background: #f8f8f8;
  }

  body.fc-page-8770 .credit-pricing-3 .section-heading._2 {
    margin: 0 !important;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 72px;
    letter-spacing: -1.2px;
  }

  body.fc-page-8770 .credit-pricing-3 .simple-credit-list {
    margin: 64px 0 0;
  }

  body.fc-page-8770 .credit-pricing-3 .linealistado-3 {
    box-sizing: border-box;
    min-height: 40px;
    padding: 7px 0 8px;
    border-top: 0;
    border-bottom: 1px solid #191a1a;
  }

  body.fc-page-8770 .credit-pricing-3 .paragraph-18,
  body.fc-page-8770 .credit-pricing-3 .paragraph-18.big {
    margin: 0;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
  }

  body.fc-page-8770 .credit-pricing-3 .paragraph-18.big,
  body.fc-page-8770 .credit-pricing-3 .bold-text-4 {
    font-weight: 650;
  }

  body.fc-page-8770 .credit-pricing-3 .table-legal.peque._2 {
    margin: 16px 0 0;
    color: #626666;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
  }

  body.fc-page-8770 .credit-pricing-3 .bold-text-4 {
    font-size: inherit;
  }
}

/* [01] Cover mobile — referencia 375x756. El `position: fixed` heredado de
 * Webflow calcula el borde inferior contra el viewport dinámico del navegador
 * en algunos Android y deja una franja visible bajo la mano. El arte queda
 * anclado al hero para que siempre termine exactamente en su borde inferior.
 * El srcset original mezcla el asset vertical mobile con uno horizontal de
 * escritorio; Android de alta densidad puede elegir este último y generar una
 * franja inferior por `object-fit: contain`. Fijamos aquí el recurso vertical.
 * El titular usa la misma jerarquía aprobada de Personal mobile: Inter V Medium
 * (500) para el texto roman e Instrument Serif Regular (400) para la cursiva. */
@media (max-width: 767px) {
  body.fc-page-8770 .hero-feature.product .hero-wrapper.product {
    padding-top: 64px !important;
  }

  body.fc-page-8770 .hero-feature.product .hero-split {
    opacity: 1 !important;
    transform: none !important;
  }

  body.fc-page-8770 .hero-feature.product .hero-headline-feature {
    font-family: "Inter V", "Inter", sans-serif !important;
    font-weight: 500 !important;
  }

  body.fc-page-8770 .hero-feature.product .hero-headline-feature i {
    display: contents !important;
    font-family: "Instrument Serif", serif !important;
    font-weight: 400 !important;
  }

  body.fc-page-8770 .hero-feature.product .image-28 {
    content: url("/wp-content/uploads/2025/12/Asset_fondea.webp") !important;
    position: absolute !important;
    inset: auto 0 -32px -40% !important;
    margin-bottom: 0 !important;
  }
}

/* [02] Funcionamiento y costos mobile — referencia Figma 375x2048.
 * En teléfono se usa el stack alterno `.feature-cards`. La exportación base
 * mostraba assets casi cuadrados, tarjetas con gutters y textos 24/18 en
 * pesos 500/300; la referencia usa mockups verticales, tarjetas edge-to-edge
 * y una jerarquía más compacta y firme. */
@media (max-width: 479px) {
  body.fc-page-8770 .feature-display {
    background: #fff;
  }

  body.fc-page-8770 .feature-display > .section-container {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 64px 22px 82px;
    background: #fff;
  }

  body.fc-page-8770 .feature-display > .section-container .section-wrapper {
    display: block;
    width: 100%;
  }

  body.fc-page-8770 .feature-display .section-headline-display {
    width: 100%;
    margin: 0;
  }

  body.fc-page-8770 .feature-display .section-headline-display.recovery {
    display: block;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0;
    text-align: center;
  }

  body.fc-page-8770 .feature-display .section-headline-display.recovery i {
    font-family: "Instrument Serif", serif;
    font-weight: 500;
  }

  body.fc-page-8770 .feature-cards {
    gap: 18px;
    width: 100%;
    padding: 0 18px;
    background: #fff;
  }

  body.fc-page-8770 .feature-cards .f-card {
    box-sizing: border-box;
    width: 100%;
    height: 649px;
    min-height: 649px;
    padding: 43px 40px 0;
    border-radius: 20px;
    background: #f8f8f8;
    overflow: hidden;
  }

  body.fc-page-8770 .feature-cards .f-card-eyebrow-wrapper {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 33px;
    margin: 0 auto;
    padding: 7px 14px;
    border: 1px solid #939999;
    border-radius: 4px;
  }

  body.fc-page-8770 .feature-cards .f-card-eyebrow {
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.fc-page-8770 .feature-cards .f-card-title {
    margin: 28px 0 0 !important;
    color: #191a1a;
    font-family: "Inter V", "Inter", sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    text-align: center;
  }

  body.fc-page-8770 .feature-cards .f-card-subtitle {
    margin: 20px 0 0 !important;
    padding: 0;
    color: #191a1a;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.32px;
    text-align: center;
  }

  body.fc-page-8770 .feature-cards .f-card-image-wrapper {
    flex: 0 0 393px;
    width: 262px;
    height: 393px;
    margin: 42px auto 0;
    padding: 0;
    border-radius: 24px 24px 0 0;
    overflow: visible;
  }

  body.fc-page-8770 .feature-cards .f-card-image {
    display: block;
    position: static;
    inset: auto;
    width: 262px;
    max-width: none;
    height: 393px;
    object-fit: contain;
    transform: none !important;
  }

  body.fc-page-8770 .feature-cards .f-card:first-child .f-card-image {
    content: url("/wp-content/uploads/2025/12/image.webp");
  }

  body.fc-page-8770 .feature-cards .f-card:nth-child(2) .f-card-image {
    content: url("/wp-content/uploads/2025/12/image-1.png");
  }

  body.fc-page-8770 .section-container-copy {
    box-sizing: border-box;
    width: 100%;
    padding: 18px 18px 0;
    background: #fff;
  }

  body.fc-page-8770 .section-container-copy > .section-wrapper {
    display: none;
  }

  body.fc-page-8770 .credit-pricing-3 {
    box-sizing: border-box;
    width: 100%;
    height: 508px;
    margin: 0;
    padding: 44px 18px 40px;
    border-radius: 20px;
    background: #f8f8f8;
    overflow: hidden;
  }

  body.fc-page-8770 .credit-pricing-3 .section-heading._2 {
    margin: 0 0 0 6px !important;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  body.fc-page-8770 .credit-pricing-3 .simple-credit-list {
    margin: 40px 0 0;
  }

  body.fc-page-8770 .credit-pricing-3 .linealistado-3 {
    box-sizing: border-box;
    min-height: 46px;
    padding: 10px 0 11px;
    border-top: 0;
    border-bottom: 1px solid #191a1a;
  }

  body.fc-page-8770 .credit-pricing-3 .linealistado-3:first-child {
    border-top: 1px solid #191a1a;
  }

  body.fc-page-8770 .credit-pricing-3 .paragraph-18,
  body.fc-page-8770 .credit-pricing-3 .paragraph-18.big {
    margin: 0;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
  }

  body.fc-page-8770 .credit-pricing-3 .paragraph-18.right-align,
  body.fc-page-8770 .credit-pricing-3 .paragraph-18.big,
  body.fc-page-8770 .credit-pricing-3 .bold-text-4 {
    font-size: 16px;
    font-weight: 650;
  }

  body.fc-page-8770 .credit-pricing-3 .table-legal.peque._2 {
    margin: 16px 0 0;
    color: #626666;
    font-family: "Inter V", "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    text-align: justify;
  }
}

/* [03] FAQ — núcleo canónico del acordeón de Metal y composición FAQ.
 * Los SVG inline evitan depender del asset remoto de Webflow, que dejaba la
 * caja del icono en 0px cuando fallaba la descarga. */
body.fc-page-8770 .faqs {
  box-sizing: border-box;
  padding: 176px 0 145px;
  background: #fff;
}

body.fc-page-8770 .faqs .faqs-container {
  box-sizing: border-box;
  padding-right: 12%;
  padding-left: 12%;
}

body.fc-page-8770 .faqs .content_wrapper {
  gap: 4px;
  align-items: flex-start;
}

body.fc-page-8770 .faqs .headinghero.f-compras-faq {
  margin: 0 !important;
  font-family: "Instrument Serif", serif !important;
  font-size: clamp(30px, calc(25px + 8 * ((300vw - 320px) / 960)), 60px) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

body.fc-page-8770 .faqs .faqs-wrapper {
  gap: 0;
}

body.fc-page-8770 .faqs .faqs-item {
  gap: 0;
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid #d3d3d3;
}

body.fc-page-8770 .faqs .faqs-item-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

body.fc-page-8770 .faqs .faqs-item-container {
  flex: 1 1 auto;
  min-width: 0;
}

body.fc-page-8770 .faqs .faqs-item-headline {
  width: 100%;
}

body.fc-page-8770 .faqs .benefits-heading,
body.fc-page-8770 .faqs .faqs_headline {
  margin: 0;
  font-family: "Inter V", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
}

body.fc-page-8770 .faqs .faqs-item-trigger > p {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  line-height: 0;
}

body.fc-page-8770 .faqs .faqs-item-trigger svg {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  transform: none;
}

body.fc-page-8770 .faqs .faqs-item-trigger[aria-expanded="true"] svg {
  transform: none !important;
}

body.fc-page-8770 .faqs .faqs-item-trigger[aria-expanded="true"] svg path:first-child {
  display: none;
}

body.fc-page-8770 .faqs .accordion-item-content {
  box-sizing: border-box;
  height: 0 !important;
  margin: 0;
  padding: 0 48px 0 0;
}

body.fc-page-8770 .faqs .faqs-item-trigger[aria-expanded="true"] + .accordion-item-content {
  height: auto !important;
  margin-top: 20px;
}

body.fc-page-8770 .faqs .accordion-item-content p {
  margin: 0;
  padding: 0 !important;
  color: #000;
  font-family: "Inter V", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}

body.fc-page-8770 .faqs .accordion-item-content p + p {
  margin-top: 12px;
}

body.fc-page-8770 .faqs .link-3 {
  display: inline-flex;
  width: auto;
  margin-top: 20px;
  font-family: "Inter V", "Inter", sans-serif;
  font-size: 18px !important;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
}

body.fc-page-8770 .faqs .faqs-item-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body.fc-page-8770 .faqs {
    padding: 56px 20px;
  }

  body.fc-page-8770 .faqs .faqs-container {
    padding: 0;
  }

  body.fc-page-8770 .faqs .content_wrapper {
    gap: 32px;
  }

  body.fc-page-8770 .faqs .headinghero.f-compras-faq {
    white-space: normal;
  }

  body.fc-page-8770 .faqs .benefits-heading,
  body.fc-page-8770 .faqs .faqs_headline {
    font-size: 16px;
    line-height: 22px;
  }

  body.fc-page-8770 .faqs .accordion-item-content {
    padding-right: 48px;
  }

  body.fc-page-8770 .faqs .accordion-item-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }

  body.fc-page-8770 .faqs .link-3 {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 28px;
  }
}

/* [04] Registro / lista de espera — el titular heredaba 40px/500 de Webflow.
 * Se devuelve al mismo peso Regular del cover y se separa la línea serif para
 * conservar la jerarquía de la referencia sin modificar el footer compartido. */
body.fc-page-8770 .footer {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0;
  overflow: visible !important;
}

body.fc-page-8770 .footer .containerfoooter {
  height: auto !important;
  overflow: visible !important;
}

body.fc-page-8770 .footer .abretucuenta {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 512px;
  padding: 0;
}

body.fc-page-8770 .footer .footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0;
}

body.fc-page-8770 .footer .footer-wrapper {
  gap: 10px;
}

body.fc-page-8770 .footer .footer-split {
  gap: 24px;
  width: 100%;
  max-width: 1100px;
}

body.fc-page-8770 .footer .text-2xl.is-dm {
  margin: 0;
  font-family: "Inter V", "Inter", sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: -0.32px;
}

body.fc-page-8770 .footer .fc-compras-register__serif {
  font-family: "Instrument Serif", serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: 0;
}

body.fc-page-8770 .footer .text-base.is-center.is-dm {
  margin: 0;
  font-family: "Inter V", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
}

body.fc-page-8770 .footer #button-open-form.primmary-btn.lm {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 48px;
  margin: 0;
  padding: 0 20px !important;
  font-family: "Inter V", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

@media (max-width: 767px) {
  body.fc-page-8770 .footer .abretucuenta {
    height: auto;
    min-height: 460px;
    padding: 72px 0;
  }

  body.fc-page-8770 .footer .footer-wrapper {
    gap: 32px;
    width: 100%;
  }

  body.fc-page-8770 .footer .footer-split {
    gap: 20px;
  }

  body.fc-page-8770 .footer .text-2xl.is-dm {
    font-size: 40px;
    line-height: 44px;
  }

  body.fc-page-8770 .footer .fc-compras-register__serif {
    font-size: 44px;
    line-height: 44px;
  }

  body.fc-page-8770 .footer .text-base.is-center.is-dm {
    font-size: 16px;
    line-height: 24px;
  }

  body.fc-page-8770 .footer #button-open-form.primmary-btn.lm {
    width: 140px;
  }
}

/* [05] Wordmark final — mismo componente que Personal. En móvil la medición de
 * initFooterLogoFit() necesita una sola línea y una caja con padding estable para
 * poder escalar FONDEADORA® exactamente al ancho disponible. */
@media (max-width: 479px) {
  body.fc-page-8770 .footer .div-block-28 {
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 20px 32px !important;
    overflow: hidden !important;
  }

  body.fc-page-8770 .footer .fondlogo {
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 12vw !important;
    line-height: 1 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
}
