/* Jungle Communications · base común de los bocetos v3 (A-F y la página de elegir), sobre widgets NATIVOS de Elementor.
   Cada widget lleva su clase (_css_classes); aquí se pinta su marcado: .elementor-heading-title, p, img, .elementor-button,
   .elementor-icon-list-*. Cada propuesta define sus tokens y su maqueta en jg-<letra>.css. */

/* ── Reinicio ── */
body.jg-site {
	--g: clamp(20px, 4vw, 64px); --maxw: 1440px; --ease: cubic-bezier(.2, .7, .2, 1);
	--container-default-padding-top: 0px; --container-default-padding-right: 0px; --container-default-padding-bottom: 0px; --container-default-padding-left: 0px;
	--widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; --kit-widget-spacing: 0px;
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--diag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
	--leaf-mask: url(img/hoja.png);
	margin: 0; background: var(--bg); color: var(--ink); font-family: var(--fb); font-size: 17px; line-height: 1.55;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
html:has(body.jg-site) { scroll-behavior: smooth; background: #0A1C16; }
html.jg-lenis, html.jg-lenis body { scroll-behavior: auto !important; overflow-anchor: none; }
html, body.jg-site { overflow-x: clip; }
body.jg-site *, body.jg-site *::before, body.jg-site *::after { box-sizing: border-box; }
:where(body.jg-site) img { max-width: 100%; height: auto; }
:where(body.jg-site) :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
:where(body.jg-site) a { color: inherit; }
:where(body.jg-site) :is(h1, h2, h3, h4, h5, p, figure, blockquote, ul) { margin: 0; }
:where(body.jg-site) button { font: inherit; color: inherit; }
body.jg-site :focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
body.jg-site ::selection { background: var(--acc); color: var(--acc-ink); }
body.jg-site .e-con { --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
/* Fuera las transiciones de transform de Elementor: chocan con GSAP (las entradas se quedaban a medias) */
body.jg-site { --e-con-transform-transition-duration: 0s; --e-transform-transition-duration: 0s; }
/* Ni transform ni opacity: los anima GSAP y una transición CSS encima los deja a medias o con retraso. Los hovers usan translate/scale. */
body.jg-site .e-con, body.jg-site .elementor-element { transition-property: background, border, border-radius, box-shadow; }
/* Hoja de E: gira con una animación CSS (transform); la reducción al bajar va en «scale» suelto con una variable que mueve GSAP.
   OJO: en elementos que GSAP ya anima, GSAP pone translate/scale/rotate a «none» en línea: ahí no sirven las propiedades sueltas. */
body.jg-site .jg-hoja3d img { scale: var(--ps, 1); }
body.jg-site a.e-con { color: inherit; text-decoration: none; }
/* Colores y tipos globales de Elementor fuera: los ponen las clases del tema */
body.jg-site .elementor-heading-title { padding: 0; margin: 0; color: inherit; font-family: var(--fd); font-weight: inherit; line-height: inherit; }
body.jg-site .elementor-heading-title a { color: inherit; text-decoration: none; }
body.jg-site .elementor-widget-text-editor { color: inherit; font-family: var(--fb); font-weight: inherit; }
body.jg-site .elementor-icon-list-text, body.jg-site .elementor-icon-list-item > a { color: inherit !important; font: inherit; padding: 0 !important; }
body.jg-site .elementor-icon-list-items { list-style: none; margin: 0; padding: 0; }
body.jg-site .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
body.jg-site .elementor-icon-list-item::after { display: none !important; }
body.jg-site .elementor-widget-image img { display: block; }
body.jg-site .elementor-widget-image a { display: block; }
:where(body.jg-site .e-con.jg-deco) { flex: 0 0 auto; min-height: 0; }
body.jg-site .e-con.jg-grain { width: 200%; height: 200%; }
body.jg-site .e-con.jg-track__bar { width: auto; }
body.jg-site .e-con.jg-scroll { width: 26px; }

/* ── Estructura ── */
body.jg-site .e-con.jg-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--g); }
body.jg-site .e-con.jg-sec { position: relative; padding-block: var(--sec, clamp(84px, 11vw, 168px)); }
body.jg-site .jg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ── Tipografía ── */
body.jg-site .jg-t-h1 .elementor-heading-title { font-family: var(--fd); font-weight: var(--h1w, 700); font-size: var(--h1s); line-height: var(--h1lh, .95); letter-spacing: var(--h1ls, -.035em); color: var(--ink); }
body.jg-site .jg-t-h1 .ln { display: block; }
body.jg-site .jg-t-h2 .elementor-heading-title { font-family: var(--fd); font-weight: var(--h2w, 650); font-size: var(--h2s); line-height: var(--h2lh, 1.02); letter-spacing: var(--h2ls, -.03em); color: var(--ink); text-wrap: balance; }
body.jg-site .jg-t-h3 .elementor-heading-title { font: 600 clamp(19px, 1.7vw, 24px)/1.25 var(--fd); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
body.jg-site .jg-p-lead p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--mute); max-width: 60ch; }
html.jg-pre body.jg-site .jg-hero .jg-t-h1, html.jg-pre body.jg-site .jg-hero .jg-dpill { opacity: 0; }

