/* Grupo Hastial - Proyectos y Soluciones */
.ghp-projects,.ghp-single{font-family:var(--ghp-font);color:var(--ghp-text);box-sizing:border-box}.ghp-projects *,.ghp-single *{box-sizing:border-box}
.ghp-projects{width:min(var(--ghp-section-width),calc(100% - 40px));margin:0 auto}
.ghp-projects-head{margin-top:var(--ghp-section-space-top,56px);display:grid;grid-template-columns:minmax(0,1.02fr) 1px minmax(0,1fr);align-items:start;gap:42px;margin-bottom:var(--ghp-section-filters-gap,52px)}.ghp-projects-head-main{min-width:0}.ghp-projects-eyebrow{position:relative;display:inline-block;padding-top:16px;font-size:var(--ghp-section-eyebrow-size);font-weight:600;line-height:1.15;letter-spacing:.24em;text-transform:uppercase;color:var(--ghp-section-eyebrow-color);margin:0 0 12px}.ghp-projects-eyebrow:before{content:"";position:absolute;top:0;left:0;width:28px;height:4px;border-radius:999px;background:var(--ghp-accent)}.ghp-projects-title{margin:0;font-size:var(--ghp-section-title-size);line-height:1.14;font-weight:600;color:var(--ghp-section-title-color);max-width:560px}.ghp-projects-divider{width:1px;min-height:92px;background:var(--ghp-section-divider-color);justify-self:center;align-self:stretch}.ghp-projects-head-copy{display:flex;align-items:flex-start;min-width:0}.ghp-projects-description{margin:4px 0 0;font-size:var(--ghp-section-description-size);line-height:1.55;font-weight:400;color:var(--ghp-section-description-color);max-width:560px}
.ghp-filters{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:0 0 var(--ghp-section-space-bottom,48px)}.ghp-filter{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #eef1f4;border-radius:999px;background:#f5f7fa;padding:0 28px;color:#7a8390;font:500 15px/1.2 var(--ghp-font);cursor:pointer;transition:background var(--ghp-hover,650ms) ease,color var(--ghp-hover,650ms) ease,border-color var(--ghp-hover,650ms) ease,transform var(--ghp-hover,650ms) ease}.ghp-filter:hover{border-color:#d9dde3;color:var(--ghp-text);transform:translateY(-1px)}.ghp-filter.is-active{background:#0f1825;border-color:#0f1825;color:#fff}
.ghp-grid{--ghp-gap:18px;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--ghp-gap)}.ghp-card{position:relative;min-width:0;flex:0 1 calc((100% - (var(--ghp-columns) - 1) * var(--ghp-gap)) / var(--ghp-columns));max-width:calc((100% - (var(--ghp-columns) - 1) * var(--ghp-gap)) / var(--ghp-columns));aspect-ratio:1/1.06;overflow:hidden;background:#111}.ghp-card::after{content:"";position:absolute;inset:0;z-index:6;border:2px solid var(--ghp-accent);opacity:0;pointer-events:none;transition:opacity var(--ghp-hover,650ms) ease}.ghp-card{transition:box-shadow var(--ghp-hover,650ms) ease}.ghp-card:hover,.ghp-card:focus-within{box-shadow:0 10px 24px rgba(0,0,0,.12)}.ghp-card:hover::after,.ghp-card:focus-within::after{opacity:.82}.ghp-card[hidden]{display:none!important}.ghp-card-link{position:absolute;inset:0;display:block;color:#fff!important;text-decoration:none!important;overflow:hidden}.ghp-card-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;transition:transform var(--ghp-hover,650ms) cubic-bezier(.22,.61,.36,1)}.ghp-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.24) 36%,rgba(0,0,0,0) 66%);transition:background var(--ghp-hover,650ms) ease}.ghp-card-content{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;padding:22px 24px;color:#fff}.ghp-card-category{display:block;color:var(--ghp-accent);font-size:10px;font-weight:700;line-height:1.2;text-transform:uppercase;letter-spacing:.04em;margin:0 0 4px}.ghp-card-title{display:block;font-size:var(--ghp-card-title);font-weight:600;line-height:1.16;color:#fff}.ghp-card-extra{display:grid;grid-template-rows:1fr;opacity:0;visibility:hidden;max-height:0;overflow:hidden;transition:opacity var(--ghp-hover,650ms) ease,max-height var(--ghp-hover,650ms) ease,transform var(--ghp-hover,650ms) cubic-bezier(.22,.61,.36,1),visibility var(--ghp-hover,650ms) ease;transform:translateY(10px)}.ghp-card-description{display:block;margin-top:8px;font-size:var(--ghp-card-text);font-weight:300;line-height:1.35;color:#fff}.ghp-card-cta{display:block;margin-top:14px;color:var(--ghp-accent);font-size:10px;font-weight:700;letter-spacing:.02em}.ghp-card-cta span{font-size:16px;margin-left:4px;vertical-align:-1px}.ghp-card:hover .ghp-card-image,.ghp-card:focus-within .ghp-card-image{transform:scale(1.02)}.ghp-card:hover .ghp-card-overlay,.ghp-card:focus-within .ghp-card-overlay{background:linear-gradient(to top,rgba(0,0,0,.94) 0%,rgba(0,0,0,.68) 36%,rgba(0,0,0,.18) 70%,rgba(0,0,0,0) 88%)}.ghp-card:hover .ghp-card-extra,.ghp-card:focus-within .ghp-card-extra{opacity:1;visibility:visible;max-height:180px;transform:translateY(0)}.ghp-no-results,.ghp-empty{padding:30px 0;color:var(--ghp-muted);font:400 14px/1.5 var(--ghp-font);text-align:center}

/* Single project */
.ghp-single-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:48px 20px 60px!important}.ghp-single{width:100%!important;max-width:var(--ghp-section-width,1350px)!important;margin-left:auto!important;margin-right:auto!important;display:grid;grid-template-columns:minmax(340px,.92fr) minmax(0,1.35fr);gap:58px;align-items:start}.ghp-single-info{min-height:620px;display:flex;flex-direction:column}.ghp-single-eyebrow{position:relative;font-size:10px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;margin:8px 0 10px;padding-top:12px}.ghp-single-eyebrow:before{content:"";position:absolute;top:0;left:0;width:19px;height:1px;background:var(--ghp-accent)}.ghp-single-title{font-size:var(--ghp-single-title);font-weight:500;line-height:1.15;margin:0 0 22px;color:var(--ghp-text)}.ghp-single-description{font-size:var(--ghp-single-text);font-weight:300;line-height:1.72;color:#3f3f3f}.ghp-single-description p:first-child{margin-top:0}.ghp-facts{margin:20px 0 32px}.ghp-fact{display:grid;grid-template-columns:32px 150px 1fr;align-items:center;gap:10px;min-height:58px;border-bottom:1px solid #dadada}.ghp-fact:first-child{border-top:1px solid #dadada}.ghp-fact-icon{width:24px;height:24px;color:var(--ghp-accent)}.ghp-fact-icon svg{display:block;width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.4}.ghp-fact-label{font-size:12px;font-weight:700;color:#171717}.ghp-fact-value{font-size:12px;font-weight:300;color:#202020}.ghp-single-cta{margin-top:auto;border-radius:var(--ghp-button-radius,0);align-self:flex-start;display:inline-flex;align-items:center;gap:18px;background:var(--ghp-accent);color:#0a0a0a!important;text-decoration:none!important;padding:14px 18px;font-size:11px;font-weight:700;line-height:1;text-transform:uppercase;transition:background var(--ghp-hover,650ms) ease,color var(--ghp-hover,650ms) ease}.ghp-single-cta:hover{background:#111;color:#fff!important}.ghp-single-cta .arrow{font-size:20px;line-height:.8}.ghp-gallery{min-width:0}.ghp-gallery-main{width:100%;aspect-ratio:1.17/1;overflow:hidden;background:#eee}.ghp-gallery-main img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:opacity .15s ease}.ghp-gallery-main img.is-changing{opacity:.45}.ghp-gallery-thumbs-shell{position:relative;margin-top:12px}.ghp-gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.ghp-gallery-thumbs-shell.has-carousel{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:8px;align-items:center}.ghp-gallery-thumbs-shell.has-carousel .ghp-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.ghp-gallery-thumbs-shell.has-carousel .ghp-gallery-thumbs::-webkit-scrollbar{display:none}.ghp-gallery-thumbs-shell.has-carousel .ghp-gallery-thumb{flex:0 0 calc((100% - 36px)/5);scroll-snap-align:start}.ghp-gallery-nav{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;margin:0!important;border:1px solid #d8d8d8!important;border-radius:50%!important;background:#fff!important;color:#111!important;font-size:27px!important;font-weight:400!important;line-height:34px!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:0 3px 12px rgba(0,0,0,.08)!important;transition:border-color .25s ease,background .25s ease,color .25s ease!important}.ghp-gallery-nav:hover,.ghp-gallery-nav:focus-visible{border-color:var(--ghp-accent)!important;background:var(--ghp-accent)!important;color:#111!important;outline:none!important}.ghp-gallery-nav:disabled{opacity:.35!important;cursor:default!important;background:#fff!important;color:#777!important;border-color:#ddd!important}.ghp-gallery-thumb{position:relative!important;display:block!important;width:100%!important;aspect-ratio:1/1!important;overflow:hidden!important;cursor:pointer!important;padding:0!important;margin:0!important;border:1px solid var(--ghp-accent)!important;border-radius:0!important;background:transparent!important;outline:none!important;box-shadow:none!important;min-width:0!important;min-height:0!important;line-height:0!important;-webkit-appearance:none!important;appearance:none!important}.ghp-gallery-thumb::before,.ghp-gallery-thumb::after{content:none!important;display:none!important}.ghp-gallery-thumb:hover,.ghp-gallery-thumb:focus,.ghp-gallery-thumb:focus-visible,.ghp-gallery-thumb.is-active{border-color:var(--ghp-accent)!important;outline:none!important;box-shadow:inset 0 0 0 1px var(--ghp-accent)!important;background:transparent!important}.ghp-gallery-thumb img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;object-fit:cover!important;object-position:center!important;opacity:.58!important;transition:opacity .28s ease,transform .35s ease!important}.ghp-gallery-thumb:hover img,.ghp-gallery-thumb:focus img,.ghp-gallery-thumb:focus-visible img,.ghp-gallery-thumb.is-active img{opacity:1!important}.ghp-gallery-thumb:hover img,.ghp-gallery-thumb:focus-visible img{transform:scale(1.025)!important}.ghp-gallery-placeholder{width:100%;aspect-ratio:1.17/1;background:#f1f1f1;display:grid;place-items:center;color:#888;font-size:13px}

@media(max-width:1024px){.ghp-projects-head{grid-template-columns:minmax(0,1fr);gap:18px}.ghp-projects-divider{width:100%;min-height:1px;height:1px}.ghp-card{flex-basis:calc((100% - var(--ghp-gap)) / 2);max-width:calc((100% - var(--ghp-gap)) / 2)}.ghp-single{grid-template-columns:1fr 1.12fr;gap:32px}.ghp-single-info{min-height:540px}.ghp-fact{grid-template-columns:28px 130px 1fr}.ghp-single-wrap{padding-top:34px}}
@media(max-width:767px){.ghp-projects{width:min(var(--ghp-section-width),calc(100% - 28px))}.ghp-projects-head{margin-bottom:var(--ghp-section-filters-gap-mobile,30px)}.ghp-projects-eyebrow{padding-top:14px;margin-bottom:10px;letter-spacing:.18em}.ghp-projects-title{max-width:none}.ghp-projects-description{max-width:none}.ghp-filters{justify-content:flex-start;gap:10px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:1px}.ghp-filter{white-space:nowrap;min-height:40px;padding:0 22px;font-size:14px}.ghp-grid{gap:14px}.ghp-card{flex-basis:100%;max-width:100%;aspect-ratio:1/1}.ghp-card-content{padding:20px}.ghp-card:hover .ghp-card-image{transform:none}.ghp-single-wrap{padding:22px 14px 40px!important}.ghp-single{width:100%!important;max-width:var(--ghp-section-width,1350px)!important;grid-template-columns:1fr;gap:30px}.ghp-single-info{min-height:0}.ghp-single-title{margin-bottom:16px}.ghp-fact{grid-template-columns:28px 118px 1fr;min-height:54px}.ghp-single-cta{margin-top:8px}.ghp-gallery{order:-1}.ghp-gallery-main{aspect-ratio:1/1.1}.ghp-gallery-thumbs{grid-template-columns:repeat(4,1fr);gap:6px}.ghp-gallery-thumbs-shell.has-carousel{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px}.ghp-gallery-thumbs-shell.has-carousel .ghp-gallery-thumb{flex-basis:calc((100% - 18px)/4)}.ghp-gallery-nav{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:24px!important;line-height:30px!important}}

/* v1.0.7: el cuerpo de cada proyecto individual siempre queda centrado a 1350 px. */
body.single-gh_proyecto .ghp-single-wrap{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;}
body.single-gh_proyecto .ghp-single{width:100%!important;max-width:var(--ghp-section-width,1350px)!important;margin-left:auto!important;margin-right:auto!important;}

/* Archive de Proyectos Hastial */
.ghp-archive-page{width:100%;max-width:none;margin:0;padding:0;background:#fff}.ghp-archive-projects{width:100%;padding:0}.ghp-archive-projects .ghp-projects{margin-left:auto;margin-right:auto}
@media(max-width:1024px){.ghp-projects-head{margin-top:var(--ghp-section-space-top-tablet,44px);margin-bottom:var(--ghp-section-filters-gap-tablet,40px)}.ghp-filters{margin-bottom:var(--ghp-section-space-bottom-tablet,40px)}.ghp-archive-projects{padding:0}}
@media(max-width:767px){.ghp-projects-head{margin-top:var(--ghp-section-space-top-mobile,32px);margin-bottom:var(--ghp-section-filters-gap-mobile,30px)}.ghp-filters{margin-bottom:var(--ghp-section-space-bottom-mobile,30px)}.ghp-archive-projects{padding:0}}

/* v2.4.1: cabecera con espaciado responsive administrable + franja final separada del CTA */
.ghp-values-band{width:100vw;margin:var(--ghp-values-margin-top,72px) calc(50% - 50vw) var(--ghp-values-margin-bottom,0px);background:var(--ghp-values-bg,#fff);border-top:1px solid var(--ghp-values-border,#d9dde3);border-bottom:1px solid var(--ghp-values-border,#d9dde3)}.ghp-values-strip{width:min(var(--ghp-section-width,1350px),calc(100% - 40px));margin:0 auto;padding:24px 0;display:grid;grid-template-columns:repeat(var(--ghp-values-cols,4),minmax(0,1fr));align-items:stretch}
.ghp-value-item{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;align-items:center;padding:0 26px;min-height:78px}
.ghp-value-item:first-child{padding-left:0}.ghp-value-item:last-child{padding-right:0}
.ghp-value-item:not(:last-child)::after{content:"";position:absolute;top:9px;right:0;width:1px;height:60px;background:var(--ghp-values-border,#d9dde3)}
.ghp-value-icon{width:42px;height:42px;color:var(--ghp-values-icon,#162033);display:grid;place-items:center}.ghp-value-icon svg{display:block;width:38px;height:38px;stroke:currentColor}
.ghp-value-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.ghp-value-title{font:600 var(--ghp-values-title-size,14px)/1.2 var(--ghp-font);letter-spacing:.02em;color:var(--ghp-values-title-color,#162033)}.ghp-value-text{font:400 var(--ghp-values-text-size,12px)/1.35 var(--ghp-font);color:var(--ghp-values-text-color,#5b6472)}
@media(max-width:1024px){.ghp-values-strip{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:22px}.ghp-value-item{padding:0 22px}.ghp-value-item:nth-child(2n)::after{display:none}.ghp-value-item:nth-child(2n+1){padding-left:0}.ghp-value-item:nth-child(2n){padding-right:0}}
@media(max-width:767px){.ghp-values-strip{width:calc(100% - 28px);grid-template-columns:1fr;padding:18px 0;row-gap:0}.ghp-value-item,.ghp-value-item:first-child,.ghp-value-item:last-child,.ghp-value-item:nth-child(3){padding:18px 0;grid-template-columns:44px minmax(0,1fr);gap:14px;min-height:0}.ghp-value-item:not(:last-child)::after{display:block;top:auto;bottom:0;left:0;right:0;width:100%;height:1px}.ghp-value-icon{width:40px;height:40px}.ghp-value-icon svg{width:34px;height:34px}}

/* v2.4.2: separación administrable entre cabecera descriptiva y filtros */

/* v2.4.3: fondo administrable full-bleed en franja de atributos; contenido interno centrado al ancho global. */


/* =========================================================
   v2.5.0 · PROYECTOS DESTACADOS POR CATEGORÍA
   ========================================================= */
.ghp-featured{margin:0 0 56px;padding:0}.ghp-featured[hidden]{display:none!important}
.ghp-featured-head{margin:0 0 24px}.ghp-featured-category{position:relative;display:inline-block;padding-top:15px;margin:0 0 8px;color:#697383;font:500 10px/1.2 var(--ghp-font);letter-spacing:.16em;text-transform:uppercase}.ghp-featured-category:before{content:"";position:absolute;top:0;left:0;width:28px;height:3px;background:var(--ghp-accent)}.ghp-featured-heading{margin:0;color:var(--ghp-text);font:600 clamp(22px,2.2vw,32px)/1.08 var(--ghp-font)}
.ghp-featured-stage{position:relative}.ghp-featured-item{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:42px;align-items:stretch;min-height:350px}.ghp-featured-item[hidden]{display:none!important}.ghp-featured-media{display:block;min-height:350px;overflow:hidden;background:#eef1f2;text-decoration:none}.ghp-featured-image{display:block!important;width:100%!important;height:100%!important;min-height:350px!important;object-fit:cover!important;transition:transform var(--ghp-hover,650ms) cubic-bezier(.22,.61,.36,1)}.ghp-featured-media:hover .ghp-featured-image{transform:scale(1.015)}
.ghp-featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:26px 0}.ghp-featured-eyebrow{display:block;margin:0 0 11px;color:var(--ghp-accent);font:600 10px/1.2 var(--ghp-font);letter-spacing:.13em;text-transform:uppercase}.ghp-featured-title{margin:0 0 18px;color:var(--ghp-text);font:600 clamp(24px,2.5vw,36px)/1.08 var(--ghp-font);max-width:520px}.ghp-featured-description{margin:0 0 12px;color:var(--ghp-muted);font:400 14px/1.68 var(--ghp-font);max-width:560px}.ghp-featured-terms{margin:0 0 22px;color:#818996;font:500 10px/1.3 var(--ghp-font);letter-spacing:.07em;text-transform:uppercase}.ghp-featured-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-width:172px;min-height:44px;padding:0 20px;border-radius:var(--ghp-button-radius,0);background:var(--ghp-accent);color:#111!important;text-decoration:none!important;font:700 10px/1 var(--ghp-font);transition:background var(--ghp-hover,650ms) ease,color var(--ghp-hover,650ms) ease,transform var(--ghp-hover,650ms) ease}.ghp-featured-cta:hover{background:#111;color:#fff!important;transform:translateY(-1px)}.ghp-featured-cta span{font-size:18px}
.ghp-featured-nav{margin:16px 0 0;display:flex;align-items:center;justify-content:flex-end;gap:10px}.ghp-featured-nav[hidden]{display:none!important}.ghp-featured-prev,.ghp-featured-next{width:36px;height:36px;border:1px solid #dfe3e7;border-radius:50%;background:#fff;color:#111;font:400 24px/30px Arial,sans-serif;cursor:pointer;display:grid;place-items:center;padding:0;transition:background .25s ease,border-color .25s ease}.ghp-featured-prev:hover,.ghp-featured-next:hover{background:var(--ghp-accent);border-color:var(--ghp-accent)}.ghp-featured-count{min-width:48px;text-align:center;color:#7a8390;font:500 11px/1 var(--ghp-font)}
@media(max-width:1024px){.ghp-featured{margin-bottom:46px}.ghp-featured-item{grid-template-columns:1.05fr .95fr;gap:28px;min-height:310px}.ghp-featured-media,.ghp-featured-image{min-height:310px!important}.ghp-featured-copy{padding:18px 0}.ghp-featured-title{font-size:28px}}
@media(max-width:767px){.ghp-featured{margin-bottom:38px}.ghp-featured-head{margin-bottom:18px}.ghp-featured-item{grid-template-columns:1fr;gap:0;min-height:0}.ghp-featured-media,.ghp-featured-image{min-height:0!important;aspect-ratio:1.34/1}.ghp-featured-copy{padding:22px 0 0}.ghp-featured-title{font-size:25px;margin-bottom:14px}.ghp-featured-description{font-size:13px;line-height:1.6}.ghp-featured-nav{justify-content:flex-start;margin-top:14px}}

/* Columna admin "Destacado" más compacta. */
.fixed .column-ghp_featured{width:120px}


/* v2.5.1 · Seguridad: Proyectos nunca se muestra dentro del Blog */
body.blog .ghp-projects,
body.category .ghp-projects,
body.tag .ghp-projects,
body.author .ghp-projects,
body.date .ghp-projects{
    display:none!important;
}
