
:root{--paper:#fbfbfa;--ink:#181a1b;--gray:#70757a;--orange:#ee642b;--line:#e3e4e4}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:Arial,Helvetica,sans-serif;background:var(--paper);color:var(--ink)}
body{min-height:100svh;overflow:hidden}a{color:inherit}
.layout{height:100svh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}
.site-header{background:var(--paper);border-bottom:1px solid var(--line);z-index:5}
.top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px clamp(20px,5.3vw,94px) 10px}
.brand img{display:block;width:clamp(96px,10vw,138px);height:46px;object-fit:contain;object-position:left center}
.header-contact{font:11px Consolas,'Courier New',monospace;text-decoration:none;letter-spacing:.11em;text-transform:uppercase;border-bottom:1px solid #aaa;padding-bottom:5px}
.header-contact:hover{color:var(--orange);border-color:var(--orange)}
.nav-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 clamp(20px,5.3vw,94px) 13px}
.nav-card{position:relative;min-width:0;min-height:76px;padding:10px 32px 12px 13px;text-decoration:none;border:1px solid #dfe0e0;border-radius:7px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;transition:border-color .2s,background .2s,transform .2s}
.nav-card small{font:9px Consolas,'Courier New',monospace;letter-spacing:.1em;color:#8a8f94}
.nav-card strong{font-size:clamp(12px,1.08vw,16px);line-height:1.16;letter-spacing:-.025em}
.nav-card i{position:absolute;right:10px;bottom:10px;color:var(--orange);font-style:normal}
.nav-card:hover,.nav-card:focus-visible,.nav-card[aria-current=page]{border-color:var(--orange);background:#fff8f4}
.nav-card:hover{transform:translateY(-2px)}
.page{position:relative;min-height:0;overflow:hidden;display:flex;align-items:center;padding:clamp(18px,5.5vh,60px) clamp(20px,8vw,135px);isolation:isolate}
.content{position:relative;z-index:2;max-width:720px;animation:rise .65s ease-out both}
.eyebrow{font:10px Consolas,'Courier New',monospace;letter-spacing:.17em;color:#7c8186;text-transform:uppercase;margin-bottom:clamp(13px,3vh,28px)}
.eyebrow:before{content:'—';color:var(--orange);margin-right:12px}
h1{font-size:clamp(40px,5.8vw,88px);line-height:1.04;font-weight:400;letter-spacing:-.065em;margin:0 0 clamp(15px,3vh,31px)}
h1 .soft{color:#929699}.dot{color:var(--orange)}
.description{color:#60666b;font-size:clamp(15px,1.5vw,21px);line-height:1.48;max-width:640px;margin:0 0 clamp(18px,3.4vh,35px)}
.cta{display:inline-flex;gap:28px;justify-content:space-between;align-items:center;padding:15px 20px;border:1px solid #202324;background:rgba(255,255,255,.88);font:10px Consolas,'Courier New',monospace;text-decoration:none;letter-spacing:.1em;text-transform:uppercase;transition:color .2s,background .2s}
.cta:hover{color:white;background:#202324}.cta span{font-size:19px;line-height:0}
.page-id{position:absolute;bottom:18px;left:clamp(20px,5.3vw,94px);font:10px Consolas,'Courier New',monospace;color:#999;letter-spacing:.1em}
.page-id:before{content:'+';margin-right:11px;color:var(--orange)}
.hero-photo{position:absolute;z-index:-1;inset:0 0 0 auto;width:62%;background:url('/assets/hero-macro.jpg') center/cover no-repeat;animation:fade 1.2s ease-out both}
.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--paper),rgba(251,251,250,.72) 16%,rgba(251,251,250,0) 53%)}
.detail{position:absolute;right:clamp(20px,6vw,100px);top:18%;width:min(28vw,390px);aspect-ratio:1;border:1px solid #e5e5e3;border-radius:50%;opacity:.6;pointer-events:none}
.detail:before,.detail:after{content:'';position:absolute;top:50%;left:50%;background:#e6e6e3;transform:translate(-50%,-50%)}.detail:before{width:120%;height:1px}.detail:after{height:120%;width:1px}
@keyframes rise{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}@keyframes fade{from{opacity:0;transform:scale(1.035)}to{opacity:1;transform:scale(1)}}
@media(max-width:800px){.nav-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.nav-card{min-height:58px;padding:8px 24px 8px 10px}.nav-card strong{font-size:12px}.nav-card small{font-size:8px}.nav-card i{bottom:6px}.top{padding-top:7px;padding-bottom:6px}.brand img{height:33px;width:105px}.page{padding:20px 7vw}.hero-photo{width:78%;opacity:.35}.hero-photo:after{background:linear-gradient(90deg,var(--paper),rgba(251,251,250,.72) 50%,transparent)}.detail{opacity:.25}h1{font-size:clamp(37px,7.5vw,61px)}}
@media(max-width:500px){.top{padding:6px 15px}.brand img{height:29px;width:88px}.header-contact{font-size:9px}.nav-cards{padding:0 12px 8px;gap:5px}.nav-card{min-height:51px;padding:6px 20px 6px 8px;border-radius:5px}.nav-card strong{font-size:11px}.nav-card small{font-size:7px}.nav-card i{right:5px;bottom:6px;font-size:12px}.page{padding:14px 23px 22px}.eyebrow{font-size:8px;margin-bottom:13px}h1{font-size:clamp(32px,9.1vw,49px);margin-bottom:14px}.description{font-size:clamp(13px,3.6vw,17px);margin-bottom:20px}.cta{font-size:9px;padding:13px 12px;gap:14px}.page-id{bottom:9px;font-size:8px}.hero-photo{width:105%;opacity:.21}.detail{display:none}}
@media(max-height:690px){.top{padding-top:5px;padding-bottom:4px}.brand img{height:29px}.nav-cards{padding-bottom:7px}.nav-card{min-height:49px;padding-top:5px;padding-bottom:5px}.nav-card small{font-size:8px}.page{padding-top:9px;padding-bottom:15px}.eyebrow{margin-bottom:10px}h1{font-size:clamp(29px,5vw,65px);margin-bottom:12px}.description{font-size:clamp(12px,1.3vw,17px);margin-bottom:15px}.cta{padding:11px 13px}.page-id{bottom:5px}}
@media(max-height:460px){.nav-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.nav-card small{display:none}.nav-card{min-height:35px}.page-id{display:none}.page{padding:8px 20px}.eyebrow{margin-bottom:5px}h1{font-size:clamp(25px,4vw,46px);margin-bottom:7px}.description{margin-bottom:9px}}
@media(prefers-reduced-motion:reduce){.content,.hero-photo{animation:none}.nav-card,.cta{transition:none}}

/* V7: tarjetas arriba, identidad dentro del contenido */
.site-header{border-bottom:1px solid var(--line)}
.nav-cards{padding-top:clamp(10px,1.4vh,16px);padding-bottom:clamp(10px,1.4vh,16px)}
.hero-brand{display:inline-flex;align-items:center;justify-content:flex-start;margin-bottom:clamp(14px,2.5vh,26px);text-decoration:none;width:max-content}
.hero-brand img{display:block;width:clamp(57px,5.4vw,79px);height:clamp(57px,5.4vw,79px);object-fit:contain}
@media(max-width:800px){.hero-brand img{width:64px;height:64px}.nav-cards{padding-top:9px}}
@media(max-width:500px){.hero-brand{margin-bottom:13px}.hero-brand img{width:47px;height:47px}.nav-cards{padding-top:8px}.page{padding-top:12px}}
@media(max-height:690px){.hero-brand{margin-bottom:9px}.hero-brand img{width:47px;height:47px}.nav-cards{padding-top:6px}}
@media(max-height:460px){.hero-brand img{width:32px;height:32px}.hero-brand{margin-bottom:5px}}

/* V8: logo integrado a la fila de tarjetas, misma altura y separación */
.nav-cards{grid-template-columns:minmax(78px,110px) repeat(4,minmax(0,1fr));align-items:stretch}
.nav-logo{height:100%;min-height:76px;display:flex;align-items:center;justify-content:center;border:1px solid #dfe0e0;border-radius:7px;background:#fff;text-decoration:none;transition:border-color .2s,background .2s}
.nav-logo img{display:block;width:65px;height:65px;max-width:85%;object-fit:contain}
.nav-logo:hover,.nav-logo:focus-visible{border-color:var(--orange);background:#fff8f4}
@media(max-width:800px){.nav-cards{grid-template-columns:minmax(65px,80px) repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(58px,auto))}.nav-logo{grid-row:span 2;min-height:0}.nav-logo img{width:52px;height:52px}.nav-card{min-height:58px}}
@media(max-width:500px){.nav-cards{grid-template-columns:55px repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(51px,auto))}.nav-logo{border-radius:5px}.nav-logo img{width:43px;height:43px}.nav-card{min-height:51px}}
@media(max-height:690px) and (min-width:801px){.nav-logo{min-height:49px}.nav-logo img{height:42px;width:42px}}
@media(max-height:460px) and (min-width:801px){.nav-cards{grid-template-columns:60px repeat(4,minmax(0,1fr))}.nav-logo{min-height:35px}.nav-logo img{height:32px;width:32px}}

/* V9 — Logo sin marco, conserva posición y alineación del menú */
.nav-logo,.nav-logo:hover,.nav-logo:focus-visible{border:0;background:transparent;border-radius:0;box-shadow:none;}
.nav-logo:hover img,.nav-logo:focus-visible img{opacity:.83;}


/* V22 — footer permanente sin marco y acciones comerciales */
.layout{grid-template-rows:auto minmax(0,1fr) auto}
.site-footer{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:49px;padding:8px clamp(20px,5.3vw,94px);border-top:1px solid rgba(24,26,27,.085);background:var(--paper)}
.footer-copy{font:10px Consolas,'Courier New',monospace;letter-spacing:.06em;color:#888e92;white-space:normal}
.footer-actions{display:flex;align-items:center;gap:18px}
.footer-info{position:relative}
.footer-info summary{display:flex;align-items:center;justify-content:center;width:25px;height:26px;cursor:pointer;list-style:none;color:#555b60;transition:color .18s}
.footer-info summary::-webkit-details-marker{display:none}
.footer-info summary:hover,.footer-info[open] summary{color:var(--orange)}
.footer-info summary svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.55;fill:none;stroke-linecap:round;stroke-linejoin:round}
.footer-popover{position:absolute;right:-8px;bottom:calc(100% + 12px);width:max-content;max-width:min(300px,90vw);padding:14px 16px;border:1px solid #e5e6e5;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.09);font:12px Arial,Helvetica,sans-serif;color:#3d4245;line-height:1.6;white-space:nowrap}
.footer-popover strong{display:block;margin-bottom:2px;font-size:12px;color:#191c1d}
.footer-popover a{color:#212526;text-decoration:underline;text-decoration-color:#a7aaac;text-underline-offset:3px}
.footer-popover a:hover{color:var(--orange)}
.cta-row{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(10px,1.3vw,18px)}
.cta-secondary{display:inline-flex;align-items:center;gap:10px;padding:12px 2px;font:10px Consolas,'Courier New',monospace;text-decoration:none;letter-spacing:.085em;text-transform:uppercase;white-space:nowrap;color:#60666b;transition:color .18s}
.cta-secondary svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.6;fill:none}
.cta-secondary:hover,.cta-secondary:focus-visible{color:var(--orange)}
@media(max-width:800px){body{height:auto;overflow-y:auto}.layout{height:auto;min-height:100svh;grid-template-rows:auto minmax(0,1fr) auto}.page{overflow:visible}.site-footer{min-height:49px;padding:10px 7vw}.footer-actions{gap:12px}.footer-copy{font-size:9px}}
@media(max-width:500px){.site-footer{padding:10px 14px;gap:12px}.footer-copy{font-size:8px;line-height:1.5;max-width:230px}.footer-actions{gap:7px}.footer-popover{font-size:11px}.cta-row{gap:6px 13px}.cta-secondary{font-size:9px}}
@media(max-height:650px) and (min-width:801px){.site-footer{min-height:35px;padding-top:4px;padding-bottom:4px}.cta-row .cta-secondary{padding:8px 0;font-size:9px}}

/* V23: acceso DesignTech en footer */
.portal-clientes{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;text-decoration:none;color:#34393b;font:10px Consolas,'Courier New',monospace;letter-spacing:.025em;transition:color .2s}
.portal-clientes svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.portal-clientes:hover,.portal-clientes:focus-visible{color:var(--orange)}
.portal-arrow{font-size:14px;color:var(--orange)}
@media(max-width:500px){.portal-clientes{font-size:9px;gap:4px}.portal-clientes svg{width:15px;height:15px}.footer-actions{gap:7px}}
@media(max-width:365px){.portal-clientes span:not(.portal-arrow){max-width:47px;white-space:normal;line-height:1.1}}


/* V25 — Responsive integral: contenido legible, táctil y sin cortes */
html,body{max-width:100%;overflow-x:hidden}
img,svg{max-width:100%}
.nav-card strong{overflow-wrap:anywhere}
.cta-row{min-width:0}
.cta,.cta-secondary{max-width:100%}
@media (max-width:1100px) and (min-width:801px){
  .nav-cards{padding-left:22px;padding-right:22px;gap:7px;grid-template-columns:68px repeat(4,minmax(0,1fr))}
  .nav-logo img{width:48px;height:48px}
  .nav-card{padding-right:21px;padding-left:9px}
  .nav-card strong{font-size:12px}
  .nav-card small{font-size:8px}
  .page{padding-left:clamp(23px,4vw,50px);padding-right:clamp(23px,4vw,50px)}
}
@media(max-width:800px){
  body{height:auto!important;overflow-y:auto!important}
  .layout{height:auto!important;min-height:100svh;grid-template-rows:auto minmax(0,1fr) auto}
  .page{min-height:0;overflow:visible;align-items:start}
  .site-header{position:relative}
  .site-footer{flex-wrap:wrap;justify-content:space-between}
  .footer-copy{min-width:0;max-width:100%}
  .footer-actions{flex-wrap:wrap}
  .nav-logo{align-self:stretch}
  .cta-row{align-items:stretch}
  .cta{min-height:44px}
  .cta-secondary{min-height:44px;display:inline-flex;align-items:center}
  .page.protection-page{display:flex!important;flex-direction:column-reverse!important;gap:22px!important;padding:24px 6vw 32px!important;align-items:stretch!important}
  .page.protection-page .protection-content{width:100%!important;max-width:none!important;order:0!important}
  .page.protection-page .protection-visual{order:0!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;max-height:none!important;flex:none!important}
  .page.protection-page .visual-photo{height:100%!important;width:100%!important;border-radius:15px!important}
  .page.protection-page .microproof{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .page.protection-page .protection-title{font-size:clamp(34px,6vw,54px)!important;max-width:none!important}
}
@media(max-width:600px){
  .nav-cards{grid-template-columns:51px repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,auto);gap:6px;padding:9px 12px}
  .nav-logo{grid-row:span 2;min-height:0;align-self:stretch}
  .nav-logo img{width:38px;height:38px}
  .nav-card{min-height:65px;padding:8px 19px 8px 8px}
  .nav-card strong{font-size:11px;line-height:1.12}
  .nav-card small{font-size:7.5px}
  .site-footer{padding:14px 18px;gap:10px}
  .footer-copy{flex-basis:100%;font-size:9px}
  .footer-actions{width:100%;justify-content:space-between;gap:10px}
  .portal-clientes{font-size:10px}
  .footer-info summary{width:34px;height:34px}
  .footer-info summary svg{width:18px;height:18px}
  .footer-popover{max-width:calc(100vw - 24px);white-space:normal}
  .page:not(.protection-page){padding:30px 6vw 40px}
  .page:not(.protection-page) .content{max-width:100%}
  .page:not(.protection-page) h1{font-size:clamp(33px,8.4vw,52px);overflow-wrap:break-word}
  .page:not(.protection-page) .hero-photo{width:100%;opacity:.19}
  .page.protection-page{gap:17px!important;padding:17px 18px 30px!important}
  .page.protection-page .protection-visual{aspect-ratio:1.45!important}
  .page.protection-page .protection-title{font-size:clamp(31px,8vw,44px)!important}
  .page.protection-page .description{font-size:15px!important;line-height:1.5!important;margin-bottom:16px!important}
  .page.protection-page .trust-tags{gap:6px!important;margin-bottom:16px!important}
  .page.protection-page .trust-tags li{font-size:9px!important;padding:7px 9px!important}
  .page.protection-page .microproof{grid-template-columns:1fr!important;gap:10px!important;margin-bottom:18px!important}
  .page.protection-page .microproof strong{font-size:14px!important}
  .page.protection-page .microproof span{font-size:12px!important;line-height:1.45!important}
  .visual-note{max-width:calc(100% - 24px);flex-wrap:wrap;gap:4px 8px}
  .cta-row{flex-direction:column;align-items:flex-start}
  .cta{width:auto;min-width:min(100%,260px);font-size:9px}
  .cta-secondary{padding:8px 0}
  .portfolio-main{padding-left:18px!important;padding-right:18px!important}
  .portfolio-top h1{font-size:clamp(34px,8.2vw,45px)!important}
  .portfolio-top h1 br{display:none}
  .portfolio-controls{gap:7px}
  .portfolio-controls .filter-btn{min-height:40px}
  .portfolio-outro{align-items:flex-start}
}
@media(max-width:375px){
  .nav-card{min-height:70px}
  .nav-card strong{font-size:10px}
  .nav-card small{font-size:7px}
  .portal-clientes span:not(.portal-arrow){max-width:none;white-space:nowrap}
  .footer-actions{gap:7px}
  .portfolio-top h1{font-size:34px!important}
  .case-head h2{font-size:31px!important}
}
@media(max-width:800px) and (orientation:landscape){
  .page.protection-page{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:start!important;gap:18px!important}
  .page.protection-page .protection-visual{grid-column:2;grid-row:1;aspect-ratio:1.15!important}
  .page.protection-page .protection-content{grid-column:1;grid-row:1}
  .nav-cards{grid-template-columns:55px repeat(4,minmax(0,1fr));grid-template-rows:auto}
  .nav-logo{grid-row:auto}
  .nav-card{min-height:50px}
}

/* V27 — menú de contacto contextual: correo y WhatsApp */
.contact-menu{position:relative;display:inline-block;flex-shrink:0;max-width:100%;isolation:isolate}
.contact-menu>summary.cta{list-style:none;cursor:pointer;user-select:none;min-height:44px}
.contact-menu>summary.cta::-webkit-details-marker{display:none}
.contact-menu>summary.cta span{font-size:18px;line-height:1;transition:transform .2s}
.contact-menu[open]>summary.cta span{transform:rotate(180deg)}
.contact-menu>summary.cta:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.contact-options{position:absolute;bottom:calc(100% + 9px);left:0;width:max(100%,280px);max-width:min(330px,calc(100vw - 32px));padding:6px;border:1px solid #dedfdf;border-radius:8px;background:#fff;box-shadow:0 12px 36px rgba(0,0,0,.13);z-index:50}
.contact-options a{display:flex;align-items:center;gap:12px;min-height:61px;padding:10px 11px;color:var(--ink);text-decoration:none;border-radius:5px;font:12px Arial,Helvetica,sans-serif;transition:background .18s}
.contact-options a:hover,.contact-options a:focus-visible{background:#fff4ef;outline:none}
.contact-options a svg{height:20px;width:20px;min-width:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:#585d60}
.contact-options a>span:not(.contact-arrow){display:flex;flex-direction:column;gap:4px;font-weight:600}
.contact-options a small{font:10px Consolas,'Courier New',monospace;color:#6c7377}
.contact-options .contact-arrow{font-size:16px;color:var(--orange);margin-left:auto}
@media(max-width:600px){.contact-menu{max-width:100%}.contact-menu>summary.cta{min-width:min(100%,260px)}.contact-options{width:min(310px,calc(100vw - 36px))}}


/* V28: enlaces a casos documentados */
.case-detail-link{display:inline-flex;align-items:center;gap:9px;font:10px Consolas,'Courier New',monospace;letter-spacing:.055em;text-transform:uppercase;text-decoration:none;border-bottom:1px solid #b8bcbe;padding:7px 0;margin-top:9px;color:#272b2e}
.case-detail-link:hover{color:#ef5b33;border-bottom-color:#ef5b33}
