/* Petit Gaudí 2027 — capas globales consolidadas. Orden original: footer, tarjetas, botones. */

/* --- assets/css/pg-footer-2027.css --- */
/* Petit Gaudí 2027 · footer gris editorial, logo SVG original en blanco. */
/* Separación editorial única entre final de contenido y footer.
   Se define una vez para todo Culebra, nunca mediante espacios aislados
   en las plantillas de Talleres, Artesanos o páginas comerciales. */
body.pg2027-body{--pg27-footer-gap:clamp(52px,6vw,80px)}
body.pg2027-body .pg-footer{
 margin-top:var(--pg27-footer-gap)!important;
 background:#5F615C;color:#F3F1EC;
}
@media(max-width:640px){
 body.pg2027-body{--pg27-footer-gap:clamp(40px,9vw,56px)}
}
body.pg2027-body .pg-footer .pg-footer-logo{display:inline-block;max-width:100%;line-height:0;margin:0 0 12px}
body.pg2027-body .pg-footer .pg-footer-logo img{display:block;width:clamp(180px,21vw,240px);height:auto;filter:brightness(0) invert(1)}
body.pg2027-body .pg-footer p{color:#F3F1EC}
body.pg2027-body .pg-footer a{color:#F3F1EC}
body.pg2027-body .pg-footer a:hover,body.pg2027-body .pg-footer a:focus-visible{color:#F3D56C}
body.pg2027-body .pg-footer .pg-footer-logo:hover img,body.pg2027-body .pg-footer .pg-footer-logo:focus-visible img{filter:brightness(0) invert(1)}
body.pg2027-body .pg-footer strong{color:#fff}
body.pg2027-body .pg-footer .pg-footer-bottom small{color:#F3F1EC}
body.pg2027-body .pg-footer .pg-footer-contact{border-bottom-color:rgba(255,255,255,.55)}
body.pg2027-body .pg-footer .pg-footer-bottom{border-top-color:rgba(255,255,255,.24)}
@media(max-width:640px){body.pg2027-body .pg-footer .pg-footer-logo img{width:195px}}


/* --- assets/css/pg-card-surfaces-2027.css --- */
/* Tarjetas Petit Gaudí: las tarjetas de producto y artesano completas
   pasan de 80% a 100% al interactuar, incluyendo imagen y contenido. */
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story,.pg-assistant-surface,.pg-prompt,.pg-club-plans article){
 transition:background-color .2s ease,border-color .2s ease!important;
}
/* Destakdos blancos de verdad en todos los estados.
   Los paneles de asistente conservan su contraste específico y el Club su gama. */
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story){background-color:#fff!important}
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story):is(:hover,:focus-within){background-color:#fff!important}
body.pg2027-body :is(.pg-assistant-surface,.pg-prompt){background-color:rgba(255,255,255,.8)!important}
body.pg2027-body :is(.pg-assistant-surface,.pg-prompt):is(:hover,:focus-within){background-color:#fff!important}
body.pg2027-body .pg-club-plans article{background-color:rgba(251,249,245,.8)!important}
body.pg2027-body .pg-club-plans article:is(:hover,:focus-within){background-color:#fbf9f5!important}
/* Destakdos con fotografía: 100% de luz y color SIEMPRE.
   El antiguo 90% de opacidad apagaba también la imagen en reposo.
   Las tarjetas enlazadas conservan una elevación discreta, nunca la foto. */
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story){
 opacity:1!important;transform:none!important;
 transition:box-shadow .25s ease,background-color .25s ease,border-color .25s ease!important;
}
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story):is(:hover,:focus-within){
 opacity:1!important;transform:none!important;
}
@media(prefers-reduced-motion:reduce){body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story,.pg-assistant-surface,.pg-prompt,.pg-club-plans article){transition:none!important}}
/* Tienda y productos de los artesanos: misma tarjeta blanca elevada de la home.
   Solo apariencia, sin tocar catálogo, impuestos, precios ni pedidos. */
body.pg2027-body .pg-shop .pg-product-card{
 background:#fff!important;
 border:1px solid rgba(55,49,43,.09)!important;
 border-radius:9px!important;
 overflow:hidden;
 box-shadow:0 3px 6px rgba(54,45,37,.035),0 19px 40px rgba(54,45,37,.085)!important;
}
body.pg2027-body .pg-shop .pg-product-card:is(:hover,:focus-within){
 background:#fff!important;
 box-shadow:0 8px 15px rgba(54,45,37,.045),0 25px 48px rgba(54,45,37,.10)!important;
}
/* Contrato único DESTAKDO: papel blanco, sombra sin contorno oscuro,
   presión de 1px y ligera luminosidad. Incluye tarjetas de las distintas familias.
   La navegación por teclado conserva un foco azul visible en el enlace interno. */
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story,.pg27-blog-card,.pg-comite-card,.pg-workshops-card,.pg-lead-option,.pg-contact-person,.pg27-brief-card,.pgw-card,.pg-member-related-card,.pg-context-pathway,.pu-card){
 --pg27-card-shadow-rest:0 7px 20px rgba(54,44,35,.075),0 2px 5px rgba(54,44,35,.025);
 --pg27-card-shadow-press:0 4px 13px rgba(54,44,35,.065),0 2px 4px rgba(54,44,35,.025);
 background-color:#fff;
 border-color:rgba(59,38,27,.07)!important;
 outline:0!important;
 box-shadow:var(--pg27-card-shadow-rest)!important;
 transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story,.pg27-blog-card,.pg-comite-card,.pg-workshops-card,.pg-lead-option,.pg-contact-person,.pg27-brief-card,.pgw-card,.pg-member-related-card,.pg-context-pathway,.pu-card):is(:hover,:focus-within){
 outline:0!important;
 transform:translateY(1px)!important;
 filter:brightness(1.015);
 box-shadow:var(--pg27-card-shadow-press)!important;
}
body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story,.pg27-blog-card,.pg-comite-card,.pg-workshops-card,.pg-lead-option,.pg-contact-person,.pg27-brief-card,.pgw-card,.pg-member-related-card,.pg-context-pathway,.pu-card) :is(a,button):focus-visible{
 outline:2px solid #285068!important;outline-offset:-2px!important;
}
@media(prefers-reduced-motion:reduce){
 body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story,.pg27-blog-card,.pg-comite-card,.pg-workshops-card,.pg-lead-option,.pg-contact-person,.pg27-brief-card,.pgw-card,.pg-member-related-card,.pg-context-pathway,.pu-card){transition:none!important}
 body.pg2027-body :is(.pg-product-card,.pg-artisan,.pg-story,.pg27-blog-card,.pg-comite-card,.pg-workshops-card,.pg-lead-option,.pg-contact-person,.pg27-brief-card,.pgw-card,.pg-member-related-card,.pg-context-pathway,.pu-card):is(:hover,:focus-within){transform:none!important}
}


