/*
 * Método VICON · páginas con widgets nativos de Elementor (body.vc-native). Escrito a mano, lo mínimo.
 * El diseño va en el Kit y en los widgets; aquí solo lo que Elementor no ofrece o lo que se repite en todas las páginas.
 * Clases para el campo "Clases CSS" de Elementor: vc-kicker, vc-lead, vc-note, vc-center, vc-stat-num, vc-btn-ghost,
 * vc-btn-dark, vc-accent-left, vc-list-center, vc-small-title (+ las vc-lang-* de vicon-lang.css).
 */

/* Texto */
.vc-native .vc-kicker .elementor-heading-title{font-size:.8rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--lang-text)}
.vc-native .vc-lead{font-size:1.07rem;color:var(--muted);max-width:60ch}
.vc-native .vc-center{margin-inline:auto}
.vc-native .vc-note{font-size:.9rem;color:var(--muted);font-weight:700}
.vc-native .vc-small-title .elementor-heading-title{font-size:1rem;color:var(--muted)}
.vc-native .elementor-widget-text-editor p:last-child{margin-bottom:0}
.vc-native .elementor-widget-text-editor a{color:var(--teal-deep);text-decoration:underline;text-underline-offset:3px}

/* Datos */
.vc-native .vc-stat-num .elementor-heading-title{font-size:clamp(1.8rem,4vw,2.4rem);font-weight:900;color:var(--teal-ink);line-height:1}
.vc-native .vc-stat-xl .elementor-heading-title{font-size:clamp(2.6rem,7vw,3.8rem);color:var(--lang-text)}
.vc-native .vc-dl{display:grid;grid-template-columns:auto 1fr;gap:.6rem 1.2rem;margin:0}
.vc-native .vc-dl dt{font-weight:800;color:var(--teal-ink)}
.vc-native .vc-dl dd{margin:0}