/* ── Botones (widget Botón) ── */
body.jg-site .jg-btn .elementor-button {
	display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; border-radius: var(--btn-r, 999px); border: 1px solid transparent;
	font: 600 15px/1 var(--fb); letter-spacing: .01em; text-decoration: none; background: transparent; color: var(--ink); cursor: pointer; overflow: hidden; position: relative;
	transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease), box-shadow .3s;
}
body.jg-site .jg-btn .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
body.jg-site .jg-btn .elementor-button::after { content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .4s var(--ease); }
body.jg-site .jg-btn .elementor-button:hover::after { transform: translateX(5px); }
body.jg-site .jg-btn--acc .elementor-button { background: var(--acc); color: var(--acc-ink); }
body.jg-site .jg-btn--acc .elementor-button:hover { background: var(--acc-hover, var(--ink)); color: var(--acc-ink-hover, var(--bg)); }
body.jg-site .jg-btn--ghost .elementor-button { border-color: var(--line-2); }
body.jg-site .jg-btn--ghost .elementor-button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.jg-site .jg-btn--line .elementor-button { padding-inline: 0; border-radius: 0; border-width: 0 0 1px; border-color: var(--line-2); }
body.jg-site .jg-btn--line .elementor-button:hover { border-color: var(--acc); color: var(--acc); }
body.jg-site .jg-btn--ink .elementor-button { background: var(--ink); color: var(--bg); }
body.jg-site .jg-btn--ink .elementor-button:hover { background: var(--acc); color: var(--acc-ink); }
body.jg-site .jg-btn--pill .elementor-button { padding: 11px 16px; font-size: 13px; background: var(--pill-bg, var(--soft)); color: var(--pill-ink, var(--ink)); }
body.jg-site .jg-btn--pill .elementor-button::after { width: 14px; height: 14px; -webkit-mask-image: var(--diag); mask-image: var(--diag); }

