/* TECNOYDES V10.17 — Proyectos (catalogo visual y ficha demostrativa). */
body:not(.home) .tec17-projects-index .tec17-gallery-hero,
body:not(.home) .tec17-project-detail .tec17-case-hero{
 background:linear-gradient(110deg,#f8fafc,#eaf3f8);
 position:relative;overflow:hidden;isolation:isolate
}
body:not(.home) .tec17-projects-index .tec17-gallery-hero-grid,
body:not(.home) .tec17-project-detail .tec17-case-hero-grid{
 min-height:clamp(390px,31vw,555px);position:relative;display:grid!important;
 grid-template-columns:1fr 1fr;align-items:center;gap:40px;padding-block:clamp(38px,3.5vw,75px)!important
}
body:not(.home) .tec17-projects-index .tec17-gallery-copy,
body:not(.home) .tec17-project-detail .tec17-case-copy{position:relative;z-index:4;padding-right:25px;min-width:0}
body:not(.home) .tec17-projects-index .tec17-breadcrumb,
body:not(.home) .tec17-project-detail .tec17-breadcrumb{font-size:clamp(12px,.85vw,15px)!important;margin:0 0 clamp(28px,2vw,42px)!important}
body:not(.home) .tec17-projects-index .tec17-gallery-copy h1,
body:not(.home) .tec17-project-detail .tec17-case-copy h1{
 font-size:clamp(45px,4vw,83px)!important;line-height:1.05!important;margin:0 0 20px!important
}
body:not(.home) .tec17-projects-index .tec17-gallery-copy h1::before,
body:not(.home) .tec17-project-detail .tec17-case-copy h1::before{
 content:"";display:block;width:28px;height:4px;background:#ed111b;margin-bottom:16px
}
body:not(.home) .tec17-projects-index .tec17-gallery-copy h3{font-size:clamp(20px,1.4vw,29px)!important;margin:0 0 7px!important}
body:not(.home) .tec17-projects-index .tec17-gallery-copy>p:not(.tec17-breadcrumb),
body:not(.home) .tec17-project-detail .tec17-case-lead{font-size:clamp(16px,1.2vw,23px)!important;line-height:1.45!important;max-width:600px;margin:0 0 22px!important}
body:not(.home) .tec17-projects-index .tec17-gallery-hero-photo,
body:not(.home) .tec17-project-detail .tec17-case-hero-photo{
 position:absolute;right:-8vw;top:0;bottom:0;width:66%;height:100%!important;opacity:.96;
}
body:not(.home) .tec17-projects-index .tec17-gallery-hero-photo img,
body:not(.home) .tec17-project-detail .tec17-case-hero-photo img{
 display:block;width:100%!important;height:100%!important;object-fit:cover
}
body:not(.home) .tec17-projects-index .tec17-gallery-hero-photo::after,
body:not(.home) .tec17-project-detail .tec17-case-hero-photo::after{
 content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f6f9fbed,#f6f9fb9e 20%,transparent 55%)
}
body:not(.home) .tec17-projects-index .tec17-gallery-section{background:#fff;padding:clamp(25px,2.5vw,50px) 0 clamp(65px,5vw,105px)!important}
body:not(.home) .tec17-projects-index .tec17-gallery-notice{
 border-left:3px solid #e9a0a8;background:#fbf5f6;padding:11px 16px;
 font-size:clamp(12px,.85vw,16px)!important;line-height:1.4;margin:0 0 20px!important
}
body:not(.home) .tec17-projects-index .tec17-project-filters{
 display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 clamp(21px,2.1vw,42px)
}
body:not(.home) .tec17-projects-index .tec17-filter{
 display:inline-flex;border:1px solid #d6e2ed;background:#fff;border-radius:5px;
 padding:clamp(8px,.75vw,13px) clamp(10px,.9vw,17px);min-height:39px;
 font-size:clamp(12px,.85vw,16px);line-height:1.18;color:#19334d;cursor:pointer
}
body:not(.home) .tec17-projects-index .tec17-filter:hover,
body:not(.home) .tec17-projects-index .tec17-filter.is-active{color:#fff;background:#0e243c;border-color:#0e243c}
body:not(.home) .tec17-projects-index .tec17-search{margin-left:auto;flex:1 1 170px;min-width:140px;max-width:245px}
body:not(.home) .tec17-projects-index .tec17-search input{
 width:100%;min-height:39px;padding:8px 12px;background:#fff;color:#172f50;
 border:1px solid #d5e0ea;border-radius:5px;font-size:clamp(12px,.82vw,15px)
}
body:not(.home) .tec17-projects-index .tec17-gallery-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(13px,1.4vw,26px)
}
body:not(.home) .tec17-projects-index .tec17-gallery-card{
 position:relative;min-width:0;background:#fff;border:1px solid #e1e9f1;
 border-radius:8px;box-shadow:0 3px 13px #152c460b;overflow:hidden;padding-bottom:clamp(15px,1.3vw,22px)
}
body:not(.home) .tec17-projects-index .tec17-gallery-card[hidden]{display:none!important}
body:not(.home) .tec17-projects-index .tec17-gallery-photo{width:100%!important;height:clamp(145px,12vw,220px)!important;overflow:hidden}
body:not(.home) .tec17-projects-index .tec17-gallery-photo img{height:100%!important;width:100%!important;object-fit:cover;display:block}
body:not(.home) .tec17-projects-index .tec17-gallery-badge{
 position:absolute;z-index:3;left:14px;top:14px;background:#ed111b;border-radius:5px;
 padding:8px 13px;color:#fff!important;font-weight:760;font-size:clamp(12px,.85vw,16px)!important;line-height:1.1!important
}
body:not(.home) .tec17-projects-index .tec17-projcat--sage .tec17-gallery-badge{background:#03b94a}
body:not(.home) .tec17-projects-index .tec17-projcat--odoo .tec17-gallery-badge{background:#8a3673}
body:not(.home) .tec17-projects-index .tec17-projcat--integracion .tec17-gallery-badge{background:#0b64c4}
body:not(.home) .tec17-projects-index .tec17-projcat--migracion .tec17-gallery-badge{background:#0095b9}
body:not(.home) .tec17-projects-index .tec17-projcat--informes .tec17-gallery-badge{background:#e58a00}
body:not(.home) .tec17-projects-index .tec17-gallery-body{padding:clamp(13px,1.2vw,23px)!important}
body:not(.home) .tec17-projects-index .tec17-gallery-body h3{
 font-size:clamp(17px,1.25vw,25px)!important;line-height:1.19!important;margin:0 0 10px!important
}
body:not(.home) .tec17-projects-index .tec17-gallery-body>p:not(.tec17-gallery-action){font-size:clamp(13px,.94vw,18px)!important;line-height:1.36!important;margin:0 0 12px!important}
body:not(.home) .tec17-projects-index .tec17-gallery-tags{display:flex!important;flex-wrap:wrap;gap:7px;margin:0 0 15px!important}
body:not(.home) .tec17-projects-index .tec17-gallery-tags p{
 border-radius:5px;background:#edf3f9;padding:6px 10px;
 color:#314a69!important;font-size:clamp(11px,.8vw,15px)!important;line-height:1.2!important
}
body:not(.home) .tec17-projects-index .tec17-gallery-action{margin:0!important}
body:not(.home) .tec17-projects-index .tec17-gallery-action a{font-size:clamp(13px,.9vw,17px);font-weight:760;color:#ed111b!important}
body:not(.home) .tec17-projects-index .tec17-project-pagination{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:clamp(24px,2.2vw,45px)}
body:not(.home) .tec17-projects-index .tec17-project-pagination button{
 min-width:38px;height:38px;border:1px solid #e7ecf1;border-radius:5px;
 background:#fff;color:#18344e;font-weight:680;cursor:pointer
}
body:not(.home) .tec17-projects-index .tec17-project-pagination button.is-active{background:#ed111b;border-color:#ed111b;color:#fff}
body:not(.home) .tec17-projects-index .tec17-no-results{padding:32px;color:#425a74;text-align:center}
body:not(.home) .tec17-projects-index .tec17-no-results[hidden]{display:none}
/* Ficha de proyecto ilustrativa, maquetación 09. */
body:not(.home) .tec17-project-detail .tec17-case-demo{
 background:#f5f0ee;text-align:center;color:#8f3b36!important;font-size:13px!important;
 padding:7px 15px!important;margin:0!important;font-weight:700
}
body:not(.home) .tec17-project-detail .tec17-case-copy .tec17-kicker{color:#d20c1b!important}
body:not(.home) .tec17-project-detail .tec17-case-copy h1{font-size:clamp(40px,3.45vw,70px)!important}
body:not(.home) .tec17-project-detail .tec17-case-tags,
body:not(.home) .tec17-project-detail .tec17-case-stack{display:flex!important;gap:9px;flex-wrap:wrap;margin:13px 0 26px!important}
body:not(.home) .tec17-project-detail .tec17-case-tags p,
body:not(.home) .tec17-project-detail .tec17-case-stack p{
 display:inline-flex;padding:9px 13px;background:#e7eef7;border-radius:5px;
 color:#193b65;font-size:clamp(12px,.88vw,16px)!important
}
body:not(.home) .tec17-project-detail :is(.tec17-case-challenge,.tec17-case-solution,.tec17-case-features,.tec17-case-tech,.tec17-case-more){padding:clamp(40px,3.7vw,74px) 0!important}
body:not(.home) .tec17-project-detail :is(.tec17-case-solution,.tec17-case-tech){background:#f4f8fb}
body:not(.home) .tec17-project-detail .tec17-case-columns{
 display:grid!important;grid-template-columns:minmax(0,.46fr) minmax(0,.54fr);gap:clamp(35px,4.2vw,85px);align-items:center
}
body:not(.home) .tec17-project-detail :is(.tec17-case-text h2,.tec17-case-features h2,.tec17-case-tech h2,.tec17-case-more h2){font-size:clamp(27px,2.4vw,45px)!important;margin:0 0 20px!important}
body:not(.home) .tec17-project-detail :is(.tec17-case-text h2,.tec17-case-features h2,.tec17-case-tech h2,.tec17-case-more h2)::before{
 content:"";display:block;width:27px;height:4px;background:#ed111b;margin-bottom:14px
}
body:not(.home) .tec17-project-detail .tec17-case-text>p{font-size:clamp(15px,1.06vw,21px)!important;line-height:1.5!important}
body:not(.home) .tec17-project-detail .tec17-case-highlights{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
body:not(.home) .tec17-project-detail .tec17-case-highlight{position:relative;background:#edf4fa;padding:clamp(25px,2vw,42px) clamp(15px,1.7vw,32px)!important;text-align:center}
body:not(.home) .tec17-project-detail .tec17-case-highlight::before{content:"✓";display:block;color:#0757bb;border:2px solid #0757bb;border-radius:50%;width:32px;height:32px;line-height:28px;margin:0 auto 15px;font-weight:750}
body:not(.home) .tec17-project-detail .tec17-case-highlight p{font-size:clamp(13px,.9vw,18px)!important;line-height:1.33!important}
body:not(.home) .tec17-project-detail .tec17-case-diagram{background:#e6f1f8;min-height:230px;border-radius:10px;padding:25px!important}
body:not(.home) .tec17-project-detail .tec17-case-diagram img{display:block;width:100%!important;height:270px!important;object-fit:contain}
body:not(.home) .tec17-project-detail .tec17-case-feature-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
body:not(.home) .tec17-project-detail .tec17-case-feature{display:flex!important;gap:19px;align-items:center;min-height:95px;padding:21px!important;background:#fff;border:1px solid #dae7ef;border-radius:8px}
body:not(.home) .tec17-project-detail .tec17-case-feature h3{font-size:clamp(15px,1vw,21px)!important;line-height:1.26!important}
body:not(.home) .tec17-project-detail .tec17-case-feature-icon{width:35px!important;height:35px!important;flex:none}
body:not(.home) .tec17-project-detail .tec17-case-feature-icon img{width:100%!important;height:100%!important;object-fit:contain}
body:not(.home) .tec17-project-detail .tec17-case-more-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
body:not(.home) .tec17-project-detail .tec17-case-more-card{overflow:hidden;background:#fff;border:1px solid #e2eaf1;border-radius:7px;padding:0 0 18px!important}
body:not(.home) .tec17-project-detail .tec17-case-more-img{height:150px!important;width:100%!important;overflow:hidden}
body:not(.home) .tec17-project-detail .tec17-case-more-img img{display:block;width:100%!important;height:100%!important;object-fit:cover}
body:not(.home) .tec17-project-detail .tec17-case-more-card h3{font-size:clamp(16px,1.05vw,21px)!important;padding:14px 15px 7px!important}
body:not(.home) .tec17-project-detail .tec17-case-more-card>p{font-size:clamp(13px,.88vw,17px)!important;padding:0 15px}
@media(max-width:1030px){
 body:not(.home) .tec17-projects-index .tec17-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:not(.home) .tec17-projects-index .tec17-project-filters{gap:5px}
}
/* eDM: fundido suave de la imagen hacia el texto, sin corte vertical */
body:not(.home) .tec17-case-egest .tec17-case-hero-photo{right:-6vw;width:66%;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 11%,rgba(0,0,0,.62) 29%,#000 46%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 11%,rgba(0,0,0,.62) 29%,#000 46%)}
body:not(.home) .tec17-case-egest .tec17-case-hero-photo::after{background:linear-gradient(90deg,#f6f9fb 0%,rgba(246,249,251,.85) 13%,rgba(246,249,251,.22) 39%,transparent 65%)}
@media(max-width:700px){body:not(.home) .tec17-case-egest .tec17-case-hero-photo{width:100%;right:-28vw;opacity:.27;-webkit-mask-image:linear-gradient(90deg,transparent,#000 48%);mask-image:linear-gradient(90deg,transparent,#000 48%)}}
/* eDM: regreso visible a proyectos, anclado a la derecha en escritorio */
body:not(.home) .tec17-project-detail .tec17-egest-back-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:12px 20px!important;border:2px solid #e30613!important;border-radius:6px;background:#e30613!important;color:#fff!important;font-weight:750!important;text-decoration:none!important;box-shadow:0 7px 24px rgba(12,35,58,.12);transition:background .2s,color .2s}
body:not(.home) .tec17-project-detail .tec17-egest-back-button:hover{background:#b80510!important;color:#fff!important}
@media(min-width:1100px){body:not(.home) .tec17-project-detail .tec17-egest-back-button{position:fixed;right:22px;top:50%;transform:translateY(-50%);z-index:40;max-width:210px}}
body:not(.home) .tec17-project-detail a.tec17-egest-back-button,body:not(.home) .tec17-project-detail a.tec17-egest-back-button:visited{background-color:#e30613!important;border-color:#e30613!important;color:#fff!important}
body:not(.home) .tec17-project-detail a.tec17-egest-back-button:hover{background-color:#b80510!important;border-color:#b80510!important;color:#fff!important}
@media(max-width:700px){
 body:not(.home) .tec17-projects-index .tec17-gallery-hero-grid,body:not(.home) .tec17-project-detail .tec17-case-hero-grid{grid-template-columns:1fr;min-height:400px}
 body:not(.home) .tec17-projects-index .tec17-gallery-hero-photo,body:not(.home) .tec17-project-detail .tec17-case-hero-photo{width:100%;right:-28vw;opacity:.27}
 body:not(.home) .tec17-projects-index .tec17-gallery-grid{grid-template-columns:1fr}
 body:not(.home) .tec17-projects-index .tec17-project-filters{gap:5px}
 body:not(.home) .tec17-projects-index .tec17-filter{font-size:12px;padding:9px 10px}
 body:not(.home) .tec17-projects-index .tec17-search{max-width:none;flex-basis:100%}
 body:not(.home) .tec17-project-detail .tec17-case-columns{grid-template-columns:1fr}
 body:not(.home) .tec17-project-detail .tec17-case-highlights{grid-template-columns:1fr}
 body:not(.home) .tec17-project-detail .tec17-case-feature-grid{grid-template-columns:1fr}
 body:not(.home) .tec17-project-detail .tec17-case-more-grid{grid-template-columns:1fr}
}
