/* Páginas de producto: recorrido claro y lo importante destacado. */

/* ---------- Portada del producto */
.pd-head { padding-bottom: 0; }
.pd-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pd-card-head { display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 3.4vw, 46px) !important; }
.pd-card-head h1 { font-size: clamp(2.4rem, 4.2vw, 3.9rem) !important; line-height: .98; max-width: 11em; margin: 0; }
.pd-card-head .lead { margin: 0; }
.pd-card-head .actions { margin-top: 8px; }
.pd-logo { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -14px rgb(0 0 0 / .6); }
.pd-logo img { height: 30px; width: auto; display: block; }
.pd-eyebrow { margin: 4px 0 0; font: 800 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #FFB27A; }
.pd-shot .mock-wrap { margin: 0; }
.pd-shot .mock { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; box-shadow: 0 50px 90px -40px rgb(8 18 40 / .55); border-radius: 18px; }

/* datos clave: lo primero que hay que saber, grande y a la vista */
.pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(26px, 3vw, 40px); border-radius: 24px; overflow: hidden;
  background: rgb(255 255 255 / .6); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-fact { display: grid; gap: 4px; align-content: start; padding: 22px 24px; }
.pd-fact + .pd-fact { border-left: 1px solid rgb(15 30 61 / .08); }
.pd-fact b { font: 800 clamp(1.35rem, 2vw, 1.8rem)/1.05 var(--head); letter-spacing: -.035em; color: #0F1E3D; }
.pd-fact span { font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.pd-fact:first-child b { color: var(--accent-text, #DA5B00); }

/* ---------- Qué resuelve */
.pd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pd-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border-radius: 24px;
  background: rgb(255 255 255 / .6); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 1px 0 #fff inset, 0 30px 60px -36px rgb(15 30 61 / .4); }
.pd-card::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--accent); }
.pd-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.pd-card p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- Qué incluye + precio, lado a lado */
.pd-offer { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 20px; align-items: start; }
.pd-inc { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgb(255 255 255 / .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-inc h2 { margin: 0 0 22px; }
.pd-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.pd-checks li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid rgb(15 30 61 / .08); font-weight: 600; color: #0F1E3D; font-size: 1rem; line-height: 1.35; }
.pd-checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: #FFF1E6; }
.pd-checks li::after { content: ""; position: absolute; left: 8px; top: 16px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2.2px 2.2px 0; rotate: 42deg; }
.pd-price { position: sticky; top: 100px; display: grid; gap: 8px; padding: 30px 28px; border-radius: 28px; color: #EEF2FA;
  background: rgb(9 24 58 / .88); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 0 0 1px rgb(255 140 50 / .2), 0 0 50px -12px rgb(255 114 0 / .4), 0 40px 80px -40px rgb(8 18 40 / .7); }
.pd-price-k { margin: 0; font: 800 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #FFB27A; }
.pd-amount { margin: 0; font: 800 clamp(2rem, 3vw, 2.7rem)/1 var(--head); letter-spacing: -.04em; color: #fff; }
.pd-sub { margin: 0 0 6px; color: #C3CDE3; font-size: .98rem; }
.pd-price-extra { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.pd-price-extra b { color: #fff; font-size: .98rem; } .pd-price-extra span { color: #C3CDE3; font-size: .92rem; }
.pd-price-cta { display: grid; gap: 10px; margin-top: 10px; }
.pd-price-cta .btn { justify-content: center; }
.pd-price .note { margin: 6px 0 0; color: #9FAAC4; font-size: .84rem; }
.pd-ask { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 20px; border-radius: var(--r); font: 700 1.02rem var(--head);   /* mismo alto que "Pedí una demo" */
  color: #fff; text-decoration: none; border: 1.5px solid rgb(255 255 255 / .22); transition: background .3s, color .3s; }
.pd-ask:hover { background: #fff; color: #0F1E3D; }
.pd-ask .live, .pd-faq .live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgb(34 197 94 / .22); flex: none; }

/* planes (Conversa) */
.pd-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pd-plan { display: grid; gap: 18px; align-content: start; padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: rgb(255 255 255 / .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-plan-hd { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid rgb(15 30 61 / .1); }
.pd-plan h3 { margin: 0; font: 800 .8rem var(--body) !important; letter-spacing: .14em; text-transform: uppercase; color: #5A6480; }
.pd-plan .pd-amount { color: #0F1E3D; } .pd-plan .pd-sub { color: var(--ink-2); }
.pd-plan .pd-checks { grid-template-columns: 1fr; }
.pd-plan.hot { background: rgb(9 24 58 / .88); border-color: rgb(255 255 255 / .14); color: #EEF2FA;
  box-shadow: 0 0 0 1px rgb(255 140 50 / .25), 0 0 50px -12px rgb(255 114 0 / .45), 0 40px 80px -40px rgb(8 18 40 / .7); }
.pd-plan.hot h3 { color: #FFB27A; } .pd-plan.hot .pd-amount { color: #fff; } .pd-plan.hot .pd-sub { color: #C3CDE3; }
.pd-plan.hot .pd-plan-hd { border-color: rgb(255 255 255 / .12); }
.pd-plan.hot .pd-checks li { color: #EEF2FA; border-color: rgb(255 255 255 / .1); }
.pd-plan.hot .pd-checks li::before { background: rgb(255 114 0 / .2); }
.pd-offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.pd-offer-foot .note { margin: 0; }
.pd-offer-foot .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pd-offer-foot .pd-ask { color: #0F1E3D; border-color: rgb(15 30 61 / .2); background: rgb(255 255 255 / .55); }
.pd-offer-foot .pd-ask:hover { background: #0F1E3D; color: #fff; }

/* ---------- Cómo se pone en marcha + con qué se combina */
.pd-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: stretch; }
.pd-steps-box, .pd-combos-box, .pd-who { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgb(255 255 255 / .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-steps-box h2, .pd-combos-box h2, .pd-who h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.6rem) !important; }
.pd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.pd-steps::before { content: ""; position: absolute; left: 11px; right: 30%; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), rgb(255 114 0 / .15)); }
.pd-steps li { position: relative; display: grid; gap: 6px; align-content: start; padding-top: 40px; }
.pd-dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); box-shadow: 0 0 0 5px rgb(255 114 0 / .14); }
.pd-steps li:last-child .pd-dot { background: var(--accent); }
.pd-steps b { font: 800 1.12rem/1.2 var(--head); letter-spacing: -.02em; color: #0F1E3D; min-height: 2.4em; }   /* si un título ocupa dos líneas, las descripciones siguen alineadas */
.pd-steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.pd-combos { display: grid; gap: 12px; }
.pd-combo { display: grid; gap: 8px; padding: 16px 18px; border-radius: 18px; background: rgb(255 255 255 / .7); border: 1px solid rgb(15 30 61 / .08);
  text-decoration: none; color: var(--ink-2); font-size: .95rem; line-height: 1.4; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s; }
.pd-combo-logo img { height: 24px; width: auto; display: block; }
.pd-combo-logo b { font: 800 1.15rem var(--head); color: #0F1E3D; letter-spacing: -.02em; }
.pd-combo:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 114 0 / .12), 0 18px 30px -18px rgb(15 30 61 / .4); }

/* ---------- Quién lo usa */
.pd-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }   /* centrados, sin hueco a la derecha */
.pd-logos li { width: 124px; flex: none; }
.pd-logos li { aspect-ratio: 1; border-radius: 18px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 22px -16px rgb(15 30 61 / .45);
  transition: transform .35s cubic-bezier(.16,1,.3,1); }
.pd-logos li:hover { transform: translateY(-3px); }
.pd-logos img { width: 76%; height: 76%; object-fit: contain; }
.pd-names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pd-names span { padding: 7px 13px; border-radius: 99px; background: rgb(255 255 255 / .7); border: 1px solid rgb(15 30 61 / .08); font: 700 .9rem var(--head); color: #0F1E3D; }

/* ---------- Preguntas: título y salida al agente a la izquierda, respuestas a la derecha */
.pd-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd-faq-side { display: grid; gap: 14px; justify-items: start; position: sticky; top: 110px; }
.pd-faq-side h2 { margin: 0; }
.pd-faq-side p { margin: 0; color: var(--ink-2); }
.pd-faq-side .btn-agent i.live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgb(34 197 94 / .2); }
.pd-faq .faq { margin: 0; }

/* ---------- Celular */
@media (max-width: 1000px) {
  .pd-hero, .pd-offer, .pd-two, .pd-faq { grid-template-columns: 1fr; }
  .pd-price, .pd-faq-side { position: static; }
  .pd-facts { grid-template-columns: 1fr 1fr; }
  .pd-fact:nth-child(3) { border-left: 0; }
  .pd-fact:nth-child(n+3) { border-top: 1px solid rgb(15 30 61 / .08); }
  .pd-shot .mock { transform: none; }
}
@media (max-width: 700px) {
  .pd-cards, .pd-plans, .pd-steps, .pd-checks { grid-template-columns: 1fr; }
  .pd-steps { gap: 22px; padding-left: 38px; }
  .pd-steps b { min-height: 0; }
  .pd-steps::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(var(--accent), rgb(255 114 0 / .15)); }
  .pd-steps li { padding-top: 0; }
  .pd-dot { left: -38px; }
  .pd-fact { padding: 16px; }
  .pd-fact b { font-size: 1.25rem; }
  .pd-card-head h1 { font-size: clamp(2.2rem, 10vw, 2.8rem) !important; }
  .pd-logos { gap: 8px; }
  .pd-logos li { width: calc((100% - 24px) / 4); }
  .pd-logos li { border-radius: 14px; }
  .pd-inc, .pd-steps-box, .pd-combos-box, .pd-who, .pd-plan { padding: 22px 18px; border-radius: 22px; }
}
/* botones sobre los bloques oscuros del precio: se rellenan de blanco */
:is(.pd-price, .pd-plan.hot) :is(.btn-primary, .btn-ghost):is(:hover, :focus-visible) { --fill: #fff; color: #0F1E3D !important; }

/* ---------- Soluciones por negocio */
.so-head .pd-card-head h1 { max-width: 12em; }
.so-pain::before { display: none; }
.so-old { position: relative; margin: 0; padding-left: 26px; color: var(--ink-2); font-size: .98rem; text-decoration: line-through; text-decoration-color: rgb(218 91 0 / .45); text-decoration-thickness: 1.5px; }
.so-old::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(15 30 61 / .25); }
.so-pain h3 { position: relative; padding-left: 26px; }
.so-pain h3::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.so-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.so-prods.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.so-prod { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 28px 26px; border-radius: 26px; background: rgb(255 255 255 / .66);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -36px rgb(15 30 61 / .4); }
.so-logo { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 12px; border-radius: 12px; background: #fff; box-shadow: 0 10px 22px -16px rgb(15 30 61 / .5); }
.so-logo img { height: 28px; width: auto; display: block; }
.so-name { font: 800 1.2rem var(--head); letter-spacing: -.02em; color: #0F1E3D; }
.so-prod > p { margin: 0; font: 700 1.12rem/1.3 var(--head); color: #0F1E3D; letter-spacing: -.015em; }
.so-prod .pd-checks { grid-template-columns: 1fr; width: 100%; }
.so-prod .pd-checks li { font-weight: 500; font-size: .96rem; padding-block: 10px; }
.so-prod .pd-checks li::before { top: 9px; } .so-prod .pd-checks li::after { top: 13px; }
.so-prod .link, .so-prod .p-links { margin-top: auto; }
.so-head .pd-who .link, .pd-two .pd-who .link { display: inline-block; margin-top: 18px; }
.pd-two:has(> .pd-who) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pd-two .pd-who .pd-logos { justify-content: flex-start; }
.pd-two .pd-who .pd-logos li { width: 92px; }

/* casos con testimonio (se muestran solo cuando hay alguno cargado) */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 18px; }
.case { display: grid; gap: 16px; padding: 28px 26px; border-radius: 26px; background: rgb(255 255 255 / .66); border: 1px solid rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 30px 60px -36px rgb(15 30 61 / .4); }
.case-hd { display: flex; align-items: center; gap: 12px; } .case-hd img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #fff; }
.case-hd b { font: 800 1.2rem var(--head); color: #0F1E3D; }
.case dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; } .case dt { font: 800 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text, #DA5B00); }
.case dd { margin: 2px 0 0; color: #0F1E3D; font-size: .96rem; }
.case blockquote { margin: 0; padding-top: 14px; border-top: 1px solid rgb(15 30 61 / .08); } .case blockquote p { margin: 0; font: 600 1.05rem/1.4 var(--head); color: #0F1E3D; }
.case blockquote footer { margin-top: 8px; color: var(--ink-2); font-size: .9rem; }

@media (max-width: 1000px) {
  .so-prods, .so-prods.n2, .pd-two:has(> .pd-who) { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .so-prod { padding: 22px 18px; border-radius: 22px; }
  .pd-two .pd-who .pd-logos li { width: calc((100% - 24px) / 4); }
  .case dl { grid-template-columns: 1fr; }
}
.pd-two.solo1 { grid-template-columns: 1fr; }

/* ---------- Todo lo que hace: pestañas por área */
.md { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgb(255 255 255 / .6); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); display: grid; gap: 22px; }
.md-hd { display: grid; gap: 8px; }
.md-hd h2 { margin: 0; }
.md-hd p { margin: 0; color: var(--ink-2); max-width: 46em; }
.md-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.md-tabs button { padding: 10px 16px; border-radius: 99px; border: 1px solid rgb(15 30 61 / .12); background: rgb(255 255 255 / .75); color: #2B3554; font: 700 .95rem var(--head); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s; }
.md-tabs button:hover { border-color: var(--accent); }
.md-tabs button[aria-selected="true"] { background: #0F1E3D; border-color: #0F1E3D; color: #fff; }
.md-tabs button:focus-visible, .md-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.md-panel .pd-checks li { font-weight: 600; }
.md-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; background: #EEF1F7; color: #3E4660; font: 700 .74rem var(--body); font-style: normal; vertical-align: 1px; white-space: nowrap; }
.md-tag.dev { background: #FFF1E6; color: #8A4B00; }

/* ---------- circuito de punta a punta (una línea de puntos) */
.fl-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; position: relative; }
.fl-line::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), rgb(255 114 0 / .2)); }
.fl-line li { position: relative; display: grid; gap: 6px; align-content: start; padding-top: 40px; }
.fl-line li:last-child .pd-dot { background: var(--accent); }
.fl-line b { font: 800 1.08rem/1.2 var(--head); color: #0F1E3D; letter-spacing: -.02em; }
.fl-line p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* ---------- Rispy y Compy son el mismo sistema */
.pf { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pf-hd { display: grid; gap: 14px; position: sticky; top: 110px; }
.pf-hd h2 { margin: 0; }
.pf-hd p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.pf-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.pf-logos a { display: inline-flex; padding: 9px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -16px rgb(15 30 61 / .5); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.pf-logos a:hover { transform: translateY(-2px); }
.pf-logos img { height: 30px; width: auto; display: block; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pf-card { display: grid; gap: 6px; align-content: start; padding: 20px 22px; border-radius: 20px; background: rgb(255 255 255 / .62); border: 1px solid rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 40px -30px rgb(15 30 61 / .4); }
.pf-card h3 { margin: 0; font-size: 1.12rem !important; letter-spacing: -.02em; }
.pf-card h3::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; vertical-align: 2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(255 114 0 / .15); }
@media (min-width: 701px) { .md-panel { min-height: 9.5em; } }
.pf-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* etiqueta "Nuevo" en la portada */
.pd-new { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--accent); color: #17294D; font: 800 .78rem var(--head); letter-spacing: .04em; text-transform: uppercase; }
.pd-card-head .pd-logo + .pd-new { margin-top: -4px; }
.pn-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.am-list { grid-template-columns: 1fr 1fr; }

@media (max-width: 1000px) {
  .pf { grid-template-columns: 1fr; } .pf-hd { position: static; }
  .fl-line { grid-template-columns: 1fr; gap: 18px; padding-left: 38px; }
  .fl-line::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(var(--accent), rgb(255 114 0 / .2)); }
  .fl-line li { padding-top: 0; } .fl-line li .pd-dot { left: -38px; }
}
@media (max-width: 700px) {
  .md { padding: 22px 18px; border-radius: 22px; }
  .md-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding: 2px 18px 6px; scrollbar-width: none; }
  .md-tabs::-webkit-scrollbar { display: none; }
  .md-tabs button { flex: none; }
  .pf-grid, .am-list { grid-template-columns: 1fr; }
}