/* ── Cabecera (contenedor fijo con widgets: imagen, lista, botón, icono) ── */
body.jg-site .e-con.jg-top { position: fixed; inset: 0 0 auto; z-index: 60; pointer-events: none; }
body.jg-site .e-con.jg-hdr { pointer-events: auto; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 22px; padding: 18px var(--g); transition: translate .55s var(--ease), background .35s, padding .35s, box-shadow .35s; }
body.jg-site .e-con.jg-hdr.is-scrolled { background: var(--hdr-bg); padding-block: 11px; -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
body.jg-site .e-con.jg-hdr.is-hidden { translate: 0 -110%; }
body.jg-site .jg-hdr__logo { flex: 0 0 auto; }
body.jg-site .jg-hdr__logo img { height: 42px; width: auto; transition: height .35s; }
body.jg-site .jg-hdr.is-scrolled .jg-hdr__logo img { height: 36px; }
body.jg-site .jg-hdr__nav { margin-inline: auto; }
body.jg-site .jg-hdr__nav .elementor-icon-list-items { display: flex; flex-wrap: nowrap; gap: 2px; padding: 4px; border-radius: var(--nav-r, 999px); background: var(--nav-bg); border: 1px solid var(--line); }
body.jg-site .jg-hdr__nav .elementor-icon-list-item > a { display: block; padding: 9px 14px !important; border-radius: var(--nav-r, 999px); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .25s, color .25s; }
body.jg-site .jg-hdr__nav .elementor-icon-list-item > a:hover { background: var(--ink); color: var(--bg) !important; }
body.jg-site .jg-hdr__lang .elementor-icon-list-items { display: flex; gap: 10px; font: 500 12px/1 var(--fm); letter-spacing: .08em; }
body.jg-site .jg-hdr__lang .elementor-icon-list-item:first-child { color: var(--ink); }
body.jg-site .jg-hdr__lang .elementor-icon-list-item:last-child { color: var(--mute); }
body.jg-site .jg-hdr__cta .elementor-button { display: inline-flex; padding: 12px 20px; border-radius: var(--btn-r, 999px); background: var(--acc); color: var(--acc-ink); font: 600 14px/1 var(--fb); border: 0; transition: background .25s, color .25s; }
body.jg-site .jg-hdr__cta .elementor-button:hover { background: var(--ink); color: var(--bg); }
body.jg-site .jg-burger { display: none; }
body.jg-site .jg-burger .elementor-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--nav-bg); color: var(--ink); font-size: 18px; cursor: pointer; }
body.jg-site .jg-burger .elementor-icon i, body.jg-site .jg-burger .elementor-icon svg { color: var(--ink); fill: var(--ink); width: 18px; height: 18px; }
body.jg-site .e-con.jg-mnav { position: fixed; inset: 0; z-index: -1; pointer-events: auto; display: flex; justify-content: flex-end; padding: 110px var(--g) 36px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; }
body.jg-menu-open { overflow: hidden; }
body.jg-menu-open .e-con.jg-mnav { opacity: 1; visibility: visible; }
body.jg-menu-open .e-con.jg-hdr { translate: none; }
body.jg-site .jg-mnav__list .elementor-icon-list-item > a { display: block; padding: 4px 0 !important; font: 650 clamp(34px, 9vw, 58px)/1.08 var(--fd); letter-spacing: -.03em; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.jg-menu-open .jg-mnav__list .elementor-icon-list-item > a { opacity: 1; transform: none; }
body.jg-site .jg-mnav__list .elementor-icon-list-item:nth-child(n) > a { transition-delay: calc(var(--i, 0) * 45ms); }
body.jg-site .jg-mnav__tel { margin-top: 24px; color: var(--mute); }
body.jg-site .jg-mnav__tel a { color: var(--acc); }
@media (max-width: 1240px) { body.jg-site .jg-hdr__nav, body.jg-site .jg-hdr__lang { display: none; } body.jg-site .jg-hdr__cta { margin-left: auto; } body.jg-site .jg-burger { display: block; } }
@media (max-width: 640px) { body.jg-site .jg-hdr__cta { display: none; } body.jg-site .jg-burger { margin-left: auto; } body.jg-site .jg-hdr__logo img { height: 34px; } }

/* ── Sedes (lista en línea) ── */
body.jg-site .jg-sedes .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 12px/1.4 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
body.jg-site .jg-sedes .elementor-icon-list-item + .elementor-icon-list-item::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--acc); margin: auto 12px auto -14px; }
body.jg-site .jg-sedes .elementor-icon-list-item { display: flex; align-items: center; }
body.jg-site .jg-scroll { width: 26px; height: 42px !important; border: 1.5px solid var(--line-2); border-radius: 14px; position: relative; flex: 0 0 auto; }
body.jg-site .jg-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--acc); animation: jg-scroll 1.8s var(--ease) infinite; }
@keyframes jg-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
body.jg-site .jg-grain { position: absolute !important; inset: -50%; pointer-events: none; opacity: var(--grain, .07); z-index: 3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: jg-grain 8s steps(8) infinite; }
@keyframes jg-grain { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-6%, 4%); } 50% { transform: translate(5%, -6%); } 75% { transform: translate(-3%, -2%); } }

