/*
 * Secciones propias de Insumos First Pro (nosotros, homologaciones, First Pro
 * USA, páginas de texto, portada ampliada). Usa las variables de shared.css:
 * --black (azul marino), --red (naranja de marca), --guinda (azul de marca).
 */

:root {
    --fp-blue: #152c63;
    --fp-blue-dark: #0e1f47;
    --fp-orange: #e36010;
    --fp-orange-dark: #c24f0b;
    --fp-navy: #152c63;
    --fp-ink: #17202f;
    --fp-muted: #5b6475;
    --fp-line: #e3e7ef;
    --fp-soft: #f4f6fa;
    --fp-radius: 14px;
}

.fp-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.fp-section { padding: 88px 0; background: #fff; font-family: 'Montserrat', Arial, sans-serif; color: var(--fp-ink); }
.fp-section--soft { background: var(--fp-soft); }
.fp-section--navy { background: var(--fp-navy); color: #fff; }
.fp-eyebrow { display: inline-block; margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-orange); }
.fp-title { max-width: 26ch; margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; color: inherit; }
.fp-title span { color: var(--fp-orange); }
.fp-lead { margin: 0 0 8px; max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--fp-muted); }
.fp-section--navy .fp-lead { color: rgba(255, 255, 255, .78); }
.fp-center { text-align: center; }
.fp-center .fp-lead { margin-left: auto; margin-right: auto; }
.fp-rule { display: block; width: 56px; height: 4px; margin: 0 0 22px; border-radius: 4px; background: var(--fp-orange); }
.fp-center .fp-rule { margin-left: auto; margin-right: auto; }
.fp-center .fp-title { margin-left: auto; margin-right: auto; }

.fp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s, transform .2s; }
.fp-btn--orange { background: var(--fp-orange); color: #fff; }
.fp-btn--orange:hover { background: var(--fp-orange-dark); }
.fp-btn--blue { background: var(--fp-blue); color: #fff; }
.fp-btn--blue:hover { background: var(--fp-blue-dark); }
.fp-btn--ghost { border: 2px solid currentColor; color: inherit; }

/* Cabecera de las páginas internas */
.fp-hero { position: relative; overflow: hidden; background: var(--fp-navy); color: #fff; font-family: 'Montserrat', Arial, sans-serif; }
.fp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.fp-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--fp-navy) 0%, rgba(21, 44, 99, .82) 45%, rgba(21, 44, 99, .25) 100%); }
.fp-hero__inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 110px 32px 96px; }
.fp-hero h1 { margin: 0 0 16px; max-width: 760px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; font-weight: 800; }
.fp-hero h1 span { color: var(--fp-orange); }
.fp-hero p { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.fp-hero .fp-btn { margin-top: 28px; }
.fp-crumbs { margin: 0 0 18px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.fp-crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }

/* Tarjetas con foto (servicios) */
.fp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.fp-card { background: #fff; border: 1px solid var(--fp-line); border-radius: var(--fp-radius); overflow: hidden; box-shadow: 0 14px 34px rgba(15, 30, 70, .06); }
.fp-card__img { aspect-ratio: 4 / 3; background: var(--fp-soft); }
.fp-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-card__body { padding: 20px 20px 24px; }
.fp-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; color: var(--fp-blue); }
.fp-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fp-muted); }

/* Valores (íconos + texto) */
.fp-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 40px; }
.fp-value { padding: 30px 26px; border-radius: var(--fp-radius); background: #fff; border: 1px solid var(--fp-line); }
.fp-section--navy .fp-value { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.fp-value__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--fp-orange); color: #fff; }
.fp-value__icon svg { width: 26px; height: 26px; }
.fp-value h3 { margin: 0 0 8px; font-size: 18px; }
.fp-value p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--fp-muted); }
.fp-section--navy .fp-value p { color: rgba(255, 255, 255, .75); }