/* --- assets/css/pg-buttons-2027.css --- */
/* Petit Gaudí 2027 — CTA v1, un único sistema de botones.
   Solo .pg-btn: nunca selectores de compra, campos, botones del asistente ni iconos.
   Radio 3px, corte diagonal superior izquierdo (7px), misma medida y comportamiento.
   Paleta real del Puzzle Trencadís y contrastes controlados. */
body.pg2027-body .pg-btn.pg-btn-primary{
 --pg-cta-bg:#09688B;--pg-cta-hover:#075472;--pg-cta-text:#fff;
 display:inline-flex!important;align-items:center!important;justify-content:space-between!important;
 gap:22px!important;min-height:50px!important;padding:13px 19px 13px 21px!important;
 background:var(--pg-cta-bg)!important;color:var(--pg-cta-text)!important;
 border:0!important;border-radius:3px!important;
 clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%)!important;
 box-shadow:none!important;text-decoration:none!important;
 font:650 .84rem/1.35 "Work Sans",Arial,sans-serif!important;
 opacity:1!important;
 /* Fondo al 80%, sin atenuar letras ni iconos. */
 background-color:color-mix(in srgb,var(--pg-cta-bg) 80%,transparent)!important;
 transition:background-color .18s ease,transform .18s ease!important;
 cursor:pointer!important;
}
body.pg2027-body .pg-btn.pg-btn-primary:hover{
 background:var(--pg-cta-bg)!important;color:var(--pg-cta-text)!important;
 transform:translateY(-1px)!important;
}
body.pg2027-body .pg-btn.pg-btn-primary:focus-visible{
 background:var(--pg-cta-bg)!important;outline:3px solid #d69b38!important;outline-offset:4px!important;
}
body.pg2027-body .pg-btn.pg-btn-primary:active{transform:translateY(0)!important}
body.pg2027-body .pg-btn.pg-btn-primary span{color:inherit!important;flex:none!important}
body.pg2027-body .pg-home .pg-hero .pg-btn-primary,
body.pg2027-body .pg-home .pg-contact-bar .pg-btn-primary{--pg-cta-bg:#B92B2D;--pg-cta-hover:#922124}
body.pg2027-body .pg-home .pg-business .pg-btn-primary,
body.pg2027-body .pg-shop .pg-btn-primary,
body.pg2027-body .pg-lead-buttons .pg-btn-primary{--pg-cta-bg:#336935;--pg-cta-hover:#255228}
body.pg2027-body .pg-contact-fast .pg-btn-primary,
body.pg2027-body .pg-medal-actions .pg-btn-primary{--pg-cta-bg:#09688B;--pg-cta-hover:#075472}
/* Acciones secundarias: enlaces editoriales, no segundo botón competidor. */
body.pg2027-body .pg-btn.pg-btn-gold{
 display:inline-flex!important;align-items:center!important;gap:9px!important;
 min-height:44px!important;padding:8px 1px!important;
 background:transparent!important;border:0!important;
 border-bottom:1px solid currentColor!important;border-radius:0!important;
 box-shadow:none!important;clip-path:none!important;color:#35322e!important;
 font:650 .83rem/1.4 "Work Sans",Arial,sans-serif!important;
 text-decoration:none!important;transform:none!important;cursor:pointer!important;
}
body.pg2027-body .pg-btn.pg-btn-gold:hover{color:#09688B!important;border-color:#09688B!important;background:transparent!important}
body.pg2027-body .pg-btn.pg-btn-gold:focus-visible{outline:3px solid #09688B!important;outline-offset:4px!important}
/* La barra de contacto tiene fondo claro en la Home editorial. Nunca texto blanco sobre ese fondo. */
body.pg2027-body .pg-home .pg-contact-bar .pg-btn-gold{color:#302c29!important;border-color:currentColor!important}
body.pg2027-body .pg-home .pg-contact-bar .pg-btn-gold:hover{color:#09688B!important;border-color:#09688B!important}
/* Si otra página usa una barra oscura, sus enlaces conservan contraste alto. */
body.pg2027-body .pg-contact-bar:not(.pg-home .pg-contact-bar) .pg-btn-gold{color:#fff!important}
/* El enlace textual es el tercer patrón funcional, sin caja ni corte. */
body.pg2027-body .pg-text-link{background:transparent!important;clip-path:none!important;border-radius:0!important}
@media(prefers-reduced-motion:reduce){body.pg2027-body .pg-btn.pg-btn-primary{transition:none!important;transform:none!important}}
@media(max-width:640px){body.pg2027-body .pg-btn.pg-btn-primary{min-height:48px!important;padding:12px 15px 12px 19px!important;font-size:.78rem!important}}
/* La altura mínima es común; el texto puede ocupar dos líneas sin recortarse. */
body.pg2027-body :is(.pg-member-primary,.pg27-sector-button,.pg-lead-submit){min-height:50px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:auto;white-space:normal;line-height:1.35}
@media(max-width:640px){body.pg2027-body :is(.pg-member-primary,.pg27-sector-button,.pg-lead-submit){min-height:48px}}