/* ── Carruseles (contenedor que se desplaza; la velocidad la toca el scroll desde jg-motion.js) ── */
body.jg-site .e-con.jg-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
body.jg-site .e-con.jg-marquee + .e-con.jg-marquee { margin-top: 6px; }
body.jg-site .e-con.jg-marquee__track { flex-direction: row; flex-wrap: nowrap; align-items: center; width: max-content; animation: jg-mq var(--dur, 70s) linear infinite; }
body.jg-site .jg-marquee.is-rev .jg-marquee__track { animation-direction: reverse; }
body.jg-site .jg-marquee:hover .jg-marquee__track { animation-play-state: paused; }
@keyframes jg-mq { to { transform: translateX(-50%); } }
body.jg-site .jg-logo { flex: 0 0 auto; padding: 18px clamp(22px, 2.8vw, 46px); }
body.jg-site .jg-logo img { height: 46px; width: auto; max-width: 170px; object-fit: contain; filter: var(--logo-f, none); opacity: var(--logo-o, .6); transition: opacity .3s, filter .3s; }
body.jg-site .jg-logo:hover img { opacity: 1; filter: var(--logo-f-hover, var(--logo-f, none)); }
body.jg-site .jg-marcas__h { margin-bottom: 34px; }

/* ── Como tú, somos únicos ── */
body.jg-site .e-con.jg-somos__in { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
body.jg-site .jg-somos__foto { border-radius: var(--r-lg, 22px); overflow: hidden; max-width: 440px; background: var(--bg2); }
body.jg-site .jg-somos__foto img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
body.jg-site .jg-somos__h .elementor-heading-title { margin-bottom: 30px; }
body.jg-site .jg-somos__ps p { color: var(--mute); font-size: clamp(16px, 1.15vw, 18px); max-width: 62ch; margin-bottom: 16px; }
body.jg-site .jg-somos__ps p:nth-child(-n+2) { font: var(--somos-w, 600) clamp(23px, 2.3vw, 38px)/1.2 var(--fd); letter-spacing: -.02em; color: var(--ink); max-width: 30ch; margin-bottom: 22px; }
body.jg-site .jg-somos .jg-btn { margin-top: 26px; }
@media (max-width: 900px) { body.jg-site .e-con.jg-somos__in { grid-template-columns: 1fr !important; } body.jg-site .jg-somos__foto { max-width: 360px; } }

/* ── Servicios en lista con foto que sigue al cursor (A) ── */
body.jg-site .e-con.jg-svcs-w { position: relative; }
body.jg-site .e-con.jg-svcs { border-top: 1px solid var(--line); position: relative; isolation: isolate; }
body.jg-site .e-con.jg-svc { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1.15fr) minmax(0, 1fr) 58px; grid-template-areas: "n t d go" "n t ver go"; gap: 8px clamp(24px, 3.4vw, 56px); align-items: start; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); transition: padding .55s var(--ease); }
body.jg-site .e-con.jg-svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--row-hover); opacity: 0; transition: opacity .35s; }
body.jg-site .e-con.jg-svc::after { content: ""; grid-area: go; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--diag-img) center/20px no-repeat; transition: transform .55s var(--ease), background-color .3s, border-color .3s; }
body.jg-site .jg-svc__n { grid-area: n; }
body.jg-site .jg-svc__n .elementor-heading-title { font: 500 13px/1 var(--fm); color: var(--mute); padding-top: 14px; }
body.jg-site .jg-svc__t { grid-area: t; }
body.jg-site .jg-svc__t .elementor-heading-title { font: var(--h2w, 650) clamp(34px, 4.4vw, 68px)/1 var(--fd); letter-spacing: -.035em; transition: color .3s; }
body.jg-site .jg-svc__d { grid-area: d; color: var(--mute); max-width: 50ch; font-size: 16px; padding-top: 8px; }
body.jg-site .jg-svc__ver { grid-area: ver; }
body.jg-site .jg-svc__ver .elementor-heading-title { font: 500 12px/1 var(--fm); letter-spacing: .14em; color: var(--acc); padding-top: 4px; }
body.jg-site .jg-svc__img { display: none; }
@media (hover: hover) and (min-width: 901px) {
	body.jg-site .e-con.jg-svc:hover { padding-inline: 26px; }
	body.jg-site .e-con.jg-svc:hover::before { opacity: 1; }
	body.jg-site .e-con.jg-svc:hover::after { transform: rotate(45deg); background-color: var(--acc); background-image: var(--diag-img-acc, var(--diag-img)); border-color: var(--acc); }
	body.jg-site .jg-svcs:hover .e-con.jg-svc:not(:hover) .jg-svc__t .elementor-heading-title { color: var(--dim); }
}
body.jg-site .jg-follow { position: absolute !important; left: 0; top: 0; z-index: 6; width: clamp(240px, 22vw, 340px) !important; margin: 0; border-radius: var(--r-md, 18px); overflow: hidden; pointer-events: none; opacity: 0; scale: .5; transition: opacity .3s, scale .5s var(--ease); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
body.jg-site .jg-follow img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
body.jg-site .jg-follow.on { opacity: 1; scale: 1; }
@media (max-width: 900px) {
	body.jg-site .jg-follow { display: none; }
	body.jg-site .e-con.jg-svc { grid-template-columns: 1fr 48px; grid-template-areas: "img img" "n go" "t t" "d d" "ver ver"; gap: 10px 16px; }
	body.jg-site .e-con.jg-svc::after { width: 48px; height: 48px; }
	body.jg-site .jg-svc__img { display: block; grid-area: img; }
	body.jg-site .jg-svc__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md, 18px); margin-bottom: 8px; }
	body.jg-site .jg-svc__n .elementor-heading-title { padding-top: 0; }
}

