@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&display=swap');

@font-face {
    font-family: 'N27';
    src: url('../N27-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'N27';
    src: url('../N27-Bold.otf') format('opentype');
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

/* TipografÃ­a base de todos los shortcodes pÃºblicos del plugin. */
.nw-simulador-wrapper,
.nw-simulador-content-wrapper,
.nw-resultado-pagina,
.nw-oferta,
.nw-testimonios-section,
.steps-container,
.nw-custom-benefits-section {
    font-family: 'Familjen Grotesk', sans-serif !important;
}

/* Evita que estilos heredados del tema o de Elementor inyecten otra fuente. */
.nw-simulador-wrapper *,
.nw-simulador-content-wrapper *,
.nw-resultado-pagina *,
.nw-oferta *,
.nw-testimonios-section *,
.steps-container *,
.nw-custom-benefits-section * {
    font-family: 'Familjen Grotesk', sans-serif !important;
}

/* Encabezados, cifras principales y controles. */
.nw-simulador-wrapper h1, .nw-simulador-wrapper h2, .nw-simulador-wrapper h3, .nw-simulador-wrapper h4, .nw-simulador-wrapper h5, .nw-simulador-wrapper h6,
.nw-simulador-wrapper label, .nw-simulador-wrapper button,
.nw-simulador-content-wrapper h1, .nw-simulador-content-wrapper h2, .nw-simulador-content-wrapper h3, .nw-simulador-content-wrapper h4, .nw-simulador-content-wrapper h5, .nw-simulador-content-wrapper h6,
.nw-resultado-pagina h1, .nw-resultado-pagina h2, .nw-resultado-pagina h3, .nw-resultado-pagina h4, .nw-resultado-pagina strong, .nw-resultado-pagina button, .nw-resultado-pagina th,
.nw-oferta h1, .nw-oferta h2, .nw-oferta h3, .nw-oferta strong, .nw-oferta button, .nw-oferta__cta, .nw-oferta__ayuda strong, .nw-oferta__ayuda-btn,
.nw-testimonios-titulo, .nw-testimonios-firma strong,
.steps-container .step-title,
.nw-custom-benefits-section .nw-card-title, .nw-custom-benefits-section .nw-card-footer-gradient,
.nw-card-number, .nw-metric-card strong {
    font-family: 'N27', sans-serif !important;
}

/* Textos de lectura y descripciones. */
.nw-oferta p, .nw-oferta span, .nw-oferta small, .nw-oferta__item,
.nw-testimonios-section p, .nw-testimonios-section span,
.steps-container .step-description,
.nw-custom-benefits-section .nw-card-desc, .nw-custom-benefits-section .nw-footer-muted,
.nw-info-desc, .nw-card-subtext, .nw-form-description, .nw-form-subtitle {
    font-family: 'Familjen Grotesk', sans-serif !important;
}