/* Certificaciones */
.fp-certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.fp-cert { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 18px; text-align: center; background: #fff; border: 1px solid var(--fp-line); border-radius: var(--fp-radius); }
.fp-cert img { width: 104px; height: 104px; object-fit: contain; }
.fp-cert strong { font-size: 15px; color: var(--fp-blue); }
.fp-cert span { font-size: 13.5px; line-height: 1.5; color: var(--fp-muted); }

/* Certificaciones y premios (homologaciones): como la web anterior, pastillas azules redondeadas hacia
   afuera a los dos lados y las fotos de los certificados al centro. */
.fp-awards { display: grid; grid-template-columns: 1fr minmax(260px, 340px) 1fr; gap: 24px; align-items: center; margin-top: 48px; }
.fp-awards__col { display: flex; flex-direction: column; gap: 16px; }
.fp-award { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 6px 18px 6px 6px; color: #fff; background: #152c63; border-radius: 100px 0 0 100px; }
.fp-award--right { justify-content: space-between; padding: 6px 6px 6px 18px; border-radius: 0 100px 100px 0; }
.fp-award img { flex: 0 0 92px; width: 92px; height: 92px; object-fit: contain; border-radius: 50%; background: #fff; }
.fp-award div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fp-award strong { font-size: 19px; font-weight: 800; line-height: 1.2; }
.fp-award span { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .92); }
.fp-awards__slider { position: relative; height: 640px; overflow: hidden; border-radius: 30px; background: var(--fp-soft); box-shadow: 0 18px 40px rgba(21, 44, 99, .12); }
.fp-awards__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.fp-awards__slide.is-active { opacity: 1; }
.fp-awards__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.fp-awards__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.fp-awards__dots button.is-active { background: #fff; }
@media (prefers-reduced-motion: reduce) { .fp-awards__slide { transition: none; } }
@media (max-width: 980px) {
    .fp-awards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
    .fp-awards__slider { order: 3; height: 520px; }
    .fp-awards__col--right { order: 2; }
}
@media (max-width: 480px) {
    .fp-award { min-height: 88px; }
    .fp-award img { flex-basis: 76px; width: 76px; height: 76px; }
    .fp-award strong { font-size: 17px; }
    .fp-awards__slider { height: 440px; }
}

/* Documentos PDF */
.fp-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 28px; }
.fp-doc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--fp-line); color: var(--fp-ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.fp-doc:hover { border-color: var(--fp-orange); }
.fp-doc svg { flex: none; width: 30px; height: 30px; color: var(--fp-orange); }

/* Logos de clientes */
.fp-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; margin-top: 36px; }
.fp-logos img { max-height: 70px; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.fp-logos img:hover { filter: none; opacity: 1; }

/* Últimas noticias */
.fp-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.fp-news__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fp-line); border-radius: var(--fp-radius); overflow: hidden; text-decoration: none; color: inherit; }
.fp-news__img { aspect-ratio: 16 / 10; background: var(--fp-soft); }
.fp-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-news__body { padding: 18px 20px 22px; }
.fp-news__meta { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fp-orange); }
.fp-news__item h3 { margin: 8px 0 0; font-size: 17px; line-height: 1.4; color: var(--fp-ink); }

/* Llamado a la acción */
.fp-cta { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(110deg, var(--fp-blue) 0%, var(--fp-navy) 70%); color: #fff; font-family: 'Montserrat', Arial, sans-serif; }
.fp-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.fp-cta h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.fp-cta p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 16px; }

/* Dos columnas texto + imagen */
.fp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.fp-split__media img { width: 100%; border-radius: var(--fp-radius); box-shadow: 0 22px 50px rgba(15, 30, 70, .14); display: block; }

/* Puntos con check (First Pro USA) */
.fp-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.fp-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--fp-line); font-weight: 600; line-height: 1.45; }
.fp-checks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--fp-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Horario */
.fp-hours { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 14px; color: inherit; }