/* ── Tarjetas de servicio (B, C, F) ── */
body.jg-site .e-con.jg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cards-gap, clamp(14px, 1.6vw, 24px)); }
body.jg-site .e-con.jg-card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; transform-style: preserve-3d; }
body.jg-site .jg-card__img { overflow: hidden; }
body.jg-site .jg-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale 1.1s var(--ease), filter .7s; }
body.jg-site .e-con.jg-card:hover .jg-card__img img { scale: 1.06; }
body.jg-site .jg-card__n .elementor-heading-title { font: 500 12px/1 var(--fm); letter-spacing: .1em; color: var(--acc); }
body.jg-site .jg-card__t .elementor-heading-title { font: var(--h2w, 650) clamp(26px, 2.4vw, 36px)/1.02 var(--fd); letter-spacing: -.02em; }
body.jg-site .jg-card__d { color: var(--mute); font-size: 15.5px; }
body.jg-site .jg-card__ver { margin-top: auto; padding-top: 10px; }
body.jg-site .jg-card__ver .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--fm); letter-spacing: .12em; color: var(--acc); }
body.jg-site .jg-card__ver .elementor-heading-title::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .4s var(--ease); }
body.jg-site .e-con.jg-card:hover .jg-card__ver .elementor-heading-title::after { transform: translateX(5px); }
@media (max-width: 980px) { body.jg-site .e-con.jg-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { body.jg-site .e-con.jg-cards { grid-template-columns: 1fr; } }

/* ── Proyectos: rejilla y pista (solo imágenes) ── */
body.jg-site .jg-proy__h { margin-bottom: clamp(36px, 5vw, 64px); max-width: 980px; }
body.jg-site .e-con.jg-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
body.jg-site .jg-pg { position: relative; overflow: hidden; border-radius: var(--r-lg, 22px); background: var(--bg2); }
body.jg-site .jg-pg img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: scale 1.1s var(--ease), filter .7s; }
body.jg-site .jg-pg:hover img { scale: 1.06; }
body.jg-site .jg-pg a::after { content: ""; position: absolute; right: 16px; top: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--bg) var(--diag-img, none) center/18px no-repeat; opacity: 0; transform: scale(.7) rotate(-45deg); transition: opacity .3s, transform .45s var(--ease); }
body.jg-site .jg-pg:hover a::after { opacity: 1; transform: none; }
@media (max-width: 900px) { body.jg-site .e-con.jg-pgrid { grid-template-columns: 1fr 1fr; } }
body.jg-site .e-con.jg-track { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; }
body.jg-site .e-con.jg-track::-webkit-scrollbar { display: none; }
body.jg-site .e-con.jg-track.is-pin { overflow: hidden; scroll-snap-type: none; }
body.jg-site .e-con.jg-track__in { flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: clamp(18px, 2vw, 30px); padding-inline: var(--g); width: max-content; }
body.jg-site .e-con.jg-track__intro { flex: 0 0 auto; width: min(460px, 82vw); justify-content: center; padding-right: clamp(10px, 3vw, 50px); scroll-snap-align: start; }
body.jg-site .jg-pcard { flex: 0 0 auto; width: clamp(270px, 29vw, 440px) !important; scroll-snap-align: start; border-radius: var(--r-lg, 22px); overflow: hidden; }
body.jg-site .jg-pcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: scale 1.1s var(--ease); }
body.jg-site .jg-pcard:hover img { scale: 1.06; }
body.jg-site .jg-track__bar { height: 2px !important; margin: clamp(30px, 4vw, 50px) var(--g) 0; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
body.jg-site .jg-track__bar::after { content: ""; position: absolute; inset: 0; background: var(--acc); transform-origin: 0 50%; transform: scaleX(var(--tp, .08)); }

/* ── Los dos párrafos de la portada ── */
body.jg-site .e-con.jg-enfoque__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); }
body.jg-site .jg-enfoque__p .elementor-heading-title { font: var(--enf-w, 500) clamp(21px, 2vw, 32px)/1.32 var(--fd); letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
body.jg-site .jg-enfoque__p:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
@media (max-width: 900px) { body.jg-site .e-con.jg-enfoque__in { grid-template-columns: 1fr; } body.jg-site .jg-enfoque__p:nth-child(2) { margin-top: 0; } }

/* ── Combustible cerebral (carrusel de 5 que se arrastra) ── */
body.jg-site .e-con.jg-blog__head { gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); align-items: flex-start; }
body.jg-site .e-con.jg-blog__track { flex-direction: row; flex-wrap: nowrap; gap: clamp(18px, 2vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding-bottom: 18px; cursor: grab; }
body.jg-site .e-con.jg-blog__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
body.jg-site .e-con.jg-post { flex: 0 0 auto; width: clamp(260px, calc((100% - 60px) / 3), 460px); gap: 16px; scroll-snap-align: start; }
body.jg-site .jg-post__img { overflow: hidden; border-radius: var(--r-lg, 22px); }
body.jg-site .jg-post__img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transition: scale 1.1s var(--ease), filter .6s; filter: var(--post-f, none); }
body.jg-site .e-con.jg-post:hover .jg-post__img img { scale: 1.05; filter: none; }
body.jg-site .jg-post__t .elementor-heading-title { font: 600 clamp(19px, 1.6vw, 23px)/1.25 var(--fd); letter-spacing: -.015em; text-wrap: balance; }
@media (max-width: 900px) { body.jg-site .e-con.jg-post { width: 80%; } }

