/* JMOTORSPORTVINILOTEAM · diseño «JM 2026» en las páginas de Elementor (portada, servicios, FAQ y legales).
   Solo se carga en las páginas con la marca _jm_diseno (clase .jm-diseno en <body>), detrás de site.css.
   Cada bloque se engancha a la «Clase CSS» del contenedor o widget (Elementor → Avanzado → Clases CSS):
   puedes cambiar textos, fotos, enlaces y el orden y el estilo se mantiene. Lo que ajustes a mano en el panel
   de Elementor (márgenes, colores, tipografía) manda sobre esto. */

/* ---------- Base: sin los rellenos y huecos por defecto de Elementor ---------- */
body.jm-diseno { font-family: "Barlow", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.65; color: var(--body); background: var(--bg); }
.jm-diseno [data-elementor-type="wp-page"] {
  --container-default-padding-top: 0; --container-default-padding-right: 0; --container-default-padding-bottom: 0; --container-default-padding-left: 0;
  --widgets-spacing: 0; --widgets-spacing-row: 0; --widgets-spacing-column: 0; --kit-widget-spacing: 0;
}
.jm-diseno [data-elementor-type="wp-page"] .elementor-widget { margin-block-end: 0; }
.jm-diseno [data-elementor-type="wp-page"] .e-con { --width: 100%; }
.jm-diseno .elementor-widget-text-editor { font-family: inherit; font-size: inherit; font-weight: 400; line-height: inherit; color: var(--body); }
.jm-diseno .elementor-widget-text-editor p { margin: 0; }
.jm-diseno .elementor-widget-text-editor p + p { margin-top: .9em; }
.jm-diseno .elementor-widget-heading .elementor-heading-title { color: var(--text); font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .92; text-wrap: balance; overflow-wrap: break-word; }
.jm-diseno .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(3rem, 7.4vw, 6.6rem); }
.jm-diseno .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.jm-diseno .elementor-widget-heading h3.elementor-heading-title { font-size: 1.6rem; line-height: 1; letter-spacing: .01em; }
.jm-diseno .elementor-heading-title .rojo { color: var(--red); text-shadow: 0 0 34px rgb(255 20 20 / .45); }
.jm-diseno .jm-lead, .jm-diseno .jm-lead p { font-size: clamp(1.08rem, 1.35vw, 1.2rem); max-width: 54ch; }
.jm-diseno .e-con.jm-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; --padding-left: var(--gut); --padding-right: var(--gut); }
.jm-diseno .e-con.jm-sec { --padding-top: var(--sec); --padding-bottom: var(--sec); position: relative; }
.jm-diseno .e-con.jm-centro { align-items: center; text-align: center; }
.jm-diseno .e-con.jm-centro > * { margin-inline: auto; }
.jm-diseno .e-con.jm-sec--2 {
  background:
    repeating-linear-gradient(115deg, rgb(255 255 255 / .018) 0 1px, transparent 1px 16px),
    radial-gradient(70% 55% at 18% 0%, rgb(160 0 12 / .42), transparent 70%),
    radial-gradient(50% 50% at 100% 100%, rgb(160 0 12 / .2), transparent 70%),
    var(--vino);
  box-shadow: inset 0 1px 0 rgb(255 20 20 / .22), inset 0 -1px 0 rgb(255 20 20 / .12);
}
/* Palabra gigante perfilada detrás de la sección (solo decoración) */
.jm-diseno .e-con.jm-deco { isolation: isolate; overflow: clip; }
.jm-diseno .e-con.jm-deco::after {
  position: absolute; z-index: -1; pointer-events: none; white-space: nowrap;
  font-family: var(--disp); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(9rem, 26vw, 24rem); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .07);
}
.jm-diseno .jm-deco--wrap::after { content: "Wrap"; top: 2%; right: -3%; }
.jm-diseno .jm-deco--box::after { content: "Box"; bottom: -6%; left: -2%; -webkit-text-stroke-color: rgb(255 20 20 / .14) !important; }
.jm-diseno .jm-deco--shop::after { content: "Shop"; top: 1%; right: -4%; }
.jm-diseno .jm-deco--garage::after { content: "Garage"; top: 6%; left: -4%; }
.jm-diseno .e-con.jm-sec__tit, .jm-diseno .jm-sec__tit.elementor-widget { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.jm-diseno .e-con.jm-sec__tit { --row-gap: 1.2rem; }
.jm-diseno .jm-sec__tit h2.elementor-heading-title, .jm-diseno .jm-sec__tit .elementor-heading-title { max-width: 28ch; }
.jm-diseno .jm-centro .elementor-heading-title, .jm-diseno .jm-centro .jm-lead p { margin-inline: auto; }

/* ---------- Botones (widget Botón con la clase jm-btn, jm-btn--sec, jm-btn--dark, jm-btn--xl o jm-enlace) ---------- */
.jm-diseno .jm-btn .elementor-button {
  --b: var(--grad); --c: var(--on-red); --bd: rgb(255 80 80 / .5); --hb: #fff; --hc: #000;
  --sh: 0 12px 34px -10px rgb(255 20 20 / .75), inset 0 1px 0 rgb(255 255 255 / .3);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.7rem; border: 1px solid var(--bd); border-radius: var(--r-b);
  background: var(--b); color: var(--c); box-shadow: var(--sh);
  font-family: var(--disp); font-weight: 700; font-size: 1.08rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .3s var(--ease), box-shadow .35s var(--ease);
}
.jm-diseno .jm-btn .elementor-button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hb); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.jm-diseno .jm-btn .elementor-button:hover { color: var(--hc); border-color: var(--hb); transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgb(255 255 255 / .35); }
.jm-diseno .jm-btn .elementor-button:hover::before { transform: scaleX(1); transform-origin: left; }
.jm-diseno .jm-btn--sec .elementor-button { --b: rgb(255 255 255 / .04); --c: #fff; --bd: rgb(255 255 255 / .3); --sh: inset 0 1px 0 rgb(255 255 255 / .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.jm-diseno .jm-btn--dark .elementor-button { --b: #050505; --c: #fff; --bd: #050505; --sh: 0 10px 30px -10px rgb(0 0 0 / .8); }
.jm-diseno .jm-btn--xl .elementor-button { min-height: 58px; padding-inline: 2rem; font-size: 1.15rem; }
.jm-diseno .jm-btn .elementor-button-content-wrapper { gap: .7rem; align-items: center; }
.jm-diseno .elementor-button-icon { margin: 0 !important; display: inline-flex; }
.jm-diseno .elementor-button-icon svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.jm-diseno .elementor-button-icon i { font-size: 1.05em; }
.jm-diseno .jm-btn .elementor-button-content-wrapper[style*="row-reverse"] .elementor-button-icon, .jm-diseno .jm-btn .elementor-button:hover .elementor-button-icon { transition: transform .3s var(--ease); }
/* Enlace subrayado con flecha roja */
.jm-diseno .jm-enlace .elementor-button { display: inline-flex; padding: 0; min-height: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: var(--text); font-family: "Barlow", sans-serif; font-weight: 600; font-size: 1.0625rem; letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .32em; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.jm-diseno .jm-enlace .elementor-button:hover { text-decoration-color: var(--red); color: var(--text); background: none; }
.jm-diseno .jm-enlace .elementor-button-content-wrapper { gap: .45rem; align-items: center; }
.jm-diseno .jm-enlace .elementor-button-icon { color: var(--red); transition: transform .25s var(--ease); }
.jm-diseno .jm-enlace .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
.jm-diseno .e-con.jm-ctas { --flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; align-items: center; --row-gap: .9rem; --column-gap: .9rem; margin-top: 2.2rem; }
.jm-diseno .e-con.jm-ctas > .elementor-widget { width: auto; }
@media (max-width: 560px) { .jm-diseno .e-con.jm-ctas > .elementor-widget, .jm-diseno .jm-ctas .elementor-button { width: 100%; } }

/* ---------- Hero de portada: el capó rotulado de fondo (fondo del contenedor) y el BMW a la derecha ---------- */
.jm-diseno .e-con.jm-hero, .jm-diseno .e-con.jm-thero { --sube: calc(var(--head-h) + 10px); margin-top: calc(-1 * var(--sube) - 40px); }
@media (max-width: 960px) { .jm-diseno .e-con.jm-hero, .jm-diseno .e-con.jm-thero { --sube: calc(var(--head-h) + 70px); } }
.jm-diseno .e-con.jm-hero {
  isolation: isolate; overflow: clip; justify-content: center; min-height: min(calc(100svh - 34px), 960px);
  --padding-top: calc(var(--sube) + 40px + clamp(2.5rem, 5vw, 4rem)); --padding-bottom: clamp(4rem, 8vw, 6rem);
  background-position: 50% 40%;
}
.jm-diseno .e-con.jm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; display: block; opacity: 1; mix-blend-mode: normal;
  background:
    linear-gradient(90deg, rgb(5 5 5 / .94) 0%, rgb(5 5 5 / .8) 45%, rgb(24 6 8 / .6) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    radial-gradient(60% 70% at 80% 50%, rgb(255 20 20 / .25), transparent 70%);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.jm-diseno .e-con.jm-hero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.jm-diseno .jm-sello .elementor-heading-title { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.6rem; font-family: var(--disp); font-weight: 700; font-size: .95rem; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; color: var(--red); }
.jm-diseno .jm-sello .elementor-heading-title::before { content: ""; flex: none; width: 34px; height: 2px; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px rgb(255 20 20 / .8); }
.jm-diseno .jm-hero__tit h1.elementor-heading-title { font-size: clamp(3.4rem, 6.6vw, 6.6rem); line-height: .86; letter-spacing: -.01em; }
.jm-diseno .jm-hero .jm-lead { margin-top: 1.5rem; }
.jm-diseno .jm-hero .jm-lead p { color: #e4dfdf; max-width: 46ch; }
.jm-diseno .jm-hero__foto { position: relative; justify-self: end; width: 100%; max-width: 100%; }
.jm-diseno .jm-hero__foto::before { content: ""; position: absolute; inset: 0; translate: 18px 18px; border: 2px solid var(--red); border-radius: calc(var(--r) * 1.5); z-index: -1; box-shadow: 0 0 40px -6px rgb(255 20 20 / .5); }
.jm-diseno .jm-hero__foto img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: 78% 50%; border-radius: calc(var(--r) * 1.5); box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 50px 110px -30px rgb(255 20 20 / .5); }
@media (max-width: 900px) {
  .jm-diseno .e-con.jm-hero { min-height: 0; --padding-top: calc(var(--sube) + 40px + 1.5rem); --padding-bottom: 3.5rem; }
  .jm-diseno .e-con.jm-hero__in { grid-template-columns: 1fr; }
  .jm-diseno .jm-hero__foto { order: -1; width: calc(100% - 18px); justify-self: start; }
  .jm-diseno .jm-hero__foto img { aspect-ratio: 16 / 8; max-height: none; object-position: 60% 50%; }
  .jm-diseno .jm-sello .elementor-heading-title { font-size: .78rem; letter-spacing: .1em; margin-bottom: 1rem; }
  .jm-diseno .jm-sello .elementor-heading-title::before { width: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .jm-diseno .jm-hero__foto img { animation: destapa 1.3s var(--ease) .15s both; }
  .jm-diseno .jm-hero__foto::before { animation: marco 1.1s var(--ease) .7s both; }
  .jm-diseno .jm-hero__txt > *, .jm-diseno .jm-thero .jm-wrap > * { animation: entra .9s var(--ease) both; }
  .jm-diseno .jm-hero__txt > :nth-child(2) { animation-delay: .1s; }
  .jm-diseno .jm-hero__txt > :nth-child(3) { animation-delay: .3s; }
  .jm-diseno .jm-hero__txt > :nth-child(4) { animation-delay: .45s; }
  @keyframes destapa { from { clip-path: inset(0 100% 0 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
  @keyframes marco { from { translate: 0 0; opacity: 0; } }
  @keyframes entra { from { opacity: 0; transform: translateY(18px); } }
}

/* ---------- Por qué: panel de cine con tres pilares (cajas de icono) ---------- */
.jm-diseno .e-con.jm-manif { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-height: clamp(540px, 50vw, 680px); border-radius: calc(var(--r) * 1.5); background: var(--s1); box-shadow: 0 0 0 1px var(--line), 0 60px 120px -40px rgb(255 20 20 / .35); }
.jm-diseno .jm-manif__foto { position: absolute !important; z-index: -1; top: 0; right: 0; width: 72% !important; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.jm-diseno .jm-manif__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.jm-diseno .e-con.jm-manif::before { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 55%; background: linear-gradient(0deg, rgb(3 3 3 / .92), transparent); pointer-events: none; display: block; opacity: 1; }
.jm-diseno .e-con.jm-manif__txt { align-self: center; --padding-top: clamp(2rem, 5vw, 4.5rem); --padding-bottom: clamp(2rem, 5vw, 4.5rem); --padding-left: clamp(2rem, 5vw, 4.5rem); --padding-right: clamp(2rem, 5vw, 4.5rem); max-width: 660px; --row-gap: 1.4rem; }
.jm-diseno .jm-manif h2.elementor-heading-title { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .9; }
.jm-diseno .jm-manif .jm-lead p { color: #e4dfdf; }
.jm-diseno .e-con.jm-manif__pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); background: rgb(8 6 6 / .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.jm-diseno .jm-pilar { padding: 1.6rem clamp(1.3rem, 3vw, 2.4rem); }
.jm-diseno .jm-pilar + .jm-pilar { border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .jm-diseno .e-con.jm-manif { min-height: 0; grid-template-rows: auto; }
  .jm-diseno .jm-manif__foto { position: relative !important; z-index: 0; width: 100% !important; height: auto; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .jm-diseno .jm-manif__foto img { aspect-ratio: 16 / 10; }
  .jm-diseno .e-con.jm-manif::before { display: none; }
  .jm-diseno .e-con.jm-manif__txt { margin-top: -4rem; --padding-top: 0; --padding-left: 1.4rem; --padding-right: 1.4rem; --padding-bottom: 2rem; position: relative; }
  .jm-diseno .e-con.jm-manif__pilares { grid-template-columns: 1fr; }
  .jm-diseno .jm-pilar + .jm-pilar { border-left: 0; border-top: 1px solid var(--line); }
}
/* Caja de icono: icono rojo en cuadrado + título + texto (pilares y datos de contacto) */
.jm-diseno .jm-pilar .elementor-icon-box-wrapper, .jm-diseno .jm-dato .elementor-icon-box-wrapper { display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; text-align: left; }
.jm-diseno .jm-pilar .elementor-icon-box-icon, .jm-diseno .jm-dato .elementor-icon-box-icon { margin: 0 !important; flex: none; }
.jm-diseno .jm-pilar .elementor-icon { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; font-size: 20px; border-radius: var(--r-b); background: var(--grad); color: #fff; fill: #fff; box-shadow: 0 8px 24px -6px rgb(255 20 20 / .7); }
.jm-diseno .elementor-icon svg { width: 1em; height: 1em; fill: currentColor; }
.jm-diseno .jm-pilar .elementor-icon-box-title { margin: 0 0 .25rem; font-family: var(--disp); font-weight: 800; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; color: #fff; }
.jm-diseno .jm-pilar .elementor-icon-box-description { margin: 0; font-size: .95rem; color: var(--body); }

/* ---------- Servicios: uno destacado partido y tarjetas ---------- */
.jm-diseno .e-con.jm-srv-dest { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); border-radius: calc(var(--r) * 1.5); overflow: hidden; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 90px -40px rgb(0 0 0 / .95); transition: border-color .4s, box-shadow .5s var(--ease); }
.jm-diseno .e-con.jm-srv-dest:hover { border-color: rgb(255 20 20 / .45); box-shadow: 0 40px 90px -36px rgb(255 20 20 / .5); }
/* La foto llena su columna sin marcar la altura: la tarjeta mide lo que pide el texto (antes la foto cuadrada la estiraba a ~680px) */
.jm-diseno .jm-srv-dest__foto { position: relative; overflow: hidden; height: 100%; min-height: 340px; }
.jm-diseno .jm-srv-dest__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 1.2s var(--ease); }
.jm-diseno .jm-srv-dest:hover .jm-srv-dest__foto img { transform: scale(1.04); }
.jm-diseno .e-con.jm-srv-dest__txt { justify-content: center; align-items: flex-start; --row-gap: 1rem; --padding-top: clamp(1.6rem, 3vw, 2.6rem); --padding-bottom: clamp(1.6rem, 3vw, 2.6rem); --padding-left: clamp(1.6rem, 3.4vw, 3rem); --padding-right: clamp(1.6rem, 3.4vw, 3rem); }
.jm-diseno .jm-srv-dest h3.elementor-heading-title { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .9; }
.jm-diseno .jm-srv-dest__txt .elementor-widget-text-editor p { max-width: 46ch; }
.jm-diseno .jm-srv-dest__txt .jm-btn { margin-top: .6rem; }
.jm-diseno .jm-chips .chips, .jm-diseno .jm-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.jm-diseno .jm-chips li { padding: .3rem .85rem; border: 1px solid var(--line-2); border-radius: var(--r-b); font-family: var(--disp); font-weight: 700; font-size: .95rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgb(255 255 255 / .03); }
.jm-diseno .e-con.jm-srv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.jm-diseno .e-con.jm-srv-card { align-items: flex-start; --row-gap: .55rem; --padding-top: 10px; --padding-right: 10px; --padding-left: 10px; --padding-bottom: 1.5rem; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); transition: border-color .4s, box-shadow .5s var(--ease), translate .5s var(--ease); }
.jm-diseno .e-con.jm-srv-card:hover { translate: 0 -6px; border-color: rgb(255 20 20 / .45); box-shadow: 0 30px 70px -30px rgb(255 20 20 / .55); }
.jm-diseno .jm-srv-card__foto, .jm-diseno .jm-srv-card__ico { width: 100%; margin-bottom: .7rem; }
.jm-diseno .jm-srv-card__foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-s); filter: brightness(.88); transition: transform 1s var(--ease), filter .5s; }
.jm-diseno .jm-srv-card__foto { overflow: hidden; border-radius: var(--r-s); }
.jm-diseno .jm-srv-card:hover .jm-srv-card__foto img { transform: scale(1.06); filter: none; }
.jm-diseno .jm-srv-card__ico .elementor-icon-wrapper { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--r-s); background: radial-gradient(70% 70% at 30% 20%, rgb(255 20 20 / .45), transparent 70%), var(--vino); box-shadow: inset 0 0 0 1px rgb(255 20 20 / .25); }
.jm-diseno .jm-srv-card__ico .elementor-icon { font-size: clamp(4rem, 7vw, 6rem); color: #fff; fill: #fff; filter: drop-shadow(0 0 22px rgb(255 20 20 / .8)); }
.jm-diseno .jm-srv-card > .elementor-widget-heading, .jm-diseno .jm-srv-card > .elementor-widget-text-editor, .jm-diseno .jm-srv-card > .jm-enlace { padding-inline: .6rem; }
.jm-diseno .jm-srv-card h3.elementor-heading-title { font-size: clamp(1.7rem, 2.2vw, 2rem); }
.jm-diseno .jm-srv-card__txt { flex: 1; font-size: .95rem; }
.jm-diseno .jm-srv-card .jm-enlace { margin-top: .5rem; }
.jm-diseno .jm-deco--wrap .jm-centro { margin-top: 2rem; }
/* «Trabajos premium» en la portada: menos aire arriba y abajo */
.jm-diseno .e-con.jm-sec#servicios { --padding-top: clamp(3.5rem, 7vw, 6rem); --padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.jm-diseno #servicios .e-con.jm-sec__tit { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.jm-diseno .jm-srv-card .elementor-widget-text-editor p { margin-bottom: 0; }
@media (max-width: 860px) { .jm-diseno .e-con.jm-srv-dest { grid-template-columns: 1fr; } .jm-diseno .jm-srv-dest__foto { min-height: 0; height: auto; aspect-ratio: 16 / 10; } }

/* ---------- Proceso: tres paradas escalonadas sobre la trazada roja ---------- */
.jm-diseno #proceso .jm-sec__tit { margin-bottom: clamp(4.5rem, 8vw, 6rem); }
.jm-diseno .e-con.jm-pasos { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); --padding-bottom: 160px; }
.jm-diseno .e-con.jm-pasos::before {
  content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; top: 30px; height: 300px; pointer-events: none; display: block; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C 260 20 300 150 600 150 S 940 280 1200 280' fill='none' stroke='%23ff1414' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 20 C 260 20 300 150 600 150 S 940 280 1200 280' fill='none' stroke='white' stroke-opacity='.25' stroke-width='1' stroke-dasharray='2 10' vector-effect='non-scaling-stroke' transform='translate(0 14)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.jm-diseno .e-con.jm-paso { position: relative; --padding-top: 1.8rem; --padding-bottom: 2rem; --padding-left: clamp(1.2rem, 2.4vw, 2rem); --padding-right: clamp(1.2rem, 2.4vw, 2rem); border-radius: var(--r); background: var(--carbono); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 30px 60px -30px rgb(0 0 0 / .9); transition: border-color .4s, box-shadow .5s var(--ease); }
.jm-diseno .jm-pasos > .jm-paso:nth-child(2) { margin-top: 80px; margin-bottom: -80px; }
.jm-diseno .jm-pasos > .jm-paso:nth-child(3) { margin-top: 160px; margin-bottom: -160px; }
.jm-diseno .e-con.jm-paso:hover { border-color: rgb(255 20 20 / .5); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 30px 70px -30px rgb(255 20 20 / .5); }
.jm-diseno .jm-paso__n .elementor-heading-title { display: block; margin: -4.2rem 0 1.2rem; font-family: var(--disp); font-weight: 800; font-style: italic; font-size: clamp(6rem, 10vw, 9rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .45); transition: color .5s var(--ease), -webkit-text-stroke-color .5s, text-shadow .5s; }
.jm-diseno .jm-paso:first-child .jm-paso__n .elementor-heading-title, .jm-diseno .jm-paso:hover .jm-paso__n .elementor-heading-title { color: var(--red); -webkit-text-stroke-color: var(--red); text-shadow: 0 0 40px rgb(255 20 20 / .6); }
.jm-diseno .jm-paso h3.elementor-heading-title { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.jm-diseno .jm-paso .elementor-widget-text-editor { margin-top: .7rem; max-width: 34ch; }
@media (max-width: 760px) {
  .jm-diseno .e-con.jm-pasos { grid-template-columns: 1fr; gap: 3.6rem; --padding-bottom: 0; --padding-left: 1.4rem; }
  .jm-diseno .e-con.jm-pasos::before { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: var(--red); border-radius: 3px; }
  .jm-diseno .jm-pasos > .jm-paso:nth-child(n) { margin: 0; }
  .jm-diseno .jm-pasos > .jm-paso:nth-child(2) { margin-left: 1.2rem; }
  .jm-diseno .jm-paso__n .elementor-heading-title { font-size: 5rem; margin-top: -3.2rem; }
}
/* En servicios: proceso en línea recta, sin escalones */
.jm-diseno .e-con.jm-pasos--linea { --padding-bottom: 0; }
.jm-diseno .jm-pasos--linea > .jm-paso:nth-child(n) { margin: 0; }
@media (min-width: 761px) { .jm-diseno .e-con.jm-pasos--linea::before { top: 50%; height: 3px; background: var(--red); border-radius: 3px; } }

/* ---------- Tienda en portada: seis categorías (contenedores enlazados) ---------- */
.jm-diseno .jm-deco--shop .jm-sec__tit { text-align: center; align-items: center; }
.jm-diseno .e-con.jm-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jm-diseno .e-con.jm-cat { position: relative; --row-gap: .45rem; --padding-top: 10px; --padding-right: 10px; --padding-left: 10px; --padding-bottom: 1.4rem; height: 100%; border-radius: var(--r); text-decoration: none; background: linear-gradient(180deg, rgb(40 10 14 / .5), rgb(12 7 8 / .8)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); transition: border-color .4s, box-shadow .5s var(--ease), translate .5s var(--ease); justify-content: flex-start; }
.jm-diseno .jm-cat__foto { overflow: hidden; border-radius: var(--r-s); margin-bottom: .6rem; background: var(--s3); }
.jm-diseno .jm-cat__foto img { width: 100%; aspect-ratio: 1000 / 461; object-fit: cover; filter: saturate(.9) brightness(.9); transition: filter .5s, transform .8s var(--ease); }
.jm-diseno .jm-cat__tag { position: absolute !important; top: 20px; left: 20px; z-index: 1; width: auto !important; }
.jm-diseno .jm-cat__tag .elementor-heading-title { padding: .2rem .7rem; border-radius: var(--r-b); background: var(--grad); color: #fff; font-family: var(--disp); font-weight: 800; font-size: .95rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 18px -4px rgb(255 20 20 / .8); }
.jm-diseno .jm-cat__n .elementor-heading-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: .6rem; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1; }
.jm-diseno .jm-cat__n .elementor-heading-title::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: var(--r-b); background: var(--grad) ; box-shadow: 0 6px 18px -6px rgb(255 20 20 / .7); -webkit-mask: none; transition: transform .45s var(--ease), background .3s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='white'%3E%3Cpath d='M221.66 133.66l-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32z'/%3E%3C/svg%3E"), var(--grad); background-size: 18px, cover; background-position: center; background-repeat: no-repeat; }
.jm-diseno .jm-cat__d { padding-inline: .6rem; font-size: .95rem; transition: color .3s; }
.jm-diseno .jm-cat__d p { color: var(--muted); }
.jm-diseno .e-con.jm-cat:hover, .jm-diseno .e-con.jm-cat:focus-visible { translate: 0 -6px; border-color: rgb(255 20 20 / .45); box-shadow: 0 30px 70px -30px rgb(255 20 20 / .6); }
.jm-diseno .jm-cat:hover .jm-cat__foto img { filter: none; transform: scale(1.04); }
.jm-diseno .jm-cat:hover .jm-cat__d p { color: var(--body); }
.jm-diseno .jm-cat:hover .jm-cat__n .elementor-heading-title::after { transform: rotate(-45deg); }
@media (max-width: 900px) { .jm-diseno .e-con.jm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .jm-diseno .e-con.jm-cats { gap: 10px; }
  .jm-diseno .e-con.jm-cat { --padding-top: 6px; --padding-right: 6px; --padding-left: 6px; --padding-bottom: 1rem; --row-gap: .3rem; }
  .jm-diseno .jm-cat__n .elementor-heading-title { font-size: 1.15rem; padding-inline: .3rem; }
  .jm-diseno .jm-cat__n .elementor-heading-title::after, .jm-diseno .jm-cat__d { display: none; }
  .jm-diseno .jm-cat__tag { top: 12px; left: 12px; }
  .jm-diseno .jm-cat__tag .elementor-heading-title { font-size: .8rem; padding: .1rem .5rem; }
}
/* Más vendidos, banda 3x2 y botón */
.jm-diseno .e-con.jm-vendidos { margin-top: clamp(5rem, 9vw, 7rem); }
.jm-diseno .jm-vendidos__tit .elementor-heading-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 2rem; }
.jm-diseno .jm-promo-portada .promo { margin: 3rem 0 0; }
.jm-diseno .jm-vendidos > .jm-centro { margin-top: 3rem; }
@media (max-width: 700px) {
  .jm-diseno .jm-rail ul.products { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .jm-diseno .jm-rail ul.products li.product { scroll-snap-align: start; width: auto !important; }
}

/* ---------- Galería en mosaico (widgets Imagen con leyenda) ---------- */
.jm-diseno .e-con.jm-galeria__cab { --flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.jm-diseno .jm-galeria__cab > .elementor-widget { width: auto; }
.jm-diseno .jm-galeria__cab h2.elementor-heading-title { max-width: 24ch; }
/* Rejilla 3×3: la primera foto ocupa 2×2 y el resto llena los huecos (6 fotos, sin ninguna estirada a lo ancho).
   Las fotos van recortadas a 4:3 con el coche centrado; la leyenda se ve siempre. */
.jm-diseno .e-con.jm-persiana { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 21vw, 290px); grid-auto-flow: dense; gap: 14px; }
.jm-diseno .jm-foto { position: relative; overflow: hidden; min-width: 0; height: 100%; background: var(--s3); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease); }
.jm-diseno .jm-persiana > .jm-foto:first-child { grid-column: span 2; grid-row: span 2; }
.jm-diseno .jm-foto figure, .jm-diseno .jm-foto .elementor-widget-container { margin: 0; height: 100%; }
.jm-diseno .jm-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: brightness(.88); transition: filter .6s, transform 1.2s var(--ease); }
.jm-diseno .jm-foto:hover { box-shadow: 0 0 0 1px rgb(255 20 20 / .55), 0 30px 70px -28px rgb(255 20 20 / .6); }
.jm-diseno .jm-foto:hover img { filter: brightness(1) saturate(1.1); transform: scale(1.05); }
.jm-diseno .jm-foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.6rem 1.1rem .9rem; text-align: left; background: linear-gradient(to top, rgb(3 3 3 / .88), transparent); font-family: var(--disp); font-weight: 700; font-size: 1rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.jm-diseno .jm-persiana > .jm-foto:first-child figcaption { font-size: 1.2rem; padding: 3rem 1.4rem 1.2rem; }
@media (max-width: 760px) {
  .jm-diseno .e-con.jm-persiana { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .jm-diseno .jm-persiana > .jm-foto:first-child { grid-row: span 2; }
  .jm-diseno .jm-persiana > .jm-foto:last-child:nth-child(even) { grid-column: 1 / -1; }
  .jm-diseno .jm-foto figcaption, .jm-diseno .jm-persiana > .jm-foto:first-child figcaption { font-size: .85rem; padding: 1.8rem .75rem .7rem; }
}

/* ---------- Preguntas (widget Acordeón con la clase jm-faq) ---------- */
.jm-diseno .e-con.jm-faq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.jm-diseno .e-con.jm-faq-grid__txt { position: sticky; top: calc(var(--head-h) + 2rem); --row-gap: 1rem; align-items: flex-start; }
.jm-diseno .jm-faq-grid h2.elementor-heading-title { max-width: 20ch; }
.jm-diseno .jm-faq-grid__txt .jm-enlace { margin-top: .6rem; }
@media (max-width: 820px) { .jm-diseno .e-con.jm-faq-grid { grid-template-columns: 1fr; } .jm-diseno .e-con.jm-faq-grid__txt { position: static; } }
.jm-diseno .jm-faq .e-n-accordion { display: grid; gap: 12px; }
.jm-diseno .jm-faq .e-n-accordion-item { padding-inline: 1.5rem; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .3s, box-shadow .4s; }
.jm-diseno .jm-faq .e-n-accordion-item:hover { border-color: var(--line-2); }
.jm-diseno .jm-faq .e-n-accordion-item[open] { border-color: rgb(255 20 20 / .5); box-shadow: 0 24px 60px -30px rgb(255 20 20 / .55); }
.jm-diseno .jm-faq .e-n-accordion-item-title { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; border: 0; background: none; cursor: pointer; list-style: none; }
.jm-diseno .jm-faq .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.jm-diseno .jm-faq .e-n-accordion-item-title-text { font-family: "Barlow", sans-serif; font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--text); text-transform: none; transition: color .2s; }
.jm-diseno .jm-faq .e-n-accordion-item-title:hover .e-n-accordion-item-title-text { color: var(--red); }
.jm-diseno .jm-faq .e-n-accordion-item-title-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 18px rgb(255 20 20 / .5); transition: transform .35s var(--ease); }
.jm-diseno .jm-faq .e-n-accordion-item-title-icon span { display: grid !important; place-items: center; }
.jm-diseno .jm-faq .e-n-accordion-item-title-icon svg { width: 14px; height: 14px; fill: #fff; }
.jm-diseno .jm-faq .e-n-accordion-item-title-icon i { font-size: 14px; color: #fff; }
.jm-diseno .jm-faq .e-n-accordion-item[open] .e-n-accordion-item-title-icon { transform: rotate(45deg); }
.jm-diseno .jm-faq .e-n-accordion-item > .e-con { --padding-top: 0; --padding-bottom: 1.5rem; --padding-left: 0; --padding-right: 2.5rem; border: 0; background: none; max-width: 62ch; }
.jm-diseno .jm-faq .e-n-accordion-item > .e-con p { color: var(--body); }
@media (prefers-reduced-motion: no-preference) { .jm-diseno .jm-faq .e-n-accordion-item[open] > .e-con { animation: entra .45s var(--ease); } }

/* ---------- Contacto: fondo de foto (fondo del contenedor), datos y formulario que abre WhatsApp ---------- */
.jm-diseno .e-con.jm-contacto { isolation: isolate; overflow: hidden; --padding-top: var(--sec); --padding-bottom: var(--sec); }
.jm-diseno .e-con.jm-contacto::before { content: ""; position: absolute; inset: 0; z-index: -1; display: block; opacity: 1; background: radial-gradient(50% 60% at 80% 60%, rgb(255 20 20 / .35), transparent 70%), linear-gradient(180deg, var(--bg) 0%, rgb(3 3 3 / .8) 30%, rgb(3 3 3 / .9) 100%); }
.jm-diseno .e-con.jm-contacto__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.jm-diseno .e-con.jm-contacto__info { --row-gap: 1.4rem; }
.jm-diseno .jm-contacto__info h2.elementor-heading-title { font-size: clamp(3rem, 7vw, 6rem); line-height: .86; max-width: 14ch; }
.jm-diseno .jm-contacto__info .jm-lead p { color: #e6e6e6; }
.jm-diseno .e-con.jm-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.2rem; }
.jm-diseno .jm-dato { padding: 1.1rem 1.2rem; border-radius: var(--r-s); background: rgb(14 10 10 / .6); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, translate .4s var(--ease); }
.jm-diseno .jm-dato:has(a):hover { border-color: rgb(255 20 20 / .55); translate: 0 -3px; }
.jm-diseno .jm-dato .elementor-icon-box-wrapper { gap: .9rem; }
.jm-diseno .jm-dato .elementor-icon { font-size: 24px; color: var(--red); fill: var(--red); background: none; }
.jm-diseno .jm-dato .elementor-icon-box-title { margin: 0; font-family: var(--disp); font-weight: 800; font-size: 1.3rem; letter-spacing: .03em; line-height: 1.1; text-transform: uppercase; color: #fff; }
.jm-diseno .jm-dato .elementor-icon-box-title a { color: inherit; text-decoration: none; }
.jm-diseno .jm-dato:hover .elementor-icon-box-title a { color: var(--red); }
.jm-diseno .jm-dato .elementor-icon-box-description { margin: .2rem 0 0; font-size: .92rem; color: var(--body); overflow-wrap: anywhere; }
.jm-diseno .e-con.jm-form-wa { --padding-top: clamp(1.6rem, 3.5vw, 2.6rem); --padding-bottom: clamp(1.6rem, 3.5vw, 2.6rem); --padding-left: clamp(1.6rem, 3.5vw, 2.6rem); --padding-right: clamp(1.6rem, 3.5vw, 2.6rem); --row-gap: 1.1rem; background: rgb(14 10 10 / .72); border: 1px solid var(--line-2); border-radius: calc(var(--r) * 1.4); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 0 0 1px rgb(255 20 20 / .25), 0 60px 120px -30px rgb(255 20 20 / .45); rotate: 1.2deg; transition: rotate .8s var(--ease); }
.jm-diseno .e-con.jm-form-wa:hover, .jm-diseno .e-con.jm-form-wa:focus-within { rotate: 0deg; }
.jm-diseno .jm-form-wa h3.elementor-heading-title { font-size: 2rem; }
.jm-diseno .jm-form .elementor-form-fields-wrapper { margin: 0 -.55rem; row-gap: 1.1rem; }
.jm-diseno .jm-form .elementor-field-group { padding: 0 .55rem; margin-bottom: 0; }
.jm-diseno .jm-form .elementor-field-label { margin-bottom: .4rem; font-weight: 600; font-size: .9rem; color: #fff; }
.jm-diseno .jm-form .elementor-field-textual, .jm-diseno .jm-form select.elementor-field { width: 100%; min-height: 48px; padding: .75rem .9rem; background: var(--s1); border: 1px solid var(--line-2); border-radius: var(--r-s); color: #fff; font-family: inherit; font-size: 1rem; }
.jm-diseno .jm-form .elementor-field-textual::placeholder { color: #8a8a8a; }
.jm-diseno .jm-form .elementor-field-textual:focus, .jm-diseno .jm-form select.elementor-field:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgb(255 20 20 / .18); }
.jm-diseno .jm-form .elementor-select-wrapper .select-caret-down-wrapper { color: #fff; }
.jm-diseno .jm-form .e-form__buttons, .jm-diseno .jm-form .elementor-field-type-submit { margin-top: .4rem; }
.jm-diseno .jm-form .elementor-button { width: 100%; min-height: 58px; border: 1px solid var(--wa); border-radius: var(--r-b); background: var(--wa); color: #fff; box-shadow: 0 10px 30px -10px rgb(31 168 85 / .7); font-family: var(--disp); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, transform .3s var(--ease); }
.jm-diseno .jm-form .elementor-button:hover { background: #25c262; color: #fff; transform: translateY(-2px); }
.jm-diseno .jm-form .elementor-message { color: var(--body); font-size: .9rem; }
.jm-diseno .jm-form-wa__nota p { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .jm-diseno .e-con.jm-contacto__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .jm-diseno .e-con.jm-datos { grid-template-columns: 1fr; }
  .jm-diseno .jm-form .elementor-field-group.elementor-col-50 { width: 100%; }
}

/* ================= Servicios (/taller-illescas/) ================= */
.jm-diseno--taller .e-con.jm-sec { --padding-top: clamp(3.5rem, 7vw, 6rem); --padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.jm-diseno--taller .e-con.jm-sec--corta { --padding-top: clamp(2.5rem, 5vw, 4rem); --padding-bottom: 0; }
/* Hero de servicios: alto de pantalla casi completo, foto a la derecha y una cortina oscura a la izquierda para que el texto
   se lea limpio (antes el rojo y la foto se mezclaban con el titular y se veía todo como una mancha). */
.jm-diseno .e-con.jm-thero { isolation: isolate; overflow: hidden; justify-content: center; min-height: min(96svh, 980px); --padding-top: calc(var(--sube) + 40px + 5rem); --padding-bottom: clamp(4rem, 9vw, 7rem); background-size: cover; background-position: 70% 50%; }
.jm-diseno .e-con.jm-thero::before { content: ""; position: absolute; inset: 0; z-index: -1; display: block; opacity: 1; background:
  linear-gradient(90deg, rgb(3 3 3 / .94) 0%, rgb(3 3 3 / .82) 32%, rgb(3 3 3 / .35) 62%, rgb(3 3 3 / .1) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgb(3 3 3 / 0) 26%),
  linear-gradient(180deg, rgb(3 3 3 / .55) 0%, rgb(3 3 3 / 0) 30%),
  radial-gradient(40% 50% at 95% 90%, rgb(255 20 20 / .22), transparent 70%); }
.jm-diseno .jm-thero h1.elementor-heading-title { max-width: 15ch; font-size: clamp(3rem, 6.6vw, 6rem); line-height: .9; text-shadow: 0 6px 40px rgb(0 0 0 / .6); }
.jm-diseno .jm-thero .jm-lead { margin-top: 1.5rem; }
.jm-diseno .jm-thero .jm-lead p { color: #ececec; max-width: 44ch; }
.jm-diseno .jm-thero .jm-ctas { margin-top: .6rem; }
@media (max-width: 700px) { .jm-diseno .e-con.jm-thero { min-height: 92svh; justify-content: flex-end; background-position: 62% 50%; } .jm-diseno .e-con.jm-thero::before { background: linear-gradient(0deg, var(--bg) 0%, rgb(3 3 3 / .9) 38%, rgb(3 3 3 / .45) 70%, rgb(3 3 3 / .55) 100%); } }

.jm-diseno .e-con.jm-vs-wrap { --row-gap: clamp(2rem, 4vw, 3rem); }
.jm-diseno .e-con.jm-vs-wrap__tit { --flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; }
.jm-diseno .jm-vs-wrap__tit > .elementor-widget { width: auto; }
.jm-diseno .jm-vs-wrap__tit .jm-lead p { max-width: 44ch; }
.jm-diseno .jm-vs-wrap h2.elementor-heading-title { font-size: clamp(2.4rem, 4.2vw, 3.6rem); max-width: 24ch; }
.jm-diseno .e-con.jm-vs { --gap: 0px; --row-gap: 0px; gap: 0; border-radius: var(--r); overflow: hidden; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
/* Sin hueco entre filas (Elementor ponía 20px) y celdas a toda la altura: la columna roja queda continua */
.jm-diseno .e-con.jm-vs__fila { display: grid; grid-template-columns: .9fr 1fr 1.25fr; align-items: stretch; --gap: 0px; gap: 0; }
.jm-diseno .jm-vs__fila > .elementor-widget { margin: 0; align-items: center; }
.jm-diseno .jm-vs__fila > .elementor-widget p { margin: 0; }
.jm-diseno .jm-vs__fila + .jm-vs__fila { border-top: 1px solid var(--line); }
.jm-diseno .jm-vs__fila > .elementor-widget { display: flex; padding: 1rem 1.2rem; font-size: .95rem; }
.jm-diseno .jm-vs__k p { font-weight: 600; color: #fff; }
.jm-diseno .jm-vs__no p { color: var(--muted); }
.jm-diseno .jm-vs__si { background: rgb(255 20 20 / .07); box-shadow: inset 1px 0 0 rgb(255 20 20 / .35); }
.jm-diseno .jm-vs__si p { color: #fff; }
.jm-diseno .jm-vs__no p, .jm-diseno .jm-vs__si p { display: flex; gap: .55rem; align-items: flex-start; }
.jm-diseno .jm-vs__no p::before, .jm-diseno .jm-vs__si p::before { content: ""; flex: none; width: 1.05em; height: 1.05em; margin-top: .25em; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.jm-diseno .jm-vs__no p::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128z'/%3E%3C/svg%3E"); }
.jm-diseno .jm-vs__si p::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32z'/%3E%3C/svg%3E"); color: var(--red); }
.jm-diseno .jm-vs__si p { color: #fff; }
.jm-diseno .jm-vs__si p::before { background: var(--red); }
.jm-diseno .jm-vs__cab > .elementor-widget { padding-block: 1.1rem; }
.jm-diseno .jm-vs__cab .elementor-heading-title { font-size: 1.5rem; letter-spacing: .02em; color: var(--muted); }
.jm-diseno .jm-vs__cab > .elementor-widget:last-child .elementor-heading-title { color: var(--red); }
@media (max-width: 600px) {
  .jm-diseno .e-con.jm-vs__fila { grid-template-columns: 1fr 1fr; }
  .jm-diseno .jm-vs__k { grid-column: 1 / -1; padding-bottom: 0 !important; }
  .jm-diseno .jm-vs__k p { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
  .jm-diseno .jm-vs__cab > .elementor-widget:first-child { display: none; }
  .jm-diseno .jm-vs__si { box-shadow: none; background: none; }
  .jm-diseno .jm-vs__fila > .elementor-widget { align-items: flex-start; padding-top: .7rem; }
}

.jm-diseno .e-con.jm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jm-diseno .e-con.jm-duo__item { align-items: flex-start; --row-gap: .9rem; --padding-top: clamp(1.6rem, 3.5vw, 2.6rem); --padding-bottom: clamp(1.6rem, 3.5vw, 2.6rem); --padding-left: clamp(1.6rem, 3.5vw, 2.6rem); --padding-right: clamp(1.6rem, 3.5vw, 2.6rem); border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .4s; }
.jm-diseno .e-con.jm-duo__item:hover { border-color: rgb(255 20 20 / .45); }
.jm-diseno .jm-duo__ico .elementor-icon { display: grid; place-items: center; width: 46px; height: 46px; font-size: 22px; border-radius: var(--r-b); background: var(--grad); color: #fff; fill: #fff; box-shadow: 0 8px 24px -6px rgb(255 20 20 / .7); }
.jm-diseno .jm-duo__item h2.elementor-heading-title { font-size: clamp(1.8rem, 2.4vw, 2.2rem); }
.jm-diseno .jm-duo__item .elementor-widget-text-editor { flex: 1; max-width: 52ch; }
.jm-diseno .e-con.jm-duo__item:only-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .jm-diseno .e-con.jm-duo { grid-template-columns: 1fr; } }

.jm-diseno .e-con.jm-tfinal { --padding-top: clamp(3rem, 6vw, 5rem); --padding-bottom: clamp(3rem, 6vw, 5rem); }
.jm-diseno .e-con.jm-cta-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2rem clamp(2rem, 5vw, 4rem); align-items: center; --padding-top: clamp(2rem, 5vw, 4rem); --padding-bottom: clamp(2rem, 5vw, 4rem); --padding-left: clamp(2rem, 5vw, 4rem); --padding-right: clamp(2rem, 5vw, 4rem); border-radius: calc(var(--r) * 1.5); border: 0 !important; box-shadow: inset 0 0 0 1px rgb(255 20 20 / .22), 0 50px 110px -40px rgb(255 20 20 / .55); }
.jm-diseno .e-con.jm-cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; display: block; opacity: 1; background: radial-gradient(60% 90% at 100% 50%, rgb(255 20 20 / .35), transparent 70%), linear-gradient(90deg, rgb(3 3 3 / .94), rgb(3 3 3 / .78)); }
.jm-diseno .e-con.jm-cta-panel__txt { --row-gap: 1rem; }
.jm-diseno .jm-cta-panel h2.elementor-heading-title { font-size: clamp(2.2rem, 3.6vw, 3.2rem); max-width: 26ch; }
.jm-diseno .e-con.jm-cta-panel__acc { --row-gap: .8rem; width: auto; }
.jm-diseno .jm-cta-panel__acc .elementor-button { width: 100%; }
.jm-diseno .jm-tfinal__tienda p { margin-top: .4rem; font-size: .9rem; color: var(--muted); text-align: center; }
.jm-diseno .jm-tfinal__tienda a { color: #fff; }
@media (max-width: 860px) { .jm-diseno .e-con.jm-cta-panel { grid-template-columns: 1fr; } .jm-diseno .e-con.jm-cta-panel__acc { width: 100%; } }

/* ================= Preguntas frecuentes y legales ================= */
.jm-diseno .e-con.jm-faq-pag { max-width: 860px; --padding-top: clamp(3rem, 6vw, 5rem); --padding-bottom: var(--sec); }
.jm-diseno .jm-faq-pag h1.elementor-heading-title, .jm-diseno .jm-legal h1.elementor-heading-title { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.jm-diseno .jm-faq-pag > .jm-lead { margin-top: 1.2rem; }
.jm-diseno .jm-faq-pag > .jm-lead p { max-width: 62ch; font-size: inherit; }
.jm-diseno .jm-faq-pag > .jm-faq { margin-top: 2.5rem; }
.jm-diseno .jm-faq-pag__mas { margin-top: 2.5rem; }
.jm-diseno .jm-faq-pag__mas p { color: var(--muted); }
.jm-diseno .jm-faq-pag__mas a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .32em; }

.jm-diseno .e-con.jm-legal { max-width: 780px; --padding-top: clamp(3rem, 6vw, 5rem); --padding-bottom: var(--sec); }
.jm-diseno .jm-legal h1.elementor-heading-title { margin-bottom: 1.8rem; }
.jm-diseno .jm-legal__txt h2 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; color: var(--text); font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.05; margin: 2.6rem 0 .8rem; padding-left: .9rem; border-left: 3px solid var(--red); }
.jm-diseno .jm-legal__txt h3 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; color: var(--text); font-size: 1.35rem; margin: 1.6rem 0 .6rem; }
.jm-diseno .jm-legal__txt p, .jm-diseno .jm-legal__txt li { color: #c7c7c7; }
.jm-diseno .jm-legal__txt p { margin: 0 0 .9em; }
.jm-diseno .jm-legal__txt a { color: #fff; text-decoration-color: var(--red); text-underline-offset: .25em; }
.jm-diseno .jm-legal__txt ul, .jm-diseno .jm-legal__txt ol { padding-left: 1.2rem; margin: 0 0 1em; }
.jm-diseno .jm-legal__txt table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; border: 0; }
.jm-diseno .jm-legal__txt th, .jm-diseno .jm-legal__txt td { text-align: left; padding: .7rem .8rem; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; background: none !important; color: #c7c7c7; }
.jm-diseno .jm-legal__txt th { color: var(--muted); font-weight: 600; width: 34%; }
.jm-diseno .jm-legal > .jm-enlace { margin-top: 3rem; }
/* Documento de cookies de Complianz dentro del diseño */
.jm-diseno .jm-legal__txt #cmplz-document, .jm-diseno .jm-legal__txt .cmplz-document { max-width: none; padding: 0; background: none; color: #c7c7c7; font-size: inherit; }
.jm-diseno .jm-legal__txt #cmplz-document h2, .jm-diseno .jm-legal__txt #cmplz-document h3, .jm-diseno .jm-legal__txt .cmplz-document h2, .jm-diseno .jm-legal__txt .cmplz-document h3 { color: #fff; }
.jm-diseno .jm-legal__txt .cmplz-document details, .jm-diseno .jm-legal__txt .cmplz-document .cmplz-dropdown { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-s); }
.jm-diseno .jm-legal__txt .cmplz-document summary, .jm-diseno .jm-legal__txt .cmplz-document .cmplz-dropdown summary { background: transparent !important; color: #fff; }

/* ---------- Ajustes ---------- */
/* Acordeón: pregunta a la izquierda, un solo «+» a la derecha que gira al abrir */
.jm-diseno .jm-faq { --n-accordion-title-icon-order: initial; }
.jm-diseno .jm-faq .e-n-accordion-item-title { flex-direction: row; justify-content: space-between; }
.jm-diseno .jm-faq .e-n-accordion-item-title-header { flex: 1; justify-content: flex-start; text-align: left; }
.jm-diseno .jm-faq .e-n-accordion-item-title-icon { order: 2; }
.jm-diseno .jm-faq .e-n-accordion-item .e-n-accordion-item-title-icon .e-opened { display: none !important; }
.jm-diseno .jm-faq .e-n-accordion-item .e-n-accordion-item-title-icon .e-closed { display: grid !important; }
/* Textos de cajas de icono y formulario con la fuente de la web (no la del kit) */
.jm-diseno [data-elementor-type="wp-page"] :is(.elementor-icon-box-description, .elementor-field-label, .elementor-field, .elementor-field-textual, .elementor-message, .e-n-accordion-item-title-text) { font-family: "Barlow", system-ui, sans-serif; }
.jm-diseno .jm-form select.elementor-field-textual { height: 48px; min-height: 48px; padding-block: 0; line-height: 46px; color: #fff; appearance: none; -webkit-appearance: none; }
.jm-diseno .jm-form select.elementor-field-textual option { background: var(--s1); color: #fff; }
/* Los campos del formulario: el kit de Elementor los pinta de blanco */
.jm-diseno .jm-form .elementor-field-group .elementor-field-textual { background-color: var(--s1) !important; border: 1px solid var(--line-2) !important; color: #fff !important; }
.jm-diseno .jm-form .elementor-field-group .elementor-field-textual:focus { border-color: var(--red) !important; }
/* Tabla de cookies de Complianz en oscuro */
.jm-diseno .jm-legal__txt .cmplz-dropdown summary, .jm-diseno .jm-legal__txt .cmplz-dropdown > div { background: rgb(255 255 255 / .04) !important; color: #fff !important; }
.jm-diseno .jm-legal__txt .cmplz-dropdown { border: 1px solid var(--line) !important; margin-bottom: 6px; }