/* Texto enriquecido (páginas, blog y descripciones migradas) */
.fp-prose { font-size: 16.5px; line-height: 1.78; color: #2b3242; }
.fp-prose > *:first-child { margin-top: 0; }
.fp-prose h2 { margin: 1.8em 0 .5em; font-size: 26px; line-height: 1.25; color: var(--fp-ink); }
.fp-prose h3 { margin: 1.6em 0 .4em; font-size: 21px; color: var(--fp-ink); }
.fp-prose h4, .fp-prose h5 { margin: 1.4em 0 .3em; font-size: 18px; color: var(--fp-ink); }
.fp-prose p { margin: 0 0 1.05em; }
.fp-prose ul, .fp-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.fp-prose li { margin: .3em 0; }
.fp-prose a { color: var(--fp-blue); font-weight: 600; }
.fp-prose img { max-width: 100%; height: auto; border-radius: 10px; margin: .6em 0; }
.fp-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--fp-orange); color: var(--fp-muted); }
.fp-prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 15px; }
.fp-prose th, .fp-prose td { padding: 10px 12px; border: 1px solid var(--fp-line); text-align: left; vertical-align: top; }
.fp-prose th { background: var(--fp-soft); }

.fp-page { max-width: 860px; margin: 0 auto; padding: 64px 32px 90px; }

/* 404 */
.fp-404 { padding: 120px 32px; text-align: center; font-family: 'Montserrat', Arial, sans-serif; }
.fp-404 strong { display: block; font-size: 96px; line-height: 1; color: var(--fp-orange); }
.fp-404 h1 { margin: 18px 0 10px; font-size: 30px; color: var(--fp-ink); }
.fp-404 p { margin: 0 auto 28px; max-width: 520px; color: var(--fp-muted); line-height: 1.6; }
.fp-404 .fp-btn + .fp-btn { margin-left: 10px; }

/* Buscador del catálogo */
.products-search { display: flex; align-items: center; gap: 8px; min-width: 240px; padding: 0 14px; height: 42px; border: 1px solid #d8dde7; border-radius: 4px; background: #fff; }
.products-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14px; background: transparent; }
.products-search svg { width: 18px; height: 18px; color: var(--fp-muted); }

@media (max-width: 1024px) {
    .fp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .fp-section { padding: 64px 0; }
    .fp-container { padding: 0 20px; }
    .fp-hero__inner { padding: 80px 20px 70px; }
    .fp-cards, .fp-values, .fp-news { grid-template-columns: 1fr; }
    .fp-split { grid-template-columns: 1fr; gap: 32px; }
    .fp-cta__inner { flex-direction: column; align-items: flex-start; }
    .fp-page { padding: 44px 20px 70px; }
    .products-search { min-width: 0; width: 100%; }
}