/* ── Contacto: Contact Form 7 por pasos (los pasos los monta jg.js sobre .jg-cf-paso) ── */
body.jg-site .e-con.jg-brief { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
body.jg-site .jg-brief__h { position: sticky; top: 120px; }
body.jg-site .jg-brief__form .wpcf7 { position: relative; }
body.jg-site form.jg-cf { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: clamp(24px, 3.4vw, 50px); border-radius: var(--r-xl, 30px); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--brief-sh, none); }
body.jg-site form.jg-cf p { margin: 0; }
body.jg-site form.jg-cf br { display: none; }
.jg-cf__top { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(26px, 3vw, 40px); font: 500 12.5px/1 var(--fm); letter-spacing: .1em; color: var(--mute); }
.jg-cf__top b { color: var(--ink); font-weight: 500; }
.jg-cf__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.jg-cf__bar i { display: block; height: 100%; width: calc(var(--pp, 1) / var(--pt, 3) * 100%); background: var(--acc); transition: width .6s var(--ease); }
body.jg-site .jg-cf.is-pasos .jg-cf-paso { display: none; }
body.jg-site .jg-cf.is-pasos .jg-cf-paso.is-on { display: block; animation: jg-step .55s var(--ease); }
body.jg-site .jg-cf.is-pasos .jg-cf-paso.is-on.is-back { animation-name: jg-step-back; }
@keyframes jg-step { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes jg-step-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
body.jg-site .jg-cf label { display: block; font: var(--h2w, 650) clamp(24px, 2.4vw, 38px)/1.12 var(--fd); letter-spacing: -.025em; color: var(--ink); }
body.jg-site .jg-cf input[type="text"], body.jg-site .jg-cf input[type="email"] { display: block; width: 100%; margin-top: 22px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--ink); font: 400 clamp(19px, 1.7vw, 25px)/1.4 var(--fb); outline: 0; transition: border-color .25s; }
body.jg-site .jg-cf input:focus { border-bottom-color: var(--acc); }
body.jg-site .jg-cf .wpcf7-not-valid { border-bottom-color: var(--err) !important; }
body.jg-site .jg-cf .wpcf7-not-valid-tip { margin-top: 8px; color: var(--err); font: 500 13px/1.4 var(--fb); }
body.jg-site .jg-cf .wpcf7-acceptance { display: block; margin-top: 26px; }
body.jg-site .jg-cf .wpcf7-list-item { margin: 0; }
body.jg-site .jg-cf .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 12px; font: 400 15px/1.45 var(--fb); letter-spacing: 0; color: var(--mute); cursor: pointer; }
body.jg-site .jg-cf .wpcf7-acceptance input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--acc); flex: 0 0 auto; }
body.jg-site .jg-cf .wpcf7-acceptance a { color: var(--acc); }
body.jg-site .jg-cf .wpcf7-submit { display: inline-flex; align-items: center; margin-top: 30px; padding: 17px 30px; border: 0; border-radius: var(--btn-r, 999px); background: var(--acc); color: var(--acc-ink); font: 600 15px/1 var(--fb); cursor: pointer; transition: background .25s, color .25s, opacity .25s; }
body.jg-site .jg-cf .wpcf7-submit:hover { background: var(--ink); color: var(--bg); }
body.jg-site .jg-cf .wpcf7-submit:disabled { opacity: .45; cursor: not-allowed; }
body.jg-site .jg-cf .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.jg-cf__nav { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 30px; }
.jg-cf__nav button { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.jg-cf__nav button::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; }
.jg-cf__atras::before { transform: scaleX(-1); }
.jg-cf__sig { margin-left: auto; background: var(--acc) !important; border-color: var(--acc) !important; color: var(--acc-ink) !important; }
.jg-cf__sig:hover { transform: translateX(4px); }
.jg-cf__nav [hidden] { display: none; }
body.jg-site .jg-cf .wpcf7-response-output { margin: 22px 0 0 !important; padding: 14px 18px !important; border-radius: 14px; border: 1px solid var(--line-2) !important; color: var(--ink); font-size: 15px; }
body.jg-site .jg-cf.sent .wpcf7-response-output { border-color: var(--acc) !important; }
.jg-shake { animation: jg-shake .45s; }
@keyframes jg-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 960px) { body.jg-site .e-con.jg-brief { grid-template-columns: 1fr; } body.jg-site .jg-brief__h { position: static; } }

