/* Koluva · adaptación móvil (menú lateral, barra inferior, espaciado y tamaños). Se carga después de style.css. */
.menu-btn,.mail-btn,.tabbar,.drawer,.drawer-backdrop{display:none}
:root{--k-safe-b:env(safe-area-inset-bottom,0px);--k-tab-h:64px;--k-gutter:20px}
@media(max-width:820px){
  html{-webkit-text-size-adjust:100%;scroll-padding-top:76px}
  body{padding-bottom:calc(var(--k-tab-h) + var(--k-safe-b));overflow-x:hidden}
  body.drawer-open{overflow:hidden}
  /* cabecera: menú · logo · correo (simétrica) */
  .site-header{position:sticky;top:0;z-index:60;height:64px;background:rgba(20,19,22,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #2a262b}
  .site-header .nav-inner{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;height:100%;width:calc(100% - 24px)}
  .site-header .brand{justify-self:center}.site-header .brand img{width:124px;height:auto;display:block}
  .site-header .nav{display:none}
  .menu-btn,.mail-btn{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:#f5f1f3;border-radius:14px;padding:0;transition:background .25s,transform .25s var(--k-ease)}
  .menu-btn:active,.mail-btn:active{transform:scale(.92);background:#ffffff14}
  .menu-btn{position:relative}.menu-btn span{position:absolute;left:12px;right:12px;height:2px;border-radius:2px;background:currentColor;transition:transform .35s var(--k-ease),opacity .2s}
  .menu-btn span:nth-child(1){top:15px}.menu-btn span:nth-child(2){top:21px;right:18px}.menu-btn span:nth-child(3){top:27px}
  body.drawer-open .menu-btn span:nth-child(1){transform:translateY(6px) rotate(45deg)}body.drawer-open .menu-btn span:nth-child(2){opacity:0}body.drawer-open .menu-btn span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .mail-btn{justify-self:end}.mail-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  /* panel lateral */
  .drawer-backdrop{display:block;position:fixed;inset:0;z-index:90;background:rgba(8,7,9,.62);opacity:0;transition:opacity .3s ease}.drawer-backdrop[hidden]{display:none}.drawer-backdrop.is-on{opacity:1}
  .drawer{display:flex;flex-direction:column;position:fixed;z-index:100;top:0;left:0;bottom:0;width:min(86vw,350px);background:#141316;color:#f5f1f3;border-right:1px solid #2f2a30;transform:translateX(-102%);visibility:hidden;transition:transform .42s var(--k-ease),visibility 0s .42s;overflow-y:auto;overscroll-behavior:contain;padding:0 0 calc(24px + var(--k-safe-b));box-shadow:24px 0 60px -30px #000}
  body.drawer-open .drawer{transform:none;visibility:visible;transition:transform .42s var(--k-ease),visibility 0s}
  .drawer-head{display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 12px 0 22px;flex:none}.drawer-head .brand img{width:124px;display:block}
  .drawer-close{position:relative;width:44px;height:44px;border:0;border-radius:14px;background:transparent;color:inherit}.drawer-close span{position:absolute;left:12px;right:12px;top:21px;height:2px;border-radius:2px;background:currentColor}.drawer-close span:first-child{transform:rotate(45deg)}.drawer-close span:last-child{transform:rotate(-45deg)}.drawer-close:active{background:#ffffff14}
  .drawer-nav{display:grid;gap:4px;padding:10px 12px}
  .drawer-link{display:grid;grid-template-columns:40px 1fr 20px;align-items:center;gap:10px;min-height:56px;padding:0 12px;border-radius:16px;color:#e9e4e7;text-decoration:none;font:600 17px/1.2 Outfit,'DM Sans',sans-serif;opacity:0;transform:translateX(-14px);transition:background .25s,color .25s}
  body.drawer-open .drawer-link{opacity:1;transform:none;transition:opacity .4s var(--k-ease) calc(.08s + var(--i)*.045s),transform .45s var(--k-ease) calc(.08s + var(--i)*.045s),background .25s}
  .drawer-link:active{background:#ffffff12}.drawer-link.is-active{background:#cf002b;color:#fff}
  .drawer-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#ffffff0f}.drawer-link.is-active .drawer-ico{background:#ffffff26}
  .drawer-ico svg,.drawer-chev svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.drawer-chev{opacity:.5}.drawer-chev svg{width:18px;height:18px}
  .drawer-block{padding:18px 22px 0}.drawer-label{margin:0 0 10px;font:500 11px/1 'IBM Plex Mono',monospace;letter-spacing:.16em;text-transform:uppercase;color:#a29ca0}
  .drawer-langs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.drawer-langs button{min-height:46px;border:1px solid #3a343b;border-radius:14px;background:transparent;color:#e9e4e7;font:500 15px 'DM Sans',sans-serif;transition:background .25s,border-color .25s,transform .25s var(--k-ease)}.drawer-langs button.is-active{background:#cf002b;border-color:#cf002b;color:#fff}.drawer-langs button:active{transform:scale(.97)}
  .drawer-foot{display:grid;gap:2px;margin-top:auto;padding-top:22px}.drawer-foot a{display:block;padding:9px 0;color:#a29ca0;font-size:14px;text-decoration:none}.drawer-foot a:last-child{color:#d9d3d6;margin-top:6px;word-break:break-all}
  /* barra inferior */
  .tabbar{display:grid;grid-template-columns:repeat(6,1fr);position:fixed;z-index:70;left:0;right:0;bottom:0;height:calc(var(--k-tab-h) + var(--k-safe-b));padding:6px 6px var(--k-safe-b);background:rgba(20,19,22,.94);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid #2a262b}
  .tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#a29ca0;text-decoration:none;border-radius:16px;min-width:0;-webkit-tap-highlight-color:transparent;transition:color .25s,transform .25s var(--k-ease)}
  .tab:active{transform:scale(.93)}.tab-ico{display:grid;place-items:center;width:46px;height:28px;border-radius:14px;transition:background .3s var(--k-ease),transform .35s var(--k-ease)}
  .tab-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tab-label{font:500 11px/1 'DM Sans',sans-serif;letter-spacing:.01em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tab.is-active{color:#fff}.tab.is-active .tab-ico{background:#cf002b;transform:translateY(-1px)}
  .cookie-banner{bottom:calc(var(--k-tab-h) + var(--k-safe-b) + 10px)!important;left:12px!important;right:12px!important;width:auto!important}
}

/* Estructura común en móvil */
@media(max-width:820px){
  .section-heading,.approach-intro{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:28px}
  .section-heading>p{max-width:none}
}
/* Pulido móvil: objetivos táctiles, ritmo vertical y pie */
@media(max-width:820px){
  .shell{width:calc(100% - 2*var(--k-gutter))}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:12px;width:100%}.hero-actions>*{justify-content:center;text-align:center;min-height:52px}.hero-actions .btn{width:100%}
  .btn,.copy-email,.mailto-fallback{min-height:48px}
  .approach-section{padding:72px 0 80px}.work-section,.contact-section,.section{scroll-margin-top:76px}
  .footer{padding:44px 0 calc(28px + var(--k-tab-h))}
  .footer-main{display:grid;gap:28px;padding-bottom:28px}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:26px 18px}
  .footer-links a,.footer-bottom a{display:flex;align-items:center;min-height:40px}
  .footer-links div:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.footer-links div:first-child strong{grid-column:1/-1}
  .back{display:inline-flex;align-items:center;min-height:44px}
  input,select,textarea{font-size:16px}
}
@media(max-width:820px){.site-header .brand{padding:11px 4px}}