/* Portada: 8 líneas de productos con íconos de trazo */
.categories__grid--8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 18px; }
.categories__grid--8 .category-item { text-decoration: none; text-align: center; }
.categories__grid--8 .category-item__icon { width: 96px; height: 96px; border-radius: 50%; background: #eef2fa; color: var(--fp-blue); transition: background .2s, color .2s; }
.categories__grid--8 .category-item:hover .category-item__icon { background: var(--fp-orange); color: #fff; }
.categories__grid--8 .category-item__icon svg { width: 46px; height: 46px; }
.categories__grid--8 .category-item__label { font-size: 13px; line-height: 1.4; }
.footer__col .footer__hours { margin-top: 6px; font-size: 13px; line-height: 1.6; }
@media (max-width: 760px) {
    .categories__grid--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Páginas propias de First Pro (nosotros, homologaciones, First Pro USA, páginas
   del panel, 404): igual que las de la tienda y el blog, rompen el ancho del
   .page-shell para que las franjas lleguen a los bordes de la pantalla. */
.site-main.fp-wide {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
}
.page-shell:has(.fp-wide) { padding-bottom: 0; }
.page-shell:has(.fp-wide) + .site-footer { margin-top: 0; }

/* styles.css (heredado) limita h1/h2 a 11-14 caracteres de ancho para los
   banners de Lumatay; en las secciones de First Pro eso partía los títulos en
   tres líneas. Especificidad mínima para que .fp-title siga mandando. */
:where(.fp-wide, .fp-section, .fp-cta, .fp-prose, .fp-page, .fp-404, .fp-hero) :is(h1, h2) { max-width: none; }

/* Certificados de la portada: 4 por fila (8 = 4 arriba y 4 abajo). */
@media (max-width: 900px) { .fp-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------
 * Portada dinámica: entrada animada al hacer scroll, cifras, videos
 * cortos y filas alternadas foto/video + texto («Así trabajamos»).
 * Las animaciones solo se activan si hay JavaScript y el visitante no
 * pidió «reducir movimiento» (clase .fp-anim en <html>); sin eso todo
 * se ve normal desde el inicio (y Google lo lee completo).
 * ------------------------------------------------------------------ */
.fp-anim [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--fp-i, 0) * 110ms);
    will-change: opacity, transform;
}
.fp-anim [data-reveal][data-reveal-from="left"] { transform: translate3d(-48px, 0, 0); }
.fp-anim [data-reveal][data-reveal-from="right"] { transform: translate3d(48px, 0, 0); }
.fp-anim [data-reveal].is-in { opacity: 1; transform: none; }
.fp-anim .hero__content[data-reveal] { transition-duration: .9s; }

/* videos: mismo encuadre que las fotos */
.media-frame video, .fp-card__img video, .fp-showcase__media video, .fp-showcase__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media video.hero__media-img { display: block; }
.fp-card__img { overflow: hidden; }
.fp-card__img img, .fp-card__img video { transition: transform .6s ease; }
.fp-card:hover .fp-card__img img, .fp-card:hover .fp-card__img video { transform: scale(1.05); }

/* cifras */
.fp-stats { background: linear-gradient(120deg, var(--fp-blue-dark), var(--fp-blue)); color: #fff; padding: 56px 0; font-family: 'Montserrat', Arial, sans-serif; }
.fp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.fp-stat { display: flex; flex-direction: column; gap: 8px; padding: 8px 12px; border-left: 1px solid rgba(255, 255, 255, .14); }
.fp-stat:first-child { border-left: 0; }
.fp-stat__value { font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1; color: #fff; }
.fp-stat__value span { font-variant-numeric: tabular-nums; }
.fp-stat__label { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .82); }

/* así trabajamos: filas alternadas */
.fp-showcase__row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin-top: 64px; }
.fp-showcase__row--rev .fp-showcase__media { order: 2; }
.fp-showcase__media { border-radius: var(--fp-radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--fp-soft); box-shadow: 0 24px 48px rgba(15, 30, 70, .12); }
.fp-showcase__num { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--fp-orange); margin-bottom: 10px; }
.fp-showcase__text h3 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: var(--fp-blue); }
.fp-showcase__text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--fp-muted); max-width: 52ch; }

@media (max-width: 900px) {
    .fp-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .fp-stat:nth-child(3) { border-left: 0; }
    .fp-showcase__row { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
    .fp-showcase__row--rev .fp-showcase__media { order: 0; }
}
@media (max-width: 520px) {
    .fp-container { padding: 0 16px; }
    .fp-stats { padding: 40px 0; }
    .fp-stat__label { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-card__img img, .fp-card__img video { transition: none; }
    .fp-card:hover .fp-card__img img, .fp-card:hover .fp-card__img video { transform: none; }
}

/* ---- Mejoras nov-2026: por qué elegirnos, marcas, CTA, ISO con alcance ---- */
.fp-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.fp-why__item { padding: 28px 26px; background: #fff; border: 1px solid var(--fp-line); border-radius: var(--fp-radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.fp-why__item:hover { border-color: rgba(227, 96, 16, .45); box-shadow: 0 14px 30px rgba(15, 30, 70, .08); transform: translateY(-3px); }
.fp-why__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; background: rgba(227, 96, 16, .1); color: var(--fp-orange); }
.fp-why__icon svg { width: 26px; height: 26px; }
.fp-why__item h3 { margin: 0 0 8px; font-size: 17px; color: var(--fp-blue); }
.fp-why__item p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fp-muted); }