/* ── Pie ── */
body.jg-site .e-con.jg-ftr { position: relative; overflow: hidden; padding: clamp(84px, 10vw, 150px) var(--g) 26px; background: var(--ftr-bg, var(--bg)); color: var(--ftr-ink, var(--ink)); --ink: var(--ftr-ink, #F2EFE6); }
body.jg-site .e-con.jg-ftr > .e-con { width: 100%; max-width: var(--maxw); margin-inline: auto; }
body.jg-site .e-con.jg-ftr__cta { margin-bottom: clamp(70px, 9vw, 130px); }
body.jg-site .jg-ftr__kick .elementor-heading-title { font: 500 12.5px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
body.jg-site .jg-ftr__big .elementor-heading-title { font: var(--h2w, 650) clamp(42px, 6.6vw, 112px)/.98 var(--fd); letter-spacing: -.045em; max-width: 15ch; margin-bottom: 34px; text-wrap: balance; }
body.jg-site .jg-ftr__tel p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; font-size: clamp(17px, 1.4vw, 21px); }
body.jg-site .jg-ftr__tel a { display: inline-block; color: var(--acc); font: 650 clamp(28px, 3vw, 46px)/1 var(--fd); letter-spacing: -.02em; text-decoration: none; }
body.jg-site .e-con.jg-ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 50px; border-top: 1px solid var(--ftr-line, rgba(242, 239, 230, .14)); }
body.jg-site .jg-ftr__logo img { height: 46px; width: auto; }
body.jg-site .jg-ftr__h .elementor-heading-title { font: 500 11.5px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--ftr-mute, rgba(242, 239, 230, .6)); margin-bottom: 16px; }
body.jg-site .jg-ftr__list .elementor-icon-list-items { display: grid; gap: 9px; font-size: 15px; }
body.jg-site .jg-ftr__list .elementor-icon-list-item > a:hover { color: var(--acc) !important; }
body.jg-site .jg-ftr__word { margin-top: clamp(50px, 7vw, 90px); text-align: center; pointer-events: none; user-select: none; }
body.jg-site .jg-ftr__word .elementor-heading-title { font: 800 clamp(110px, 25vw, 440px)/.78 var(--fd); letter-spacing: -.065em; color: transparent; -webkit-text-stroke: 1px var(--ftr-word, rgba(242, 239, 230, .22)); white-space: nowrap; }
body.jg-site .e-con.jg-ftr__bot { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ftr-line, rgba(242, 239, 230, .14)); font-size: 13px; color: var(--ftr-mute, rgba(242, 239, 230, .6)); }
body.jg-site .jg-ftr__legal { margin-right: auto; }
body.jg-site .jg-ftr__legal .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 6px 10px; }
body.jg-site .jg-ftr__legal .elementor-icon-list-item + .elementor-icon-list-item::before { content: "|"; margin-right: 10px; opacity: .5; }
body.jg-site .jg-ftr__legal .elementor-icon-list-item > a:hover { color: var(--ftr-ink, #F2EFE6) !important; }
body.jg-site .jg-ftr__kit img { height: 22px; width: auto; box-sizing: content-box; padding: 7px 12px; background: #fff; border-radius: 6px; }
body.jg-site .jg-ftr__badge img { height: 32px; width: auto; border-radius: 6px; }
@media (max-width: 960px) { body.jg-site .e-con.jg-ftr__grid { grid-template-columns: 1fr 1fr; } body.jg-site .jg-ftr__logo { grid-column: 1 / -1; } }

/* ── Capa de movimiento: telón, cursor, barra de progreso (los crea jg-motion.js) ── */
.jg-veil { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--veil-bg, #0A1C16); pointer-events: none; }
.jg-veil img { width: min(260px, 50vw); height: auto; }
.jg-progress { position: fixed; left: 0; top: 0; z-index: 70; height: 3px; width: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.jg-cursor, .jg-cursor-dot { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.jg-cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid #fff; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; }
.jg-cursor.is-on { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.jg-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
@media (hover: none), (pointer: coarse) { .jg-cursor, .jg-cursor-dot { display: none; } }

/* ── Entradas (solo si las animaciones han arrancado) ── */
html.jg-anim .jg-rv { clip-path: inset(0 0 100% 0); }
body.jg-site .jg-track.is-pin .jg-pcard img, body.jg-site .jg-track.is-pin .jg-panel__img img { transition: none; }
@media (prefers-reduced-motion: reduce) { html.jg-anim .jg-rv { clip-path: none; } body.jg-site .jg-marquee__track, body.jg-site .jg-grain, body.jg-site .jg-hoja3d img { animation: none !important; } }