/* Botones secundarios (el principal sale del Kit en color de idioma) */
.vc-native .vc-btn-ghost .elementor-button{background:#fff;color:var(--teal-deep);box-shadow:inset 0 0 0 2px var(--teal)}
.vc-native .vc-btn-ghost .elementor-button:hover{background:var(--teal);color:#fff}
.vc-native .vc-btn-dark .elementor-button{background:var(--teal-ink);color:#fff}
.vc-native .vc-btn-dark .elementor-button:hover{background:var(--teal-deep);color:#fff}

/* Tarjetas y listas */
.vc-native .vc-accent-left{border-left-width:4px!important}
.vc-native .vc-list-center .elementor-icon-list-items{justify-content:center}
.vc-native .elementor-widget-image img{border-radius:var(--radius);width:100%;height:auto}
.vc-native .elementor-icon-box-title{margin:0 0 .3rem;font-size:1.05rem;font-weight:800;color:var(--teal-ink);line-height:1.25}
.vc-native .elementor-icon-box-description{color:var(--muted);margin:0}

/* Pestañas: la activa en color de idioma */
.vc-native .vc-tabs .e-n-tab-title{border-radius:100px;font-weight:800;font-family:inherit}
.vc-native .vc-tabs .e-n-tab-title[aria-selected="true"]{background:var(--lang);color:var(--lang-on)}

/* Precios: colores fijos de la clienta (no cambian con el idioma) */
.vc-native .vc-price .elementor-price-table{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;height:100%}
.vc-native .vc-price-basic .elementor-price-table__header{background:#5F8384}
.vc-native .vc-price-reco .elementor-price-table{border:2px solid #C1676B;background:#FAF0ED}
.vc-native .vc-price-reco .elementor-price-table__header{background:#C1676B}
.vc-native .vc-price .elementor-price-table__button{background:#5F8384;color:#fff;border-radius:100px}
.vc-native .vc-price-reco .elementor-price-table__button{background:#C1676B}

/* Colaboradores: logos a la misma altura, sin recortar */
.vc-native .vc-logos{align-items:center}
.vc-native .vc-logo img{width:auto;max-width:100%;max-height:72px;object-fit:contain;border-radius:0;margin-inline:auto;display:block}
/* Franja de colaboradores en color de idioma. Los logos son blancos; sobre groc (CA) pasan a oscuros. */
.vc-native .vc-sponsors .vc-small-title .elementor-heading-title{color:var(--lang-on);opacity:.9}
html[lang^="ca"] .vc-native .vc-sponsors .vc-logo img{filter:brightness(0);opacity:.72}

/* ===================== v2 · DESIGN.md ===================== */

/* Tipografía */
.vc-native :is(h1,h2,h3).elementor-heading-title{text-wrap:balance;letter-spacing:-.015em}
.vc-native h1.elementor-heading-title{font-size:clamp(2.2rem,5.2vw,3.6rem);line-height:1.08}
.vc-native h2.elementor-heading-title{font-size:clamp(1.7rem,3.6vw,2.5rem);line-height:1.12}
.vc-native .elementor-widget-text-editor p{text-wrap:pretty}
.vc-native .vc-lead{max-width:62ch}
.vc-native .vc-head{max-width:760px}

/* Etiqueta (kicker) en pastilla, en minúscula normal */
.vc-native .vc-kicker .elementor-heading-title{display:inline-block;text-transform:none;letter-spacing:0;font-size:.85rem;font-weight:800;padding:.35rem .8rem;border-radius:100px;background:var(--lang-soft);color:var(--lang-text)}
.vc-native .vc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.vc-native .vc-chip{font-size:.85rem;font-weight:800;padding:.35rem .8rem;border-radius:100px;background:#E1EBEC;color:var(--teal-deep)}

/* Hero con halo suave del color de idioma */
.vc-native .vc-hero{position:relative;isolation:isolate;overflow:clip}
body.vc-native{overflow-x:clip}
.vc-native .vc-hero::before{content:"";position:absolute;inset:-10% -20% auto auto;width:60%;aspect-ratio:1;background:radial-gradient(closest-side,var(--lang-soft),transparent);z-index:-1;pointer-events:none}
.vc-native .vc-photo img{border-radius:0;width:100%;height:auto}

/* Iconos en círculo suave */
.vc-native .vc-lang-icon .elementor-icon-box-icon .elementor-icon{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--lang-soft);font-size:20px}
.vc-native .vc-lang-icon .elementor-icon-box-icon .elementor-icon svg{width:20px;height:20px}
.vc-native .vc-keys .elementor-icon-box-wrapper{gap:16px}

/* Tarjetas: sin sombra en reposo, elevación muy suave al pasar */
.vc-native .e-con.e-con[class*="vc-"]:not(.vc-hero){transition:transform .25s ease,box-shadow .25s ease}
.vc-native .vc-bento>.e-con:hover{transform:translateY(-2px);box-shadow:0 12px 32px -20px rgba(37,56,58,.25)}

/* Bento de disciplinas */
.vc-native .vc-bento-xl{grid-column:span 2;grid-row:span 2;justify-content:center}
.vc-native .vc-bento-xl .elementor-icon-box-title{font-size:1.6rem}
.vc-native .vc-bento-xl .elementor-icon-box-description{font-size:1.1rem;max-width:32ch}
.vc-native .vc-bento-xl .elementor-icon{width:64px!important;height:64px!important;background:#fff!important}
.vc-native .vc-bento-cta .elementor-heading-title{color:#fff}
.vc-native .vc-btn-link .elementor-button{background:none;padding:0;color:#fff;text-decoration:underline;text-underline-offset:4px}
@media (max-width:1024px){.vc-native .vc-bento-xl{grid-row:span 1}}
@media (max-width:767px){.vc-native .vc-bento-xl{grid-column:span 2}}

/* Pestañas de entornos */
.vc-native .vc-entorno-media .vc-ill,.vc-native .vc-app-ill .vc-ill{width:100%;height:auto;display:block}
.vc-native .vc-avatars{margin:4px 0 6px}
.vc-native .vc-avatar img{width:44px;height:44px;border-radius:14px;border:3px solid #fff;object-fit:cover;margin-inline-end:-10px}

/* Mockup de la plataforma: texto editable, no captura */
.vc-native .vc-window{border:1px solid var(--line);border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 24px 48px -32px rgba(37,56,58,.3)}
.vc-native .vc-win-bar{display:flex;align-items:center;gap:6px;margin:0;padding:12px 16px;border-bottom:1px solid var(--line);font-size:.85rem;color:var(--teal-deep)}
.vc-native .vc-win-bar span{width:10px;height:10px;border-radius:50%;background:var(--line)}
.vc-native .vc-win-bar strong{margin-inline-start:8px}
.vc-native .vc-win-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:10px 16px;background:var(--app);font-size:.85rem;font-weight:800;color:var(--muted)}
.vc-native .vc-win-nav span{padding:.3rem .7rem;border-radius:100px}
.vc-native .vc-win-nav .on{background:var(--lang);color:var(--lang-on)}
.vc-native .vc-win-phrase{margin:0;padding:12px 16px;border-radius:14px;background:#E1EBEC;color:var(--teal-ink);font-weight:800}
.vc-native .vc-win-acts .elementor-icon-box-title{font-size:.85rem;margin:6px 0 0}

/* Vídeos */
.vc-native .vc-video-wrap{max-width:880px;margin-inline:auto;width:100%}
.vc-native .vc-video .elementor-wrapper{border-radius:24px;overflow:hidden}
.vc-native .vc-video .elementor-custom-embed-image-overlay{background-size:cover;background-position:center}
.vc-native .vc-video .elementor-custom-embed-play svg{fill:#fff;filter:drop-shadow(0 4px 12px rgba(0,0,0,.35))}

/* Cifras */
.vc-native .vc-stats .vc-stat-num .elementor-heading-title{font-size:clamp(2.2rem,4.6vw,3rem);font-variant-numeric:tabular-nums;color:var(--lang-text)}
html[lang^="ca"] .vc-native .vc-stats .vc-stat-num .elementor-heading-title{color:var(--teal-ink)}

/* Botones: pulsado y hover (DESIGN.md §5) */
.vc-native .elementor-button{transition:transform .2s ease,background-color .2s ease,color .2s ease}
.vc-native .elementor-button:hover{transform:translateY(-1px)}
.vc-native .elementor-button:active{transform:scale(.98)}
.vc-native .elementor-button:focus-visible{outline:3px solid var(--lang-detail);outline-offset:3px}

/* Movimiento: aparición al entrar en pantalla (vicon-motion.js). Solo si el JS lo activa. */
@keyframes vcIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
html.vc-motion .vc-native .vc-reveal:not(.is-in),html.vc-motion .vc-native .vc-stagger>*:not(.is-in){opacity:0}
html.vc-motion .vc-native .vc-reveal.is-in,html.vc-motion .vc-native .vc-stagger>.is-in{animation:vcIn .7s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--vc-i,0) * 80ms)}
@media (prefers-reduced-motion:reduce){html.vc-motion .vc-native :is(.vc-reveal,.vc-stagger>*){opacity:1!important;animation:none!important}}

/* Cinco categorías de cambio: pasos numerados unidos por una línea (siempre en el mismo orden) */
.vc-native .vc-steps{counter-reset:vcstep;position:relative}
.vc-native .vc-steps>.elementor-widget{counter-increment:vcstep;position:relative;padding-top:64px}
.vc-native .vc-steps>.elementor-widget::before{content:counter(vcstep);position:absolute;top:0;left:0;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--lang);color:var(--lang-on);font-weight:900;z-index:1}
.vc-native .vc-steps>.elementor-widget:not(:last-child)::after{content:"";position:absolute;top:21px;left:52px;right:-12px;height:2px;background:var(--line)}
.vc-native .vc-steps .elementor-icon-box-icon{display:none}
@media (max-width:1024px){.vc-native .vc-steps>.elementor-widget::after{display:none}}
/* El hero no se anima: se ve al instante (LCP y Core Web Vitals). La aparición es para lo que queda bajo el pliegue. */
html.vc-motion .vc-native .vc-hero .vc-reveal,html.vc-motion .vc-native .vc-hero .vc-stagger>*{opacity:1!important;animation:none!important}

/* ===================== Blog ===================== */
.vc-native .vc-blog-cats a.vc-chip{text-decoration:none;transition:background-color .2s ease,color .2s ease}
.vc-native .vc-blog-cats a.vc-chip:hover,.vc-native .vc-blog-cats a.vc-chip.on{background:var(--lang);color:var(--lang-on)}

/* Tarjetas de entradas */
.vc-native .vc-posts .elementor-post__card{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;box-shadow:none;transition:transform .25s ease,box-shadow .25s ease}
.vc-native .vc-posts .elementor-post__card:hover{transform:translateY(-2px);box-shadow:0 12px 32px -20px rgba(37,56,58,.25)}
.vc-native .vc-posts .elementor-post__badge{background:var(--lang-soft);color:var(--lang-text);font-weight:800;text-transform:none;letter-spacing:0;border-radius:100px}
.vc-native .vc-posts .elementor-post__title,.vc-native .vc-posts .elementor-post__title a{font-size:1.1rem;font-weight:800;line-height:1.3;color:var(--teal-ink)}
.vc-native .vc-posts .elementor-post__excerpt p{color:var(--muted);font-size:.95rem}
.vc-native .vc-posts .elementor-post__read-more{color:var(--teal-deep);font-weight:800;text-decoration:underline;text-underline-offset:3px;text-transform:none}
.vc-native .vc-posts .elementor-post__meta-data{border-top:1px solid var(--line);color:var(--muted)}
.vc-native .elementor-pagination{margin-top:40px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;font-weight:800}
.vc-native .elementor-pagination .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:100px;padding:0 12px;color:var(--teal-deep)}
.vc-native .elementor-pagination .page-numbers.current{background:var(--lang);color:var(--lang-on)}

/* Entrada: lectura cómoda (≈68 caracteres) y estilos del editor Quill de la plataforma antigua */
.vc-native .vc-post-meta .elementor-icon-list-text,.vc-native .vc-post-meta a{font-weight:800;color:var(--muted)}
.vc-native .vc-post-meta .elementor-post-info__terms-list-item{color:var(--lang-text)}
.vc-native .vc-post-cover img{border-radius:24px;width:100%;height:auto}
.vc-native .vc-prose-post{font-size:1.0625rem;line-height:1.75;color:var(--ink)}
.vc-native .vc-prose-post :is(h2,h3,h4){margin:2rem 0 .75rem;color:var(--teal-ink);line-height:1.2}
.vc-native .vc-prose-post h2{font-size:1.6rem}
.vc-native .vc-prose-post h3{font-size:1.25rem}
.vc-native .vc-prose-post p{margin:0 0 1.1rem}
.vc-native .vc-prose-post :is(ul,ol){margin:0 0 1.2rem;padding-inline-start:1.4rem}
.vc-native .vc-prose-post li{margin-bottom:.4rem}
.vc-native .vc-prose-post a{color:var(--teal-deep);text-decoration:underline;text-underline-offset:3px}
.vc-native .vc-prose-post img{max-width:100%;height:auto;border-radius:16px}
.vc-native .vc-prose-post blockquote{margin:1.5rem 0;padding:1rem 1.25rem;border-left:4px solid var(--lang-detail);background:var(--lang-soft);border-radius:0 16px 16px 0}
.vc-native .vc-prose-post .ql-align-center{text-align:center}
.vc-native .vc-prose-post .ql-align-right{text-align:right}
.vc-native .vc-prose-post .ql-align-justify{text-align:justify}
.vc-native .vc-prose-post .ql-indent-1{padding-inline-start:2em}
.vc-native .vc-prose-post .ql-indent-2{padding-inline-start:4em}
.vc-native .vc-prose-post .ql-size-small{font-size:.85em}
.vc-native .vc-prose-post .ql-size-large{font-size:1.3em}
.vc-native .vc-prose-post .ql-size-huge{font-size:1.8em}
.vc-native .vc-prose-post .ql-video{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:16px}
.vc-native .vc-prose-post p:has(>br:only-child){margin:0;height:.5rem}

/* Comentarios */
.vc-native .vc-comments .comment-list{list-style:none;padding:0}
.vc-native .vc-comments .comment-body{border:1px solid var(--line);border-radius:20px;padding:20px 24px;margin-bottom:16px;background:#fff}
.vc-native .vc-comments .comment-author .fn{font-weight:800;color:var(--teal-ink)}
.vc-native .vc-comments .comment-metadata a{color:var(--muted);font-size:.85rem}
.vc-native .vc-comments :is(input[type=text],input[type=email],textarea){width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 14px;font:inherit}
.vc-native .vc-comments .submit{background:var(--lang);color:var(--lang-on);border:0;border-radius:100px;padding:12px 24px;font-weight:800;cursor:pointer}

/* Reseñas de Google (Trustindex) con el diseño de la web: Nunito, tarjetas de 24 px, estrellas en color de idioma */
.vc-native .vc-reviews .ti-widget,.vc-native .vc-reviews .ti-widget *{font-family:"Nunito",system-ui,sans-serif!important}
.vc-native .vc-reviews .ti-widget .ti-review-item>.ti-inner{background:#fff!important;border:1px solid var(--line)!important;border-radius:24px!important;box-shadow:none!important;padding:22px 24px!important}
.vc-native .vc-reviews .ti-widget .ti-name{font-weight:800!important;color:var(--teal-ink)!important}
.vc-native .vc-reviews .ti-widget .ti-date{color:var(--muted)!important}
.vc-native .vc-reviews .ti-widget .ti-review-content,.vc-native .vc-reviews .ti-widget .ti-review-text-container{color:var(--ink)!important;font-weight:600!important;line-height:1.6!important}
.vc-native .vc-reviews .ti-widget .ti-read-more span,.vc-native .vc-reviews .ti-widget .ti-read-more{color:var(--teal-deep)!important;font-weight:800!important}
.vc-native .vc-reviews .ti-widget .ti-stars .ti-star{filter:none}
.vc-native .vc-reviews .ti-widget .ti-stars .ti-star svg,.vc-native .vc-reviews .ti-widget .ti-stars .ti-star path{fill:var(--lang-detail)!important;color:var(--lang-detail)!important}
.vc-native .vc-reviews .ti-widget .ti-rating-text,.vc-native .vc-reviews .ti-widget .ti-rating-text *{color:var(--teal-ink)!important;font-weight:800!important}
.vc-native .vc-reviews .ti-widget .ti-prev,.vc-native .vc-reviews .ti-widget .ti-next{border-radius:50%!important}
/* Móvil: el layout "slider con resumen" del widget no pasa solo a 1 columna → resumen arriba y 1 tarjeta a lo ancho, deslizable */
@media (max-width:767px){
  .vc-native .vc-reviews .ti-widget .ti-widget-container{flex-direction:column!important;align-items:stretch!important;gap:16px}
  .vc-native .vc-reviews .ti-widget .ti-footer{width:100%!important;max-width:none!important;flex:0 0 auto!important}
  .vc-native .vc-reviews .ti-widget .ti-reviews-container{width:100%!important;max-width:none!important;flex:1 1 auto!important}
  .vc-native .vc-reviews .ti-widget .ti-reviews-container-wrapper{width:100%!important;overflow-x:auto!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .vc-native .vc-reviews .ti-widget .ti-reviews-container-wrapper::-webkit-scrollbar{display:none}
  .vc-native .vc-reviews .ti-widget .ti-review-item{flex:0 0 88%!important;max-width:88%!important;width:88%!important;scroll-snap-align:start}
  .vc-native .vc-reviews .ti-widget .ti-controls{display:none!important}
}
@media (max-width:767px){
  body.vc-native .vc-reviews .ti-widget.ti-widget .ti-widget-container .ti-reviews-container.ti-reviews-container{flex:1 1 auto!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.vc-native .vc-reviews .ti-widget.ti-widget .ti-widget-container .ti-footer.ti-footer{flex:0 0 auto!important;width:100%!important;max-width:100%!important}
  body.vc-native .vc-reviews .ti-widget.ti-widget .ti-reviews-container-wrapper .ti-review-item.ti-review-item{flex:0 0 88%!important;max-width:88%!important;width:88%!important}
}
@media (max-width:767px){
  body.vc-native .vc-reviews .ti-widget.ti-widget :is(.ti-footer,.ti-reviews-container,.ti-reviews-container-wrapper){margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;left:0!important}
}

/* Botones bajo las reseñas: ver todas (secundario) y escribir una (principal, color de idioma) */
.vc-native .vc-reviews-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.vc-native .vc-rbtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 24px;border-radius:100px;font-weight:800;text-decoration:none;background:var(--lang);color:var(--lang-on);transition:transform .2s ease,background-color .2s ease,color .2s ease}
.vc-native .vc-rbtn:hover{background:var(--lang-hover);color:var(--lang-on);transform:translateY(-1px)}
.vc-native .vc-rbtn-ghost{background:#fff;color:var(--teal-deep);box-shadow:inset 0 0 0 2px var(--teal)}
.vc-native .vc-rbtn-ghost:hover{background:var(--teal);color:#fff}
.vc-native .vc-rbtn:focus-visible{outline:3px solid var(--lang-detail);outline-offset:3px}
/* Los botones de reseñas viven dentro de un editor de texto: sin el subrayado ni el color de los enlaces del texto */
.vc-native .elementor-widget-text-editor .vc-reviews-actions a.vc-rbtn{text-decoration:none!important;color:var(--lang-on)!important}
.vc-native .elementor-widget-text-editor .vc-reviews-actions a.vc-rbtn:hover{color:var(--lang-on)!important}
.vc-native .elementor-widget-text-editor .vc-reviews-actions a.vc-rbtn-ghost{color:var(--teal-deep)!important}
.vc-native .elementor-widget-text-editor .vc-reviews-actions a.vc-rbtn-ghost:hover{color:#fff!important}

/* Colaboradores: logos más grandes, 4 por fila y la última fila centrada (flex en lugar de rejilla) */
.vc-native .vc-sponsors .vc-logos.e-con{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:40px 32px!important}
.vc-native .vc-sponsors .vc-logos>.elementor-widget{flex:0 0 calc(25% - 24px)!important;max-width:calc(25% - 24px)!important;width:auto!important}
.vc-native .vc-sponsors .vc-logo img{max-height:110px!important;max-width:100%!important;width:auto!important;height:auto!important}
@media (max-width:767px){
  .vc-native .vc-sponsors .vc-logos>.elementor-widget{flex:0 0 calc(50% - 16px)!important;max-width:calc(50% - 16px)!important}
  .vc-native .vc-sponsors .vc-logo img{max-height:80px!important}
}

/* ===================== HERO v3 ===================== */
/* Fondo del hero: en Elementor (Estilo → Fondo, degradado radial con el global "Idioma suave"), no en CSS */
.vc-native .vc-hero-v3::before{display:none}

/* Título: "música y juego" subrayado a pincel que se dibuja al cargar */
.vc-native .vc-hero-v3 h1 .vc-hl{position:relative;white-space:nowrap;z-index:0}
.vc-native .vc-hero-v3 h1 .vc-hl::after{content:"";position:absolute;left:-2%;right:-2%;bottom:.02em;height:.32em;z-index:-1;background:var(--lang);opacity:.45;border-radius:.3em;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14C60 4 120 3 180 7s90 6 118-2' stroke='black' stroke-width='12' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0/100% 100%;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14C60 4 120 3 180 7s90 6 118-2' stroke='black' stroke-width='12' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0/100% 100%;
  transform-origin:left center;animation:vcDraw .9s cubic-bezier(.65,0,.35,1) .35s both}
html[lang^="ca"] .vc-native .vc-hero-v3 h1 .vc-hl::after{opacity:.75}
@keyframes vcDraw{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Botón secundario de texto ("Ver cómo funciona") */
.vc-native .vc-btn-text .elementor-button{background:none;color:var(--teal-deep);padding:12px 6px;box-shadow:none}
.vc-native .vc-btn-text .elementor-button:hover{background:none;color:var(--teal-ink);transform:none}
.vc-native .vc-btn-text .elementor-button-icon{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 6px 18px -8px rgba(37,56,58,.35);color:var(--lang-detail);fill:var(--lang-detail);transition:transform .25s ease}
.vc-native .vc-btn-text .elementor-button:hover .elementor-button-icon{transform:scale(1.08)}
.vc-native .vc-btn-text .elementor-button-icon svg{width:12px;height:12px;fill:currentColor}

/* Prueba social: valoración real de Google */
.vc-native .vc-hero-trust{row-gap:8px}
.vc-native .vc-grating{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:100px;background:#fff;border:1px solid var(--line);text-decoration:none!important;color:var(--teal-ink)!important;font-weight:800;font-size:.92rem;transition:transform .2s ease,box-shadow .2s ease}
.vc-native .vc-grating:hover{transform:translateY(-1px);box-shadow:0 8px 20px -14px rgba(37,56,58,.4)}
.vc-native .vc-grating-stars{color:#FBBC04;letter-spacing:1px}
.vc-native .vc-grating-n{color:var(--muted);font-weight:700}

/* Foto: entra con un leve zoom (sin opacidad, para no retrasar el LCP); el blob de detrás cambia de forma muy despacio */
.vc-native .vc-hero-visual{position:relative;isolation:isolate}
.vc-native .vc-hero-visual::before{content:"";position:absolute;inset:6% 2% 0 8%;z-index:-1;background:var(--lang);opacity:var(--lang-blob-op);border-radius:58% 42% 52% 48%/48% 56% 44% 52%;animation:vcBlob 14s ease-in-out infinite alternate}
.vc-native .vc-hero-photo img{animation:vcZoom 1.1s cubic-bezier(.16,1,.3,1) both}
@keyframes vcZoom{from{transform:scale(.94)}to{transform:none}}
@keyframes vcBlob{0%{border-radius:58% 42% 52% 48%/48% 56% 44% 52%;transform:rotate(0)}50%{border-radius:44% 56% 40% 60%/58% 42% 58% 42%}100%{border-radius:52% 48% 60% 40%/42% 60% 40% 58%;transform:rotate(6deg)}}

/* Tarjetas flotantes alrededor de la foto: entran escalonadas y flotan muy suave */
.vc-native .vc-hero-floats{position:absolute;inset:0;pointer-events:none;z-index:2}
.vc-native .vc-hero-floats p{margin:0}
.vc-native .vc-float{position:absolute;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:18px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 18px 40px -22px rgba(37,56,58,.45);border:1px solid rgba(236,231,223,.9);font-size:.85rem;line-height:1.25;color:var(--teal-ink);
  animation:vcFloatIn .8s cubic-bezier(.16,1,.3,1) both,vcFloat 7s ease-in-out infinite;animation-delay:var(--d),calc(var(--d) + .8s)}
.vc-native .vc-float strong{display:block;font-weight:900;font-size:.95rem}
.vc-native .vc-float small{display:block;color:var(--muted);font-weight:700;font-size:.78rem}
.vc-native .vc-float-1{--d:.5s;top:6%;left:-6%}
.vc-native .vc-float-2{--d:.7s;top:40%;right:-4%;flex-direction:column;align-items:flex-start;gap:0}
.vc-native .vc-float-2 strong{font-size:1.5rem;color:var(--lang-text)}
html[lang^="ca"] .vc-native .vc-float-2 strong{color:var(--teal-ink)}
.vc-native .vc-float-3{--d:.9s;bottom:4%;left:4%;font-weight:800}
.vc-native .vc-float-ico{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--lang);color:var(--lang-on)}
.vc-native .vc-float-ico svg{width:18px;height:18px;fill:currentColor}
.vc-native .vc-float-dot{width:10px;height:10px;border-radius:50%;background:#34A853;box-shadow:0 0 0 4px rgba(52,168,83,.18)}
@keyframes vcFloatIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes vcFloat{0%,100%{translate:0 0}50%{translate:0 -6px}}

@media (max-width:767px){
  .vc-native .vc-float{font-size:.78rem;padding:8px 11px}
  .vc-native .vc-float-1{left:0;top:2%}
  .vc-native .vc-float-2{right:0}
  .vc-native .vc-float-2 strong{font-size:1.2rem}
}
@media (prefers-reduced-motion:reduce){
  .vc-native .vc-hero-v3 h1 .vc-hl::after,.vc-native .vc-hero-photo img,.vc-native .vc-hero-visual::before,.vc-native .vc-float{animation:none!important}
}
.vc-native .vc-btn-text .elementor-button-content-wrapper{align-items:center;gap:10px}

/* ===== HERO v3.1 ===== */
/* Líneas discontinuas "rallas" de la web actual, recoloreadas con el color de idioma (máscara) */
.vc-native .vc-hero-v3::after{content:"";position:absolute;left:-70px;top:-10px;width:min(62%,880px);aspect-ratio:926/833;z-index:-1;pointer-events:none;background:var(--lang-detail);opacity:.55;
  -webkit-mask:url("img/ilustraciones/rallas.svg") no-repeat 0 0/100% 100%;mask:url("img/ilustraciones/rallas.svg") no-repeat 0 0/100% 100%;animation:vcFadeIn 1.6s ease .2s both}
html[lang^="ca"] .vc-native .vc-hero-v3::after{opacity:.8}
@keyframes vcFadeIn{from{opacity:0}}

/* Foto: forma propia, más redonda (óvalo irregular), con mancha de color detrás y arco punteado */
.vc-native .vc-hero-visual{padding:4% 6% 8% 4%}
.vc-native .vc-hero-visual::before{inset:16% 0 2% 14%;border-radius:50% 50% 46% 54%/56% 48% 52% 44%;opacity:var(--lang-blob-op)}
.vc-native .vc-float-1{top:10%;left:-2%}
.vc-native .vc-float-2{top:auto;bottom:16%;right:0}

/* Ventajas: pastillas con icono + idiomas en su color */
.vc-native .vc-perks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.vc-native .vc-perks li{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 8px;border-radius:100px;background:rgba(255,255,255,.85);border:1px solid var(--line);font-weight:800;font-size:.9rem;color:var(--teal-ink)}
.vc-native .vc-perk-ico{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--lang-soft);color:var(--lang-text)}
html[lang^="ca"] .vc-native .vc-perk-ico{color:#25383A}
.vc-native .vc-perk-ico svg{width:16px;height:16px}
.vc-native .vc-perks li:last-child{padding-left:14px;gap:6px}
.vc-native .vc-perk-label{color:var(--muted);font-weight:700;margin-right:2px}
.vc-native .vc-perk-lang{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:24px;padding:0 8px;border-radius:100px;font-size:.75rem;font-weight:900;letter-spacing:.04em}
.vc-native .vc-perk-es{background:#C1676B;color:#fff}
.vc-native .vc-perk-ca{background:#FED53B;color:#25383A}
.vc-native .vc-perk-en{background:#5674B9;color:#fff}
@media (prefers-reduced-motion:reduce){.vc-native .vc-hero-v3::after{animation:none!important}}
/* Foto del hero: la forma la hace el CSS sobre el widget Imagen, así la clienta puede cambiar la foto
   (cualquier foto rectangular) y se recorta sola. Mancha de color y arco punteado van en .vc-hero-visual. */
.vc-native .elementor-widget.vc-hero-photo{border-radius:54% 46% 48% 52%/56% 50% 50% 44%;overflow:hidden;aspect-ratio:1.08/1;box-shadow:0 30px 60px -38px rgba(37,56,58,.45);-webkit-mask-image:-webkit-radial-gradient(white,black)}
.vc-native .elementor-widget.vc-hero-photo img{display:block;width:100%;height:100%!important;max-width:none!important;object-fit:cover;object-position:50% 40%;border-radius:0!important;animation:vcZoom5 1.1s cubic-bezier(.16,1,.3,1) both}
@keyframes vcZoom5{from{transform:scale(1.08)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.vc-native .elementor-widget.vc-hero-photo img{animation:none!important}}
@media (max-width:767px){.vc-native .vc-hero-v3::after{width:120%;left:-30%;opacity:.35}}
.vc-native .vc-hero-visual{padding:2% 5% 6% 2%}
.vc-native .elementor-widget.vc-hero-photo{width:100%;max-width:100%}
.vc-native .vc-hero-visual::before{inset:18% 0 0 20%}
/* Líneas "rallas" separadas en 3 trozos colocados en los huecos (no pasan por encima del texto ni de las pastillas) */
.vc-native .vc-hero-v3::after{left:0;top:0;width:100%;height:100%;aspect-ratio:auto;
  -webkit-mask:url("img/ilustraciones/rallas-1.svg") no-repeat left 8px top 24px/72px auto,url("img/ilustraciones/rallas-2.svg") no-repeat left 49% top 9%/96px auto,url("img/ilustraciones/rallas-3.svg") no-repeat left 51% bottom 0/180px auto;
  mask:url("img/ilustraciones/rallas-1.svg") no-repeat left 8px top 24px/72px auto,url("img/ilustraciones/rallas-2.svg") no-repeat left 49% top 9%/96px auto,url("img/ilustraciones/rallas-3.svg") no-repeat left 51% bottom 0/180px auto}
@media (max-width:767px){.vc-native .vc-hero-v3::after{width:100%;left:0;opacity:.45;
  -webkit-mask:url("img/ilustraciones/rallas-2.svg") no-repeat right 12px top 12px/70px auto;mask:url("img/ilustraciones/rallas-2.svg") no-repeat right 12px top 12px/70px auto}}
/* Foto centrada con dos manchas que asoman un poco: gris arriba a la izquierda, color de idioma abajo a la derecha */
.vc-native .vc-hero-visual{padding:7%;display:flex;align-items:center;justify-content:center}
.vc-native .vc-hero-visual::before{inset:13% 1% 1% 13%;border-radius:52% 48% 50% 50%/54% 50% 50% 46%}
.vc-native .vc-hero-visual::after{content:"";position:absolute;inset:1% 13% 13% 1%;z-index:-2;background:#E6EAE9;border-radius:50% 50% 48% 52%/50% 54% 46% 50%;animation:vcBlob 16s ease-in-out infinite alternate-reverse}
@media (prefers-reduced-motion:reduce){.vc-native .vc-hero-visual::after{animation:none!important}}
.vc-native .vc-hero-visual{display:block;padding:34px}
.vc-native .vc-hero-visual::before{inset:68px 0 0 68px}
.vc-native .vc-hero-visual::after{inset:0 68px 68px 0}
@media (max-width:767px){.vc-native .vc-hero-visual{padding:18px}.vc-native .vc-hero-visual::before{inset:36px 0 0 36px}.vc-native .vc-hero-visual::after{inset:0 36px 36px 0}}
.vc-native .vc-hero-visual::after{background:#DCE3E2}

/* ===== Bocadillo reutilizable (.vc-bocata en cualquier contenedor) =====
   La forma (assets/img/formas/bocata.svg) va detrás en el color de idioma; dentro se pone un widget Imagen
   con una foto SIN fondo (PNG/WebP transparente). La cabeza sobresale un poco por arriba.
   Variantes: vc-bocata-gris (forma gris) · vc-bocata-flip (cola a la izquierda). */
.vc-bocata{position:relative;isolation:isolate;padding-bottom:3%!important}
.vc-bocata::before{content:"";position:absolute;left:0;right:0;bottom:0;aspect-ratio:244/194;z-index:-1;background:var(--lang);
  -webkit-mask:url("img/formas/bocata.svg") no-repeat center/100% 100%;mask:url("img/formas/bocata.svg") no-repeat center/100% 100%;
  transform-origin:42% 60%;animation:vcBocata 8s ease-in-out infinite alternate}
.vc-bocata-gris::before{background:#DCE3E2}
.vc-bocata-flip::before{transform:scaleX(-1);animation:none}
.vc-bocata .elementor-widget-image{width:64%;margin-left:10%;position:relative;z-index:1}
.vc-bocata-flip .elementor-widget-image{margin-left:26%}
.vc-bocata .elementor-widget-image img{display:block;width:100%;height:auto;border-radius:0!important;box-shadow:none!important}
@keyframes vcBocata{from{transform:rotate(-2deg) scale(.98)}to{transform:rotate(2deg) scale(1)}}
@media (prefers-reduced-motion:reduce){.vc-bocata::before{animation:none!important}}

/* Separadores de forma de Elementor "hacia fuera": la forma (color del fondo de la sección) sale por encima/debajo */
.vc-native .e-con.vc-shape-out{position:relative;z-index:2;overflow:visible}
.vc-native .e-con.vc-shape-out .elementor-shape-top{transform:translateY(-99%) rotate(180deg)}
.vc-native .e-con.vc-shape-out .elementor-shape-bottom{transform:translateY(99%)}
/* El cuerpo se recorta con el contorno del bocadillo; solo la cabeza puede salir por arriba (vale para cualquier foto) */
.vc-bocata{-webkit-mask:url("img/formas/bocata.svg") no-repeat center bottom/100% auto,linear-gradient(#000,#000) no-repeat 34% 0/50% 42%;
  mask:url("img/formas/bocata.svg") no-repeat center bottom/100% auto,linear-gradient(#000,#000) no-repeat 34% 0/50% 42%}
.vc-bocata::before{animation:none}
.vc-bocata-flip{-webkit-mask:none;mask:none}
.vc-bocata::before{top:auto!important;height:auto!important;inset:auto 0 0 0}

/* ===== Foto con forma reutilizable (.vc-forma en el contenedor + widget Imagen dentro) =====
   La forma, la mancha de color de idioma y la gris son CSS: la clienta solo cambia la foto del widget.
   .vc-forma   → mancha gris arriba-izquierda, color abajo-derecha (como el hero)
   .vc-forma-b → forma más ancha y manchas al revés (color arriba-derecha, gris abajo-izquierda) */
.vc-native .vc-forma{position:relative;isolation:isolate;padding:34px!important}
.vc-native .vc-forma::before,.vc-native .vc-forma::after{content:"";position:absolute;z-index:-1;pointer-events:none}
.vc-native .vc-forma::before{inset:68px 0 0 68px;background:var(--lang);opacity:var(--lang-blob-op);border-radius:52% 48% 50% 50%/54% 50% 50% 46%;animation:vcBlob 14s ease-in-out infinite alternate}
.vc-native .vc-forma::after{inset:0 68px 68px 0;z-index:-2;background:#DCE3E2;border-radius:50% 50% 48% 52%/50% 54% 46% 50%;animation:vcBlob 16s ease-in-out infinite alternate-reverse}
.vc-native .vc-forma .elementor-widget-image{width:100%;border-radius:54% 46% 48% 52%/56% 50% 50% 44%;overflow:hidden;aspect-ratio:1.08/1;box-shadow:0 30px 60px -38px rgba(37,56,58,.45);-webkit-mask-image:-webkit-radial-gradient(white,black)}
.vc-native .vc-forma .elementor-widget-image img{display:block;width:100%;height:100%!important;max-width:none!important;object-fit:cover;object-position:50% 40%;border-radius:0!important;transition:transform .6s cubic-bezier(.16,1,.3,1)}
.vc-native .vc-forma:hover .elementor-widget-image img{transform:scale(1.04)}
.vc-native .vc-forma-b .elementor-widget-image{border-radius:42% 58% 46% 54%/50% 42% 58% 50%;aspect-ratio:1.18/1}
.vc-native .vc-forma-b::before{inset:0 0 68px 68px}
.vc-native .vc-forma-b::after{inset:68px 68px 0 0}
@media (max-width:767px){.vc-native .vc-forma{padding:18px!important}.vc-native .vc-forma::before{inset:36px 0 0 36px}.vc-native .vc-forma::after{inset:0 36px 36px 0}.vc-native .vc-forma-b::before{inset:0 0 36px 36px}.vc-native .vc-forma-b::after{inset:36px 36px 0 0}}
@media (prefers-reduced-motion:reduce){.vc-native .vc-forma::before,.vc-native .vc-forma::after{animation:none!important}.vc-native .vc-forma .elementor-widget-image img{transition:none}}
/* En el editor de Elementor todo visible (la animación de aparición solo en la web) */
.elementor-editor-active .vc-native :is(.vc-reveal,.vc-stagger>*),body.elementor-editor-preview :is(.vc-reveal,.vc-stagger>*){opacity:1!important;animation:none!important}
/* Vídeo de fondo de YouTube: sin ratón (no sale pausa ni título al pasar) y ampliado para recortar título, canal y logo.
   Lo ideal es un MP4 propio en la Mediateca (Elementor lo admite en el mismo campo y no muestra nada de YouTube). */
.elementor-background-video-container{pointer-events:none}
.vc-bento-video .elementor-background-video-container iframe.elementor-background-video-embed{transform:translate(-50%,-50%) scale(1.45)!important;top:50%!important;left:50%!important;position:absolute}

/* ===== Pestañas tipo tarjeta (.vc-tabs-cards). Fondo, borde, sombra, tipografía y espaciado están en los ajustes del widget;
   aquí solo lo que Elementor no tiene: el cuadrado del icono con el color de cada entorno y la etiqueta pequeña. ===== */
.vc-native .vc-tabs-cards .e-n-tab-title{transition:box-shadow .25s ease,border-color .25s ease,transform .25s ease}
.vc-native .vc-tabs-cards .e-n-tab-title:hover{transform:translateY(-2px)}
.vc-native .vc-tabs-cards .e-n-tab-icon{flex:0 0 44px;width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:var(--lang-soft);color:var(--lang-detail);transition:background-color .25s ease,color .25s ease}
.vc-native .vc-tabs-cards .e-n-tab-icon svg{fill:currentColor}
.vc-native .vc-tabs-cards .e-n-tab-title[data-tab-index="2"] .e-n-tab-icon{background:#EAF1F0;color:#7DA3A4}
.vc-native .vc-tabs-cards .e-n-tab-title[data-tab-index="3"] .e-n-tab-icon{background:#F1EFEC;color:#8D8A86}
.vc-native .vc-tabs-cards .e-n-tab-title[aria-selected="true"] .e-n-tab-icon{background:var(--lang);color:var(--lang-on)}
.vc-native .vc-tabs-cards .e-n-tab-title[data-tab-index="2"][aria-selected="true"] .e-n-tab-icon{background:#7DA3A4;color:#fff}
.vc-native .vc-tabs-cards .e-n-tab-title[data-tab-index="3"][aria-selected="true"] .e-n-tab-icon{background:#8D8A86;color:#fff}
.vc-native .vc-tabs-cards .e-n-tab-title-text{text-align:start}
.vc-native .vc-tabs-cards .e-n-tab-title-text small{display:block;margin-bottom:2px;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#71807F}

/* Tercera forma de foto (entornos): óvalo inclinado, manchas a los lados */
.vc-native .vc-forma-c .elementor-widget-image{border-radius:60% 40% 52% 48%/46% 54% 46% 54%;aspect-ratio:1/1}
.vc-native .vc-forma-c::before{inset:34px 0 34px 68px;border-radius:46% 54% 50% 50%/50% 46% 54% 50%}
.vc-native .vc-forma-c::after{inset:34px 68px 34px 0}
@media (max-width:767px){.vc-native .vc-forma-c::before{inset:18px 0 18px 36px}.vc-native .vc-forma-c::after{inset:18px 36px 18px 0}}

/* Líneas de puntos de fondo (.vc-lineas en la sección), en el color de idioma */
.vc-native .e-con.vc-lineas{position:relative;isolation:isolate}
.vc-native .e-con.vc-lineas::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--lang-detail);opacity:.5;
  -webkit-mask:url("img/formas/linea-1.svg") no-repeat left 0 top 40px/374px 150px,url("img/formas/linea-2.svg") no-repeat right 0 top 64px/383px 100px;
  mask:url("img/formas/linea-1.svg") no-repeat left 0 top 40px/374px 150px,url("img/formas/linea-2.svg") no-repeat right 0 top 64px/383px 100px}
@media (max-width:767px){.vc-native .e-con.vc-lineas::after{opacity:.3;-webkit-mask-size:220px auto,220px auto;mask-size:220px auto,220px auto}}
.vc-native .vc-tabs-cards .e-n-tab-title-text{display:block!important}
/* Las tres pestañas del mismo ancho (Elementor solo estira según el texto) */
.vc-native .vc-tabs-equal .e-n-tabs-heading>.e-n-tab-title{flex:1 1 0;min-width:0}

/* ===== Opiniones: bocadillos de fondo (color de idioma suave) y líneas de puntos propias (.vc-opiniones-deco) =====
   Fondo crema y nubes en los ajustes de Elementor; aquí solo la decoración que Elementor no permite. */
.vc-native .e-con.vc-opiniones-deco{position:relative;isolation:isolate;overflow:hidden}
.vc-native .e-con.vc-opiniones-deco::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--lang);opacity:.22;
  -webkit-mask:url("img/formas/bocata.svg") no-repeat left 4% bottom 70px/230px auto,url("img/formas/bocata-flip.svg") no-repeat left 30% bottom 36px/120px auto,url("img/formas/bocata-flip.svg") no-repeat right -60px bottom 40px/320px auto,url("img/formas/bocata.svg") no-repeat right 8% top 30%/110px auto;
  mask:url("img/formas/bocata.svg") no-repeat left 4% bottom 70px/230px auto,url("img/formas/bocata-flip.svg") no-repeat left 30% bottom 36px/120px auto,url("img/formas/bocata-flip.svg") no-repeat right -60px bottom 40px/320px auto,url("img/formas/bocata.svg") no-repeat right 8% top 30%/110px auto}
.vc-native .e-con.vc-opiniones-deco::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--lang-detail);opacity:.5;
  -webkit-mask:url("img/formas/linea-3.svg") no-repeat left 2% top 30px/420px 160px,url("img/formas/linea-4.svg") no-repeat right 2% top 40px/400px 140px;
  mask:url("img/formas/linea-3.svg") no-repeat left 2% top 30px/420px 160px,url("img/formas/linea-4.svg") no-repeat right 2% top 40px/400px 140px}
@media (max-width:767px){.vc-native .e-con.vc-opiniones-deco::before{opacity:.15;-webkit-mask-size:120px auto,70px auto,160px auto,60px auto;mask-size:120px auto,70px auto,160px auto,60px auto}
  .vc-native .e-con.vc-opiniones-deco::after{opacity:.3;-webkit-mask-size:200px auto,190px auto;mask-size:200px auto,190px auto;-webkit-mask-position:left 0 top 60px,right 0 top 70px;mask-position:left 0 top 60px,right 0 top 70px}}

/* ===== App: el móvil sobresale de la tarjeta y flota suave (≤ 6 px, 7 s); entra girando un poco al aparecer ===== */
.vc-native .vc-app-card{overflow:visible}
.vc-native .vc-app-visual{margin-block:-96px -40px}
.vc-native .vc-app-phone img{display:block;filter:drop-shadow(0 30px 40px rgba(37,56,58,.28));transform-origin:50% 80%;animation:vcPhoneIn 1.1s cubic-bezier(.16,1,.3,1) both,vcPhoneFloat 7s ease-in-out 1.1s infinite alternate}
@keyframes vcPhoneIn{from{opacity:0;transform:translateY(40px) rotate(-10deg)}to{opacity:1;transform:translateY(0) rotate(-4deg)}}
@keyframes vcPhoneFloat{from{transform:translateY(0) rotate(-4deg)}to{transform:translateY(-6px) rotate(-2deg)}}
.vc-native .vc-store img{display:block;transition:transform .2s ease}
.vc-native .vc-store a:hover img{transform:translateY(-2px)}
@media (max-width:767px){.vc-native .vc-app-visual{margin-block:-64px 0}}
@media (prefers-reduced-motion:reduce){.vc-native .vc-app-phone img{animation:none!important;transform:rotate(-4deg)}}

/* Fotos con forma (fuera del hero): manchas más discretas, asoman solo 16 px y sin giro (no invaden el texto de al lado) */
.vc-native .vc-forma{padding:16px!important}
.vc-native .vc-forma::before{inset:40px 0 0 40px;animation-name:vcBlobSoft}
.vc-native .vc-forma::after{inset:0 40px 40px 0;animation-name:vcBlobSoft}
.vc-native .vc-forma-b::before{inset:0 0 40px 40px}
.vc-native .vc-forma-b::after{inset:40px 40px 0 0}
.vc-native .vc-forma-c::before{inset:16px 0 16px 40px}
.vc-native .vc-forma-c::after{inset:16px 40px 16px 0}
@keyframes vcBlobSoft{0%{border-radius:58% 42% 52% 48%/48% 56% 44% 52%}50%{border-radius:46% 54% 44% 56%/56% 44% 56% 44%}100%{border-radius:52% 48% 58% 42%/44% 58% 42% 56%}}
@media (max-width:767px){.vc-native .vc-forma{padding:12px!important}.vc-native .vc-forma::before{inset:28px 0 0 28px}.vc-native .vc-forma::after{inset:0 28px 28px 0}.vc-native .vc-forma-b::before{inset:0 0 28px 28px}.vc-native .vc-forma-b::after{inset:28px 28px 0 0}.vc-native .vc-forma-c::before{inset:12px 0 12px 28px}.vc-native .vc-forma-c::after{inset:12px 28px 12px 0}}

/* Subrayado de pincel (.vc-hl) también en títulos de sección: se dibuja cuando la sección aparece */
.vc-native :is(h2,h3) .vc-hl{position:relative;white-space:nowrap;z-index:0}
.vc-native :is(h2,h3) .vc-hl::after{content:"";position:absolute;left:-2%;right:-2%;bottom:.02em;height:.32em;z-index:-1;background:var(--lang);opacity:.45;border-radius:.3em;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14C60 4 120 3 180 7s90 6 118-2' stroke='black' stroke-width='12' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0/100% 100%;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14C60 4 120 3 180 7s90 6 118-2' stroke='black' stroke-width='12' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0/100% 100%;
  transform-origin:left center}
html[lang^="ca"] .vc-native :is(h2,h3) .vc-hl::after{opacity:.75}
html.vc-motion .vc-native .vc-reveal:not(.is-in) :is(h2,h3) .vc-hl::after{transform:scaleX(0)}
html.vc-motion .vc-native .vc-reveal.is-in :is(h2,h3) .vc-hl::after{animation:vcDraw .9s cubic-bezier(.65,0,.35,1) .45s both}
@media (max-width:767px){.vc-native :is(h2,h3) .vc-hl{white-space:normal}}
@media (prefers-reduced-motion:reduce){.vc-native :is(h2,h3) .vc-hl::after{animation:none!important;transform:none!important}}
/* Móvil: sin decoración de fondo detrás de títulos y botones (líneas de entornos, bocadillos de opiniones). Son CSS, no elementos de Elementor */
@media (max-width:767px){.vc-native .e-con.vc-lineas::after,.vc-native .e-con.vc-opiniones-deco::before{display:none}}
/* Tablet: las líneas de puntos se cruzan con el título centrado; se ocultan hasta escritorio */
@media (max-width:1024px){.vc-native .e-con.vc-lineas::after,.vc-native .e-con.vc-opiniones-deco::after{display:none}}

/* Hero de páginas interiores (.vc-hero-b): líneas propias en los huecos (entre migas y foto, y bajo el texto), no las de la home */
.vc-native .vc-hero-v3.vc-hero-b::after{left:0;top:0;width:100%;height:100%;aspect-ratio:auto;opacity:.5;
  /* pequeña a la izquierda del título (en el margen) y vertical desde la foto hacia abajo, por detrás de la caja del 78% */
  -webkit-mask:url("img/formas/linea-2.svg") no-repeat left calc(50% - 790px) top 200px/230px auto,url("img/formas/linea-1v.svg") no-repeat left calc(50% + 185px) top 470px/120px auto;
  mask:url("img/formas/linea-2.svg") no-repeat left calc(50% - 790px) top 200px/230px auto,url("img/formas/linea-1v.svg") no-repeat left calc(50% + 185px) top 470px/120px auto}
@media (max-width:1024px){.vc-native .vc-hero-v3.vc-hero-b::after{display:none}}

/* Home: el bucle de la izquierda pegado al título (justo a la izquierda del contenedor, a la altura del título)
   y la onda entre título y foto un poco más abajo. % de mask-position = (ancho - ancho de la imagen) */
.vc-native .vc-hero-v3:not(.vc-hero-b)::after{
  -webkit-mask-position:max(4px,calc(50% - 665px - 46px)) 26px,left 49% top 21%,left 51% bottom 0;
  mask-position:max(4px,calc(50% - 665px - 46px)) 26px,left 49% top 21%,left 51% bottom 0}

/* ===== Revisión responsive ===== */
@media (max-width:767px){
  /* Títulos con subrayado: en móvil pueden partir línea (si no, se salen de la pantalla) */
  .vc-native .vc-hl{white-space:normal!important}
  /* Blog: tarjetas sin extracto y categorías en una fila deslizable */
  .vc-native .vc-posts .elementor-post__excerpt{display:none}
  .vc-chips{flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none}
  .vc-chips > *{flex:0 0 auto}
}
/* Entradas: enlaces largos (URLs) no provocan scroll lateral */
.vc-prose-post a{overflow-wrap:anywhere}