.fp-brands { padding: 44px 0 52px; background: var(--fp-soft); font-family: 'Montserrat', Arial, sans-serif; }
.fp-brands .fp-eyebrow { display: block; margin-bottom: 20px; color: var(--fp-muted); }
.fp-brands__wrap { position: relative; display: flex; align-items: center; gap: 10px; }
.fp-brands__track { display: flex; gap: 18px; flex: 1; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px; }
.fp-brands__track::-webkit-scrollbar { display: none; }
.fp-brands__item { flex: 0 0 calc((100% - 5 * 18px) / 6); display: grid; place-items: center; height: 86px; padding: 12px 16px; scroll-snap-align: start; text-decoration: none; background: #fff; border: 1px solid var(--fp-line); border-radius: 12px; }
.fp-brands__item img { max-width: 100%; max-height: 52px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.fp-brands__name { font-size: 17px; font-weight: 800; letter-spacing: .02em; text-align: center; color: #8a92a3; transition: color .25s; }
.fp-brands__item:hover img { filter: none; opacity: 1; }
.fp-brands__item:hover .fp-brands__name { color: var(--fp-blue); }
.fp-brands__nav { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--fp-ink); cursor: pointer; }
.fp-brands__nav:hover { background: #fff; }
.fp-brands__nav svg { width: 26px; height: 26px; }

.fp-cert--link { text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.fp-cert--link:hover { border-color: rgba(227, 96, 16, .5); box-shadow: 0 12px 28px rgba(15, 30, 70, .08); transform: translateY(-3px); }
.fp-cert__more { font-style: normal; font-size: 13px; font-weight: 700; color: var(--fp-orange); }

.fp-cta { padding: 0 0 88px; background: #fff; font-family: 'Montserrat', Arial, sans-serif; }
.fp-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 44px; border-radius: 20px; background: var(--fp-navy); color: #fff; }
.fp-cta__copy h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 800; }
.fp-cta__copy p { margin: 0; max-width: 620px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.fp-cta__copy strong { color: #fff; }
.fp-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.fp-cta__asesor { color: #fff; border-color: rgba(255, 255, 255, .7); }
.fp-cta__asesor:hover { background: #fff; color: var(--fp-navy); }

.fp-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.fp-scope__item { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--fp-line); border-radius: var(--fp-radius); scroll-margin-top: 110px; }
.fp-scope__item:target { border-color: var(--fp-orange); box-shadow: 0 0 0 3px rgba(227, 96, 16, .18); }
.fp-scope__item img { flex: 0 0 auto; width: 84px; height: 84px; object-fit: contain; }
.fp-scope__item h3 { margin: 0 0 4px; font-size: 18px; color: var(--fp-blue); }
.fp-scope__item .fp-scope__sys { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--fp-orange); }
.fp-scope__item .fp-scope__txt { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--fp-muted); }
.fp-scope__item .fp-scope__txt strong { color: var(--fp-ink); }

@media (max-width: 980px) {
    .fp-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-brands__item { flex-basis: calc((100% - 3 * 18px) / 4); }
    .fp-cta__box { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
    .fp-scope { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .fp-why__grid { grid-template-columns: 1fr; }
    .fp-brands__item { flex-basis: calc((100% - 18px) / 2); height: 72px; }
    .fp-brands__nav { display: none; }
    .fp-scope__item { flex-direction: column; }
}
.fp-scope__txt a { color: var(--fp-orange); font-weight: 600; }
.fp-scope__item .fp-scope__orig { margin: 8px 0 0; font-size: 13px; font-style: italic; line-height: 1.55; color: #8a92a3; }
.fp-scope__item .fp-scope__meta { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--fp-muted); }
.fp-scope__item .fp-scope__meta a { color: var(--fp-orange); font-weight: 600; }
.fp-scope__pdf { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--fp-blue); text-decoration: none; }
.fp-scope__pdf:hover { color: var(--fp-orange); }
.fp-brands__item img { filter: none; opacity: 1; max-height: 56px; }
